PDA

View Full Version : Adding a title banner to one specific page?


Panzer Max
03-25-2009, 06:26 PM
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

Lynne
03-25-2009, 07:06 PM
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:
<if condition="THIS_SCRIPT == 'faq'">
html stuff
</if>

Panzer Max
03-25-2009, 07:50 PM
Nicely done, thanks! It worked.