Looking for help on adding a banner ad to the top. Would like the banner to be to the right of the store logo. fedspell.com
This is a discussion on Banner ad in the header within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Looking for help on adding a banner ad to the top. Would like the banner to be to the right ...
Looking for help on adding a banner ad to the top. Would like the banner to be to the right of the store logo. fedspell.com
Hi rustblack,
I just added a banner to the header of a cart I am working on so maybe this will help.
I took the banner code from the includes/footer.php and used the following code in the includes/header.php:
So, if you want the banner right next to the logo, just put the above code right in after this line in includes/header.php:Code:<?php if ($banner = tep_banner_exists('dynamic', '468x50')) {echo tep_display_banner('static', $banner); } ?>
and before the closingCode:<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?>Take care.Code:</td>
Bookmarks