Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Banners Display and Functionality

    Quote Originally Posted by stevesh View Post
    Zencart can't do that natively, as you've found, and I'm not programmer enough to offer an answer, but it would require custom coding.

    Another question is whether advertising other sites makes sense on an ecommerce store. Blog, yes, I think. Zencart store, no. You're offering your potential customers an easy way to leave your site to buy elsewhere.
    Thanks for the help but I never said I was advertising other sites. And while it's a sincere point, the lack of flexibility in the banner manager is still very disappointing.

    It does not seem like something that is impossible since most blog type sites have this function. The admin banner manager is amazing and useful, however the front-end display of the banners is limited and not as friendly.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Banners Display and Functionality

    You could customize the tpl_banner_box_all.php with a minor code change using your templates and overrides:
    Code:
      $sql = "select banners_id from " . TABLE_BANNERS . " where status = 1 " . $new_banner_search . $my_banner_filter . " order by Rand()";
    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!

  3. #3
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Banners Display and Functionality

    Quote Originally Posted by Ajeh View Post
    You could customize the tpl_banner_box_all.php with a minor code change using your templates and overrides:
    Code:
      $sql = "select banners_id from " . TABLE_BANNERS . " where status = 1 " . $new_banner_search . $my_banner_filter . " order by Rand()";
    That sounds excellent! But if banner_box_all is already being used in the sidebar, what should be changed to apply the code to a banner group on the main page or anywhere else in the template?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Banners Display and Functionality

    You lost me ...

    To use the Banners with multiple banners at the same time, you use the banner_box_all.php and tpl_banner_box_all.php to control it ...

    If you want more that work in this manner, then you would need to clone these to make new sets that work like the Banners All sidebox ...

    All of the other Banner display as a single banner ...
    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!

  5. #5
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Banners Display and Functionality

    Quote Originally Posted by Ajeh View Post
    You lost me ...

    To use the Banners with multiple banners at the same time, you use the banner_box_all.php and tpl_banner_box_all.php to control it ...

    If you want more that work in this manner, then you would need to clone these to make new sets that work like the Banners All sidebox ...

    All of the other Banner display as a single banner ...
    I guess I was confused because I only knew of the BannersAll sidebox. So based on your advice, I will leave the BannersAll sidebox alone, clone the two files and place the new setup where I need it in another location of the template.

    But The only thing I'm still confused about is that when I clone those two files, will a new Banner Display Group option be available in the Admin to assign something like BannersAll2?


    banners

 

 

Similar Threads

  1. Where is the code to get and display banners?
    By Cindy2010 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Sep 2010, 06:01 AM
  2. Layout and Functionality Questions
    By swatchbook in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Sep 2010, 03:53 AM
  3. Banners Do Not Display
    By flex67 in forum General Questions
    Replies: 2
    Last Post: 8 Sep 2010, 10:46 PM
  4. Banners do not display
    By cristaltech in forum Basic Configuration
    Replies: 5
    Last Post: 12 Jul 2007, 05:57 AM
  5. Category and Subcategory functionality
    By Outlawlb in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Mar 2007, 06:07 AM

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