![]() |
evaluate code based on styleid
planning to have a right column sidebar on my forums on the main default style.
But on other styles it won't be there What i wanna know is if its possible that some php code (specifically query) can be run only if that style is selected by user and not for other styles..(saving query otherwise when guys are on diff style. and being faster therefore) eg i want to put a gallery preview on sidebar. But since sidebar is on one style only, so the query code for geting the pictures from sidebar is executed only when that style is selected. and not otherwise. eg *pseudo code if(styleid==%style number%) EXECUTE QUERY CODE end if something like above? if yes how? thanks |
you've almost got it.
STYLEID is defined with the styleid. so PHP Code:
|
yep thankyou :D
|
All times are GMT. The time now is 08:26 AM. |
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:
|