Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Mar 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: banner_box_all add problem

    Quote Originally Posted by Ajeh View Post
    banner_box2.php or did you mean to post a copy of the clone you made for banner_box_all.php ...

    opps.. yeah the first one was the regular banner_box_all

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

    Default Re: banner_box_all add problem

    The Banners Box All uses this sql statement to add itself to the Layout Settings:
    PHP Code:
    INSERT INTO configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('Banner Display Group - Side Box banner_box_all''SHOW_BANNERS_GROUP_SET_ALL''BannersAll''The Banner Display Group may only be from one (1) Banner Group for the Banner All sidebox<br /><br />Default Group is BannersAll<br /><br />What Banner Group do you want to use in the Side Box - banner_box_all?<br />Leave blank for none''19''72'''''now()); 
    You can adapt this INSERT to work with your new configuration_key for the:
    SHOW_BANNERS_GROUP_SET_ALL2

    This will allow you to configure it in the Layout Settings as well as ensure that it is loaded at the right time to work with your new sidebox ... providing all else is coded correctly ...
    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. #13
    Join Date
    Mar 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: banner_box_all add problem

    im really sorry ajeh,

    where do i insert the adapted sql statement into?

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

    Default Re: banner_box_all add problem

    If you use the Tools ... Insert SQL Patches ...

    It will add it to your database configuration table for you ...

    NOTE: read that carefully as that is the one for the original configuration_key for:
    SHOW_BANNERS_GROUP_SET_ALL

    You will want to edit it a bit for your configuration_key for your new sidebox:
    SHOW_BANNERS_GROUP_SET_ALL2

    And perhaps update the text etc. to reflect which box this is when viewing it from the 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!

  5. #15
    Join Date
    Mar 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: banner_box_all add problem

    omg ajeh!

    it worked!

    you really made my week!

    much praise to you for your great help and patience w/ my questions!

    <3 ajeh and zencart !!!


    -Becky Lee
    KNC

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

    Default Re: banner_box_all add problem

    /me *thud* ...

    Remember us when you are rich and famous ...
    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. #17
    Join Date
    Mar 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: banner_box_all add problem

    i wish! lol

    oh btw... i forgot to ask... (here i go again)

    would you know how i can change the spacing between the banners in banner_all? i want the images to be a bit closer together.

    lol thx!

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

    Default Re: banner_box_all add problem

    View source ... see if this is breaks or class managed ...
    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. #19
    Join Date
    Mar 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: banner_box_all add problem

    i looked around in templates and modules and havent seen anything that mentions breaks or class in the banner_all groups

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

    Default Re: banner_box_all add problem

    psst ...
    PHP Code:
    // add spacing between banners
        
    if ($banner_cnt $banners_all->RecordCount()) {
          
    $content .= '<br /><br />';
        } 
    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!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. banner_box_all for all banner groups
    By frobie in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Sep 2010, 12:56 AM
  2. add to cart problem
    By lchurch in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Jan 2010, 06:36 PM
  3. Banner_Box_All on specific page?
    By RoboMike in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 5 Jun 2009, 03:59 AM
  4. 1 banner at a time in banner_box_all
    By get bucked in forum Basic Configuration
    Replies: 2
    Last Post: 18 Nov 2008, 11:52 PM
  5. Banner_Box_All Problems
    By speXedy in forum Basic Configuration
    Replies: 3
    Last Post: 10 Jun 2006, 02:51 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