ecopeia Posted July 1, 2004 Posted July 1, 2004 Here is my site...please note that it's not live.. eCopeia.com You see that banner image I have there? I simply replaced the default heading text with an image. BUT... What I really want to do is somehow have a rotating banner there...that's prime real estate. Basically like the banner manager does in the footer. I can put it below the heading text, if I must add it into catalog/index.php. I just want my banner at the top, above the log in log out boxes that I have there. Please tell me this is possible. I have been driving myself nuts for the last 3 days trying to do this and I have literally spent hours searching on here for the answer...but maybe I don't know how to search very well...lol. Thank you in advance for any help anybody can give me!! My Contributions
Geotex Posted July 1, 2004 Posted July 1, 2004 Did you try using the banner manager that comes with osCommerce? You can set up other banners in your admin panel, and, if it works like you want, then move the code from footer.php to where you want in index.php or, to have it show on all pages, to the bottom of header.php Maybe someone else has an idea, I don't even use the banners in the shopping cart, only on main site pages, and have a rotating banner manager installed for the main site. GEOTEX from Houston, TX (George)
GraphicsGuy Posted July 1, 2004 Posted July 1, 2004 For details on the exact code involved take look at this thread: http://www.oscommerce.com/forums/index.php?showtopic=99370&hl= Rule #1: Without exception, backup your database and files before making any changes to your files or database. Rule #2: Make sure there are no exceptions to Rule #1.
ecopeia Posted July 1, 2004 Author Posted July 1, 2004 Thank you for your responses, however, I already knew this post and have tried in vain to get it to work. What I need help with is where exactly do I place this code in index.php. I have tried adding it in the table above where the pageHeading is called and all it did was add a new table above the heading which is not what I want. I have tried replacing the whole table that calls the heading and it just simply didn't work at all. I have even taken the new products box and wrapped the code in it and replaced the "What's new in.." box with a box that calls the banner...and it worked...until I refreshed the page for some reason and still don't know how to call the box to appear above the main text instead of below. I am not a php coder so this is driving me insane. Could someone give me some example code that shows where exactly in index.php I need to insert the banner call? Anyone? Again, thank you for your efforts! :) My Contributions
ecopeia Posted July 5, 2004 Author Posted July 5, 2004 for anybody who stumbles in here, I made a contrib to make this work. Here it is My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.