![]() |
Need Conditional
I need a conditional for if this style id
|
STYLEID (the constant)
|
Whats that Conditional look like for templates ?
--------------- Added [DATE]1215542138[/DATE] at [TIME]1215542138[/TIME] --------------- How do i prevent certain mods from showing up on certain styles when theres nothing in the templetes to remove or Block ? |
Code:
<if condition="$styleid == 3">show something here to style #3</if> |
That if condition will always return true.
Code:
<if condition="STYLEID == 3">style 3</if> |
Quote:
|
I just want to be able to edit all the fancys out of my Default Template to make a light weight version , Signatures is gone , Avatars are gone , ect...ect... But i have some things like Album photos on Forum home that dont have no code in the forum home template of my light weight style but is still showing on it , how do i have the mod not show on styleid5 ? , even if i knew the conditional at this point it wouldnt do me much good as i dont know how to edit auto templete mods to exclude items with a style id conditional UGH!
|
You'll have to find the plugin where the template edit occurs and then wrap it with the conditional.
|
cache_templates =
Code:
Code:
if ( thanks |
Find:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 07:27 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:
|