![]() |
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. |
Edit the navbar template. Just place your code at the very top of it. :)
|
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.
|
I just put it in header so that it will appear on everypage including on your CMPS software page :)
That's my 2 cent |
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> |
All times are GMT. The time now is 01:12 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:
|