![]() |
How do I determine my current style
Hello again. Ok, this may seem like a dumb question, but bear with me. I need to know which variable has the styleid of the currently loaded style so I can build conditionals around it. Yes, I know I can have a seperate copy of phpinclude_start for each style, but I don't want that - I want each child style to inherit all templates from the default and the only thing each style would change is the CSS.
|
Quote:
Thats the whole idea, all templates are stored in the master parrent style, then style changes are applied to all the lesser templates. |
Ok, the logo in the $header of my site is rotated by forum using a hack that stores the image's name. I need to change the version of the image by styleset because some have dark backgrounds and others have light ones, and so on. So in PHP include start...
PHP Code:
|
Quote:
$bbuserinfo[styleid]_$stylevar[titleimage] ;P |
And if the forum overrides the user's style choice??
|
Quote:
|
All times are GMT. The time now is 03:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|