PDA

View Full Version : Finding CSSPATH


MyChemicalSelf
15 Dec 2009, 18:54
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
15 Dec 2009, 19:10
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
15 Dec 2009, 19:11
Thanks Lynne, i can crack on now and get this finished.