The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template for all pages except homepage
I want to insert a banner graphic near the top of the page for all pages except the homepage of the forum. Any thoughts on what template I need to modify to accomplish this?
Alternatively, since I'm using a plugin to display the banner, would I perhaps accomplish this through the php code (i.e. check if it's the homepage, and if so, don't display, otherwise display)? This seems like a more complex way to do it though. |
#2
|
||||
|
||||
Edit the navbar template. Just place your code at the very top of it.
|
#3
|
|||
|
|||
That seems to place the banners at the top of the homepage as well. I just inserted $includedphp in that template file (I believe that calls the plugin) and it shows on all the pages.
|
#4
|
|||
|
|||
I just put it in header so that it will appear on everypage including on your CMPS software page
That's my 2 cent |
#5
|
|||
|
|||
So is there not anywhat to do this? Are there any templates that appear everywhere except the hompage? Or a way to have some sort of conditional display that doesn't display if it's the homepage?
This almost worked....as in, it didn't work. But I think I'm on the right track. This still also displays on the homepage in addition to the inner pages - any thoughts on how I can correct this code to turn off display on the homepage? <if condition="$forumid != 1"> $banners </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|