ixon Posted December 11, 2003 Share Posted December 11, 2003 I had a main banner on my site using the banner manager. Now I deleted it and made a new one using a new image and I cant get any banners to show. Does anyone know why? Link to comment Share on other sites More sharing options...
moonstone Posted December 11, 2003 Share Posted December 11, 2003 Make sure your new banner is under the "486x50" group. If not, it will not show. Note: Even though your image for the banners may not be sized at 486 x 50 pixels, it doesn't really matter. It's either you make all banner images to be under this group, or you change the footer.php codes to the new group you are using. Link to comment Share on other sites More sharing options...
ixon Posted December 11, 2003 Author Share Posted December 11, 2003 Yep Im talking about the banner that goes across the top of the screen. I removed the default one, now I cant get a banner up there, no matetr what image I select. Link to comment Share on other sites More sharing options...
moonstone Posted December 11, 2003 Share Posted December 11, 2003 If you are referring to the banner in the header, you will need to either use back the same filename for the image as before, or change the code to look for your new image. To change the code, open up catalog/includes/header/php and look for the following line around line 57: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> and change the banner filename accordingly: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'banner_name.gif', 'site_name') . '</a>'; ?></td> Hope this helps... Note: Banner image in header is not controlled by the Banner Manager. The Banner Manager only controls the dynamic banners at the footer. Link to comment Share on other sites More sharing options...
ixon Posted December 11, 2003 Author Share Posted December 11, 2003 I see what I have done, I did change that code, then I removed a banner with the same filename as the top header, so it removed my image. Thanks for the help :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.