Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banners & the Banner Manager...


keithwilliams

Recommended Posts

Posted

Hiya All,

I've been looking at the Banner Manager in the admin section and after reading the knowledgebase and searching the forums, I admit I'm feeling a bit thick!

 

Could you please explain to me what a banner is, what it does and how to set it up?

 

many thanks in advance,

Keith

In life, try everything three times...

First, just to see if you like it.

A Second, to see if you were mistaken the first,

And a third, to see if you tire of it quickly...

Posted

if you go to your footer, you will see an example of what the code looks like for the banner manager because the stock oscommerce has the oscommerce footer baner controlled by that.

 

Once you take a look at that, you can go to the banner manager and see that set up for that banner there. You will see that it has a group name, and you can set expiration dates and such. The banner manager is great if you want to track banner trades, or if you want to create a bunch of seasonal banners and just upload them all at once and have them automate when they appear.

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted
if you go to your footer, you will see an example of what the code looks like for the banner manager because the stock oscommerce has the oscommerce footer baner controlled by that.

 

Once you take a look at that, you can go to the banner manager and see that set up for that banner there. You will see that it has a group name, and you can set expiration dates and such. The banner manager is great if you want to track banner trades, or if you want to create a bunch of seasonal banners and just upload them all at once and have them automate when they appear.

 

Ahh Haaa! That's why when I turned the banner on it didn't appear - I'd previously commented out that bit in the footer!

 

Thanks very much for the pointers - I understand now!

In life, try everything three times...

First, just to see if you like it.

A Second, to see if you were mistaken the first,

And a third, to see if you tire of it quickly...

Posted

Hello,

I have the opposite problem to my store, I had deleted the banner code in footer.php but now I have reloaded it and I can't see the banner I add in the Banner Manager from Admin.

The banner img was correctly loaded on /images/

The HTML output of my index page don't have any trace of the banner code that I have reloaded:

 

My footer:

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="footer">
<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>
<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>
 </tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>
 </tr>
</table>
<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

 

 

 

Anyone knows if there are some contribution in particular that corrupt the banner funcion?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...