The Arcive of vBulletin Modifications Site. |
|
bbcode_quote and $mods['identifier'] Details »»
|
|||||||||||||||||||||||||
Hi; gotta question. I was trying to change the bbcode_quote template to look different on the index page for vBadvanced. In my template I included:
<if condition="$mods['identifier'] == 'news'"> the way it should show up on the main page <else /> any other place shows this one </if> In the module, I set the indentifire to news, but it doesn't seem to alter what the bbcode_quote template gives out. Is this because vB grabs the style of that before the condition is set for the news indentifier, or am I doing something wrong? Thanks. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Tekton,
In your cmps_index.php file add this somewhere near the top (after the "error_reporting" line but above the "chdir" line): Code:
define('VBA_SCRIPT', 'CMPS');
Code:
<if condition="defined('VBA_SCRIPT')">
the way it should show up on the main page
<else />
any other place shows this one
</if>
|
|
#3
|
|||
|
|||
|
Perfect. Thanks a lot, KW802!
|
![]() |
|
|