The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding a title banner to one specific page?
I want to add a title banner to one specifc page, say the faq.php page. I want it to go between the forum nav tree on the left and the User log in and PM notif on the right, above the nav bar.
How do I add it to that one page? thanks!! Panz |
#2
|
||||
|
||||
To find the template to add it to - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
Then, when you go to edit the template, just put a condition around the code: HTML Code:
<if condition="THIS_SCRIPT == 'faq'"> html stuff </if> |
#3
|
||||
|
||||
Nicely done, thanks! It worked.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|