Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner problems


Guest

Recommended Posts

Posted

Well my site is a none standard oscommerce shop, custom built template system.

 

My problem is my banners dont show up in the footer as they should do, i have checked the footer.php and that seems to be correct. But still no banner displayed. I have even tried adding a txt banner and they dont show up.

 

But in the admin> banner manager program it seems to think it is displaying as the display/clicks part changes.

 

Any ideas would be great.

 

Oh i have tried contacting the guys who created the store, but they dont reply...

 

Many thanks

 

Mark

Posted
Well my site is a none standard oscommerce shop, custom built template system.

 

My problem is my banners dont show up in the footer as they should do, i have checked the footer.php and that seems to be correct. But still no banner displayed. I have even tried adding a txt banner and they dont show up.

 

But in the admin> banner manager program it seems to think it is displaying as the display/clicks part changes.

 

Any ideas would be great.

 

Oh i have tried contacting the guys who created the store, but they dont reply...

 

Many thanks

 

Mark

 

The most common problem with banners not showing up is they are not assigned to the proper group.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
The most common problem with banners not showing up is they are not assigned to the proper group.

My banner(s) are in the standard 468x50 group.

 

I have had a look at some of the other posts on this site relating to banner problems before postin this

 

 

Kind regards

 

Mark

Posted

Also double check if there is a popup blocker with your browser. Sometimes they filter out the banners. Banners work with the default osc code.

Posted

Good idea, but unfortunitly thats not the problem.

Pop up blocker and other programs disabled to check

 

 

Thanks

Posted

here is the default top level banner control code responsible for displaying:

 

<?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
 }
?>

See if within the if($banner.... statement you can display something first. That will give you a hint if the banner function causes the problem or not.

 

The code is from the catalog\includes\footer.php file

Posted

Lik i say my shop is a cusom template type thing. And this is what i have in my footer.php

 

$htmltemplates = htmltemplates;

$SUBS['FOOTER_TEXT_BODY'] = FOOTER_TEXT_BODY;

if($banner = tep_banner_exists('dynamic', '468x50')){

$SUBS['TEP_DISPLAY_BANNER'] = tep_display_banner('static', $banner);

$SUBS['BANNER_EXISTS'] = fileParse($htmltemplates.'/banner_exists.htmlt');

}

$SUBS['FOOTER'] = fileParse($htmltemplates.'/footer.htmlt');

?>

 

But in the footer.htmlt there does not seem to be any reference to banners.

 

As anybody seen anything like this before,

 

Many thanks

 

Mark

 

here is the default top level banner control code responsible for displaying:

 

<?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
 }
?>

See if within the if($banner.... statement you can display something first. That will give you a hint if the banner function causes the problem or not.

 

The code is from the catalog\includes\footer.php file

Posted

emit some html code after the

 

if($banner = tep_banner_exists('dynamic', '468x50')){

 

to see if it the banner routines work. If they do you probably need to dig in further in the template code.

Archived

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

×
×
  • Create New...