beckerm Posted September 12, 2005 Posted September 12, 2005 Does anyone know how i can add category specific banners to the site??? I would like to offer sponsors for each category and have their banner show up for specific category.
Guest Posted September 12, 2005 Posted September 12, 2005 the banner HTML code is in catalog\includes\footer.php It calls the banner functions (includes\functions\banner.php) where you could test a variable like $current_category_id. In the banner manager you add an extra field to store the categories_id, a specific banner is shown. Then in the banner function you adjust the query to pickup banners shown for this category and return the banner_url
devine952 Posted September 16, 2005 Posted September 16, 2005 http://www.oscommerce.com/community/contributions,2511/ I have installed this and I am very happy. Just need to figure out the french is all. the banner HTML code is in catalog\includes\footer.php It calls the banner functions (includes\functions\banner.php) where you could test a variable like $current_category_id. In the banner manager you add an extra field to store the categories_id, a specific banner is shown. Then in the banner function you adjust the query to pickup banners shown for this category and return the banner_url <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.