PDA

View Full Version : Template Editing - Right & Left Edges & Dynamic Bann


techlinks
08-06-2005, 07:39 PM
Question #1
--------------
Can someone please recommend precisely which files and where within them must I edit template files to embed content at the left & right edges of my PHP Link Directory Site? I'm particularly interested in adding a custom menu navigation on the left hand side of the site and Google Ad Sense table on the right edge of the site.

Question #2
--------------
I have a few banners I'd like to display in my header & footer respectively. I've successfully edited both the header and footer template files to do so. However, I'm searching for suggestions to support dyamic selection of banner code based on which category is presented.

For instance, suppose I have two categories named "Montreal" and "Toronto". And I have two banners called "Montreal Expos" and "Toronto Blue Jays". When an end-user browses the "Montreal" category page, I'd like to present the "Montreal Expos" banner in the header or footer. Consequently, when an end-user browses the "Toronto" category page, I'd like to present the "Toronto Blue Jays" banner in the header or footer.


-----------
Thank you all for reading and I look forward to your responses. I will produce a HOW-TO document with your suggestions and post for all so other newbies can benefit.

Lester

Ap0s7le
08-06-2005, 08:22 PM
Sure, let me get back to you shortly with the answer. I'm about to eat something.

Consider making a donation, so we can continue to make this a better script.

Thanks

-Casey

kickass
08-09-2005, 03:44 AM
Hey, techlinks!

Is my directory layout similar to what you had in mind? If so I can help you, at least with that part of editing the template to add side columns. PM me if it is, I'll be happy to help.