Thread: More Banners

Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default More Banners

    Hi
    On the standard Zen Cart install, there is a banner on the left and 2 banners on the right.

    Is there a way to easily add more banners (left and right) without modifying the SQL or PHP code.

    I an looking to have 4-5 banners each side and am not sure how to do this.

    Does not matter if they are dynamic or static.

    Using ZC 1.3.8a, no add ons, no customisation.

    Any help would be appreciated.

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

    Default Re: More Banners

    Peek at the Tools ... Banner Manager ... and add your new banners there ...
    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
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: More Banners

    Quote Originally Posted by Ajeh View Post
    Peek at the Tools ... Banner Manager ... and add your new banners there ...
    hi Ajeh, many thanks for your response.

    I have looked at the banner manager, but to be perfectly honest after playing with it for hours I seem to be a little stuck, and have not achieved my desired look.

    I was only wondering if ther may be a walkthrough or something similar that would help me learn how to use it properly / more effectively.

    Many thanks once again.

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

    Default Re: More Banners

    Could you give an idea of what kind of Banners are you trying to make?
    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
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: More Banners

    Quote Originally Posted by Ajeh View Post
    Could you give an idea of what kind of Banners are you trying to make?
    Hi Ajeh.
    I am trying to add static banners, which are 125px wide * 180 px, in .gif format.

    But I am trying to stack 4 on each side, on above the other.

    Banner Main content Banner

    Banner ------------------- Banner

    Banner ------------------- Banner

    Banner ------------------- Banner

    not the best graphical description, sorry, but the best i could come up with.

    I hope this helps describe my problem.

    Many thanks

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

    Default Re: More Banners

    There is a sidebox called:
    /includes/modules/sideboxes/banner_box_all.php
    /includes/templates/templates_default/sideboxes/tpl_banner_box_all.php

    You could clone that so you have two of them ...

    Then you can make your banners and assign them to the BannersAll group for one of the sets and assign them to a new group BannersAll2 ...

    To get the new group to work for you via the Admin you can use:
    Code:
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Banner Display Group - Side Box banner_box_all2', 'SHOW_BANNERS_GROUP_SET_ALL2', 'BannersAll2', 'The Banner Display Group may only be from one (1) Banner Group for the Banner All2 sidebox<br /><br />Default Group is BannersAll2<br /><br />What Banner Group do you want to use in the Side Box - banner_box_all?<br />Leave blank for none', '19', '73', '', '', now());
    and that will show in the Configuration ... Layout Settings ...
    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!

  7. #7
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: More Banners

    Hi Ajeh

    Thank you for your patience and understanding for a New Zenner.

    Could you please advise where and which file would I insert the code that you have suggested.

    I have looked through the configuration files and cannot find anything that matches it - or similar.

    Again, my thanks.

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

    Default Re: More Banners

    That is a SQL statement to be run in the Tools ... Install SQL Patches ... so that you can have a method of customizing the cloned Banners All 2 sidebox ...
    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!

  9. #9
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: More Banners

    Hi Ajeh.

    Many thanks for your reply.

    I will be able to try this tonight and let you know how I get on.

    I appreciate your help.

    Kind regards

  10. #10
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: More Banners

    Hi Ajeh.

    I have managed to get most of this working, many thanks to your guidance. But, the SQL references the banners being allocated to the Bannersall sidebox.

    If the Bannersall sidebox is set left in Tools\Layout Boxes Controller then all the images appear left.

    Can I modify the SQL so that one set of images references the Bannersall sidebox and are set left, and another group is assigned to the Sidebox-Banners group which can be set right.

    Does the 19, 73 in the SQL have any significant purpose. I.E. can I use the same, but modified code, but leave the 19, 73 the same.

    I am really grateful for your help and I am really pleased with the results.

    Many thanks, once again.

    Russell

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h How to add more SideBox-Banners?
    By zihaizi in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 27 Feb 2013, 03:23 PM
  2. Banners - More than one?
    By CheekyCockney in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Nov 2011, 03:41 PM
  3. show up more banners in Side Boxes?
    By thobby in forum Basic Configuration
    Replies: 1
    Last Post: 9 Feb 2009, 04:37 PM
  4. Creating more static banners
    By KTNaturals in forum Basic Configuration
    Replies: 4
    Last Post: 4 Nov 2007, 09:31 PM
  5. More banners in custom sidebox
    By nick04263 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Mar 2007, 05:01 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