Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Disappearing sidebox border (bottom)

    Hi to all,

    I only recently started working with zencart (1.3.0.2) and wish to begin this post by congratulating all on a brilliant system. User friendly and very easy to use. (Even with no programming knowledge.)

    Everything worked as intended straight from the "box".

    I am however experiencing one small bu irretating problem. Most of the sideboxes posted on the downloads page gives the same result. On installing any add-on sidebox the bottom border line disappears. (I tried the scrolling specials sidebox, the credit card accepted sidebox and the refreshing "whats new" sidebox and all had the bottom line missing. As soon as I go back to the original sidebox (eg. standard specials sidebox) all is ok again. This problem is basically holding up the usage of add-in sideboxes on my site.

    Any assistance will be welcome.

    Louis

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Disappearing sidebox border (bottom)

    What template have you based your custom template on?

  3. #3
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Disappearing sidebox border (bottom)

    You are quick!!

    I am using Nightfall from the downloads section. I also changed the template to future zen to see if there is any difference but the same still happened.

    Louis

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Disappearing sidebox border (bottom)

    The URL where this can be seen?

  5. #5
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Disappearing sidebox border (bottom)

    Kim,

    I activated the Credit card box as a right hand sidebox for you
    the url is http://shop.technopro.co.za

    Thanks for your help.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Disappearing sidebox border (bottom)

    The only thing I can see is the last row of the table that is inside the sidebox is missing a colspan="2"

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Disappearing sidebox border (bottom)

    Hi Louis

    Your problem is that the sidebox that you have added in is not designed for use with version 1.3 of Zen Cart. The v1.3 sideboxes all have an outer container div and a heading which are generated for all boxes and a content div which is generated by the individual sidebox.

    Unfortunately your credit card accept sidebox doesn't have this sidebox content div which is used by both the Nightfall and future Zen templates as the hook from which to hang the image at for the bottom of the sidebox.

    If you're up for a bit of php coding then make a copy of the file that I suspect will be called something like tpl_ccaccept,php and put it in your includes/templates/nightfall/sideboxes directory. Then edit it to add two lines. This one as the second line of after the header comment
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    and then this one immediately before the final ?>
    $content .= '</div>';
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Disappearing sidebox border (bottom)

    Kurio,

    I am still working on your suggestion. My first attempt was not so successful. The box contained = - ; ' and other funnies. It also repeated the description from the box above it.

    Did you mean that I have to replace certain code with your code or am i just supposed to add the code (I first tried just adding).??

    I am determined to get this fixed myself. Good to know the inner workings of the system you use. One never knows when you will have to dig in yourself.

    I will keep you informed of progress.

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Disappearing sidebox border (bottom)

    Quote Originally Posted by Louis
    I am still working on your suggestion. My first attempt was not so successful. The box contained = - ; ' and other funnies. It also repeated the description from the box above it.

    Did you mean that I have to replace certain code with your code or am i just supposed to add the code (I first tried just adding).??

    I am determined to get this fixed myself. Good to know the inner workings of the system you use. One never knows when you will have to dig in yourself.
    Doing it yourself is a great way of learning.

    From the result you describe, it looks as though your first attempt had some syntax errors. The aim is not to replace any code (I am guessing as I haven't actually seen your code!) but rather to simply wrap a div that all 1.3 template_default sideboxes have around the sidebox content.

    If you run into difficulties. a bit of persistence is good, but if it bubbles over into frustration, please post the code.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #10
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Disappearing sidebox border (bottom)

    Got it!!!

    I also had to add
    $content = '';
    to remove the box above's heading.

    BTW - Any comments on the site? Am i doing Zen-Cart justice?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Sidebox Bottom Border has strangely vanished!
    By Maxpoly in forum Basic Configuration
    Replies: 6
    Last Post: 2 Nov 2008, 05:17 PM
  2. Sidebox Bottom Border Missing
    By Eagle75au in forum Addon Sideboxes
    Replies: 2
    Last Post: 11 Sep 2008, 12:17 PM
  3. border-bottom
    By JOHNMAGGIO in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jul 2008, 07:04 AM
  4. Border in Firefox & Sidebox border missing
    By helpme in forum Basic Configuration
    Replies: 3
    Last Post: 17 Oct 2007, 04:18 AM
  5. Bottom Navigation Border
    By biv2k in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Aug 2006, 11:35 PM

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