![]() |
Modifying Footer template
I want to modify footer template to execute a script based on a condition. This "conditional" thing is tricky. I am not sure how to do it. I want to execute a iframe script if the footer is displayed only on /forums/faq.php or /forums/register.php; Any idea / pointers will be very much appreciated. Thanks!
|
<if condition="THIS_SCRIPT == SCRIPTNAME">
Execute code </if> You can generally find script names at the top of the .php file (and vBulletin usually names their scripts according to the actual .php file, ie: faq.php scriptname is faq) <if condition="THIS_SCRIPT == faq"> Execute Code </if> |
Hi FRDS, Thanks a lot! That was really fast!! It worked perfectly...
|
Here is a list of other vBulletin Template Conditions for further customization.
|
All times are GMT. The time now is 03:36 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:
|