Forums / Basic Configuration / Banner will not display

Banner will not display

Locked

Views: 4,058

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
27 Aug 2008, 5:43 PM
#1
boukmn avatar

boukmn

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Banner will not display

I tried to install a banner on the position 3 on my site. I used sideboxes/banner_box_all.php, sideboxes/banner_box_all.php, head position 3. I read the proceedure in the ZenCart Manual and think I followed it correctly. The banner shows up under Banner manager but not on the site. Any ideas?

Thanks in advance.

My site is https://www.floridadriftwood.com

27 Aug 2008, 5:44 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: Banner will not display

What banner group did you add it to? Do you have that group activated for position 3 in Admin> Configuration> Layout Settings?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

27 Aug 2008, 7:15 PM
#3
boukmn avatar

boukmn

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Banner will not display

In Admin> Configuration> Layout Settings I have Banner Display Group - Header Position 3 ..... BannersAll Selected.

28 Aug 2008, 6:24 AM
#4
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Banner will not display

Make sure your banners in the BannersAll group are active or they will not display.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

30 Nov 2008, 7:18 PM
#5
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Banner will not display

Already looked through another thread on this similar topic;
http://www.zen-cart.com/forum/showthread.php?t=107497

Have happily had a banner box with its image & hyperlink showing for ages then all of a sudden the image & link has gone. The banner box surround & header title is still there but nothing in it.
Provided below is my home page source for that banner box, & nothing here seems amiss. Also shown the details in my admin settings after that, plus a copy of what my tpl_box_default_right.php file reads, as mentioned in the other thread.

Any thoughts anyone, got to be something simple, nothing updated recently, still on 1.3.7 with PHP Version 4.4.7

<!--// bof: bannerbox2 //--> <div class="rightBoxContainer" id="bannerbox2" style="width: 170px"> <h3 class="rightBoxHeading" id="bannerbox2Heading">Visit the Sussex site here...</h3> <div id="bannerbox2Content" class="sideBoxContent centeredContent"><a href="http://transportpostcards.co.uk/shop/index.php?main_page=redirect&action=banner&goto=10" target="_blank"><img src="images/banners/sussex-icon.gif" alt="www.Sussex-Transport.co.uk" title=" <https://www.Sussex-Transport.co.uk> " width="150" height="62" /></a></div></div> <!--// eof: bannerbox2 //--> -------------------------------------------- Configuration > Layout Settings > Banner Display Groups - Side Box banner_box2 = sussex Banner Manager > banners=www.Sussex-Transport.co.uk Groups=sussex Displays=332010 -------------------------------------------- <?php /** * Common Template - tpl_box_default_right.php * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_box_default_right.php 2975 2006-02-05 19:33:51Z birdbrain $ */

// choose box images based on box position
if ($title_link) {
$title = '<a href="' . zen_href_link($title_link) . '">' . $title . BOX_HEADING_LINKS . '</a>';
}
//
?>

<!--// bof: <?php echo $box_id; ?> //--> <div class="rightBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> <h3 class="rightBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3> <?php echo $content; ?> </div> <!--// eof: <?php echo $box_id; ?> //-->

Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
Appreciate Zen-Cart? - Always keep a banner link on your shop

1 Dec 2008, 10:01 AM
#6
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Banner will not display

Not sure if I've missed something but I just checked and the banner box 2 seem to be working ok in multiple browsers (image displays ok and link redirects correctly).

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

1 Dec 2008, 3:08 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Banner will not display

Sounds like it is an ad filter on either your computer's antivirus or your browser doing this ...

To test this theory, make a banner but load its image to a new directory:
/images/zencart

be sure to set the directory to 777 when you make it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Dec 2008, 7:39 PM
#8
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Banner will not display

Ajeh:

Sounds like it is an ad filter on either your computer's antivirus or your browser doing this ...

Brilliant, I thought it must be something very simple, as its been working like all the other banners with no problem until the last couple of days. Ive dug about & found it was some ad blocker thats just started to get involved, hence why you all could see the sussex (map) logo & follow the link but I could not.

Great work folks, both of you who replied did respond fast & helpful, many thanks again.

Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
Appreciate Zen-Cart? - Always keep a banner link on your shop

1 Dec 2008, 8:21 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Banner will not display

Thanks for the update that your ad blockers were doing this ... :smile:

Might keep that in mind for all your banners as many of your customers have ad filters too and will get similar results ...

Simply don't use directory names that will trip an ad blocker ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Dec 2008, 8:08 AM
#10
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Banner will not display

Ajeh:

Simply don't use directory names that will trip an ad blocker ...

Can you expand on that with a suggestion.

It was only an ad (or sort of) to my sister site that was blocked neither of the more commercial ones. So I would like to understand why just that one got blocked but the others were okay.

Where is the directory name, as it just pushed the link to the home/index of that other site.
sussex - transport.co.uk/index.htm

Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
Appreciate Zen-Cart? - Always keep a banner link on your shop

2 Dec 2008, 5:28 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Banner will not display

Ad blockers look for patterns in naming ...

Things like:
/images/ad
/images/ads
/images/advertising
/images/banner
/images/banners

etc. etc. etc.

are buzz words for ads ... same with the filenames depending on the ad blocker ...

To avoid this, use a different directory/filename so that you don't have your banners, ads, etc. blocked ...

If you click right on the banner or View Source, you will see the path to the banner image where the word banner is in the path ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Dec 2008, 7:36 PM
#12
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Banner will not display

Yes I quite understand now that with regard to directories but quite why the first here got blocked yet all the others did not?
(Ive unblocked it in my ad blocker, which came in with another program).

http://transportpostcards.co.uk/shop/images/banners/sussex-icon.gif

http://transportpostcards.co.uk/shop/images/banners/delcampe.jpg
http://transportpostcards.co.uk/shop/images/banners/rigton.jpg
http://transportpostcards.co.uk/shop/images/banners/hostweb.jpg

So all the banner images are in the same place & as created with Zen-Cart defaults & suggestions, for ease I suppose to find tham later on. Maybe all Zen-Cart users have the same problem then with ad blockers if we are all using the default locations for such things.

Im also still playing with my Qty settings & have got to the point where Im leaving all the items set as a fixed =1 really dont like boxes with 1 in it or Max=1 shown. If a customer really wants to add more then they will have to revisit the item link adding more of the same which overall is very rare but for postcards or Greeting cards. For books and such like, its common to buy singles. Im looking at another addin to mix & match different items for a different discount however.

Many thanks again for the assistence here.

Original store was 1.39:- TransportPostcards.co.uk/shop (redirecting out)
Working on a fresh new store... 1.56a TransportPostcards.co.uk/store
Appreciate Zen-Cart? - Always keep a banner link on your shop