Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    May 2008
    Location
    Ukraine
    Posts
    71
    Plugin Contributions
    0

    Default Re: BannersAll - doesn't show all banners. Please help!

    I've found another way to my problem. I just put all of my banner's codes into one banner, called it "All Banners" and it did it. You can see it here: www.api.kh.ua/zen I can't see the statistics of each of the banner from the Admin section, though. My way is probably not the right way of solving the problem, but I can't think of anything else. The only other way would be to use the sidebox_banners_all.
    Zen-cart 1.3.8a
    www.api.kharkov.ua

  2. #12
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: BannersAll - doesn't show all banners. Please help!

    It seems like you have entered the raw code for the banners into the HTML Text field of the Banner Manager screen. As stated above the text box in the screen, clicks will not be recorded for banners created that way. That is why you do not see the statistics.

    You will need to tweak the custom code I posted earlier if you want to have the banners displayed and also have the statistics recorded. Btw, tpl_main_page.php which I posted earlier is related to Footer Position 3 while tpl_footer.php is related to Footer Position 2. I'm sorry to have missed that one out.

    Alternatively, as you mentioned, you can create individual image banners (not HTML banners) under a banner group and then assign that banner group to sidebox_banners_all. However, you will not be able to hotlink to the images like what you are currently doing now but you will get to see the statistics this way without any custom coding.
    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

  3. #13
    Join Date
    May 2008
    Location
    Ukraine
    Posts
    71
    Plugin Contributions
    0

    Default Re: BannersAll - doesn't show all banners. Please help!

    canopy, thank you for your advices. Unfortunately, I don't know the code very well, I don't think I really understand what I need to do. I'll have to stick with what I came up with, I guess. Unless, of course, somebody will actually adapt the code for me :-)
    Zen-cart 1.3.8a
    www.api.kharkov.ua

  4. #14
    Join Date
    Feb 2008
    Location
    UK
    Posts
    43
    Plugin Contributions
    0

    Default Re: BannersAll - doesn't show all banners. Please help!

    I also really wanted to be able to display all of the banners from a group in a single location, and have ended up with quite a useful solution if anyone's interested. This could help with all sorts of customisations:

    1. Apply DrByte's excellent contribution that allows you to display any centrebox or sidebox in a PHP file outside of Zen Cart [http://www.zen-cart.com/index.php?ma...roducts_id=79]

    2. Delete line 41 of single_sidebox.php as we're using this within ZC and it will cause a fatal error if you leave it in:
    PHP Code:
    require('includes/application_top.php'); 
    3. Insert the appropriate code in whatever template file you want it. In my case it was tpl_main_page.php and I inserted the following, just after the banner 3 code:

    PHP Code:
    $zcSBmodule 'banner_box_all.php'// name of sidebox or centerbox to be displayed (see filenames in the /includes/modules/sideboxes folder) (if not set, uses "whats_new.php")
    $zcSBlayout 'right'// 'left' or 'right' sidebox template style (if not specified, uses 'left')
    require $_SERVER['DOCUMENT_ROOT'] . '/new/single_sidebox.php'
    Note that the final line is a bit different from DrByte's instructions as the server I'm working with doesn't allow direct URL calling.

  5. #15
    Join Date
    Oct 2014
    Location
    Ljubljana, Slovenia
    Posts
    2
    Plugin Contributions
    0

    Default Re: BannersAll - doesn't show all banners. Please help!

    Hi, I'm reviving this post, since I got the same issue, but don't know how to solve it. The only advice here is to tweak the code in the tpl_footer with the help of tpl_banner_box_all. I just don't know how to do that. I'm trying and trying, but no luck.

    Please, could anyone help me with being more specific with this instruction of hardcoding the bannerFive.

    Thank you so much in advance.

    Tanja

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Banners show in all pages, except for product pages. Help!
    By AquaticAddiction in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Mar 2014, 05:56 PM
  2. Banners: How can I show them on all pages EXCEPT home?
    By artjewl in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 4 Apr 2012, 03:04 PM
  3. Direct Bank Deposit doesn't show the BSB; Please help
    By Lara2911 in forum Addon Payment Modules
    Replies: 4
    Last Post: 21 Mar 2011, 06:28 AM
  4. Replies: 2
    Last Post: 22 Mar 2009, 04:11 PM
  5. Help me! All banners don't show
    By ptnan in forum Basic Configuration
    Replies: 1
    Last Post: 9 Jul 2008, 10:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR