PDA

View Full Version : Left column on select pages without having to put code in header and footer?


cmiller1014
08-03-2005, 12:27 AM
I have done some searching but havent found exactly what I am looking for. I was hoping maybe I missed it and someone could point me in the right direction.

What I want to be able to do is selectively put a left column ad bar on pages, but I still want the navbar to span the whole width of the page.

For example, I would like one on forumhome, showthread, forumdisplay, but not on pages like the user cp, etc. Just the high traffic areas really.

Any help would be much appreciated!

amykhar
08-03-2005, 12:33 AM
You can put the code for the top of the sidebar table at the bottom of the navbar template instead of the bottom of the header template.

This makes the navbar span the page, but gives you a column down the side on every page.

cmiller1014
08-03-2005, 03:37 AM
Hi Amy,

Thanks for the info. I am running vbadvanced and was concerned that it would show up there too...... I would love these ad banners on every page, but dont want them on my vbadvanced pages. I think you mentioned in your other thread that there may be a conditional for this? Ill have to go check that one out.

Thanks

php
08-04-2005, 04:34 PM
it wouldnt happen with vB Advanced as it uses its own templates

amykhar
08-04-2005, 04:36 PM
Yes, it would, depending on where you put the code for the sidebars.

php
08-05-2005, 02:05 PM
oh. lol i must have gotten confused with something else! ;) :doh: