PDA

View Full Version : Finding CSSPATH


MyChemicalSelf
12-15-2009, 04:54 PM
Hey guys,
I was just wondering from global_complete is there anyway of finding the csspath so that i can include a template without hard coding it?

Lynne
12-15-2009, 05:10 PM
This is what I put at the beginning of my plugin that adds the additional_css to the pages:
global $style;
$vbcsspath = 'css.php?styleid=' . $vbulletin->userinfo['styleid'] . '&langid=' . LANGUAGEID . '&d=' . $style['dateline'] . '&sheet=';

MyChemicalSelf
12-15-2009, 05:11 PM
Thanks Lynne, i can crack on now and get this finished.