![]() |
bbcode_quote and $mods['identifier']
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. |
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')"> |
Perfect. Thanks a lot, KW802! :)
|
All times are GMT. The time now is 10:39 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:
|