Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner not shop up


mcmannehan

Recommended Posts

in this version: https://github.com/gburton/Responsive-osCommerce/blob/master/includes/footer.php

The banner, generated wit the banner manager want show up. so i did change in includes/footer.php to:

<footer>
	<div class="<?php echo BOOTSTRAP_CONTAINER; ?>">
  	<div class="row">
    	<?php if ($banner = tep_banner_exists('dynamic', 'banner')) { echo tep_display_banner('static', $banner); } ?>
    </div>
  </div>
  <div class="footer">
    <div class="<?php echo BOOTSTRAP_CONTAINER; ?>">
      <div class="row">
        <?php echo $oscTemplate->getContent('footer'); ?>
      </div>
    </div>
  </div>
  <div class="footer-extra">
    <div class="<?php echo BOOTSTRAP_CONTAINER; ?>">
      <div class="row">
        <?php echo $oscTemplate->getContent('footer_suffix'); ?>
      </div>
    </div>
  </div>
</footer>

Or is there some other resolution?

  • The clever one learn from everything and from everybody
  • The normal one learn from his experience
  • The silly one knows everything better

[socrates, 412 before Christ]

Computers help us with the problems we wouldn't have without them!
99.9% of the bugs sit in front of the computer!
My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0

if(isset($this) || !isset($this)){ // that's the question...

 

Link to comment
Share on other sites

Hello Manfred @mcmannehan,

 

It for sure works, but it would be much better to pack it into a footer module.

 

rgds

Rainer

Link to comment
Share on other sites

  • 2 weeks later...
On 7.8.2017 at 3:23 AM, raiwa said:

Hello Manfred @mcmannehan,

 

It for sure works, but it would be much better to pack it into a footer module.

 

rgds

Rainer

i did it and the banner is not show up. I used the banner manager and i named the banner group footer. Banner did'n show up.

With my changing i named the banner group banner and it works.

  • The clever one learn from everything and from everybody
  • The normal one learn from his experience
  • The silly one knows everything better

[socrates, 412 before Christ]

Computers help us with the problems we wouldn't have without them!
99.9% of the bugs sit in front of the computer!
My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0

if(isset($this) || !isset($this)){ // that's the question...

 

Link to comment
Share on other sites

4 minutes ago, mcmannehan said:

i did it and the banner is not show up. I used the banner manager and i named the banner group footer. Banner did'n show up.

With my changing i named the banner group banner and it works.

Great, but what does this has to do with packing your code into a module?

Link to comment
Share on other sites

  • 2 months later...

Archived

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

×
×
  • Create New...