Thread: Blank sidebox

Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Posts
    39
    Plugin Contributions
    0

    Default Blank sidebox

    Just installed a new blank sidebox.
    Could someone explain the difference between putting data into the blank_sidebox_defines.php or the tpl_blank_sidebox.php. If I remove the message in blank_sidebox_defines.php ie define('TEXT_BLANK_SIDEBOX', 'Replace this text with your HTML content.'); then I get a blank area at the top of the sidebox . Help Please

  2. #2
    Join Date
    Nov 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Blank sidebox

    Another thing I cannot understand is the Layout Boxes Controller. Not Sure how the different settings effect the boxes, namely the LEFT/RIGHT COLUMN Status and SINGLE COLUMN Status

  3. #3
    Join Date
    Nov 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Blank sidebox

    Could someone please expalin why it takes so long to answer a query

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank sidebox

    Quote Originally Posted by scorpio4646 View Post
    Could someone please expalin why it takes so long to answer a query
    Perhaps if you posted more information about what you were trying to replace that text with, answers might be more forthcoming.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank sidebox

    Quote Originally Posted by scorpio4646 View Post
    Another thing I cannot understand is the Layout Boxes Controller. Not Sure how the different settings effect the boxes, namely the LEFT/RIGHT COLUMN Status and SINGLE COLUMN Status
    The left/right column status is used to determine whether to display the particular sidebox in the ... um ... left or right column.

    Single column status is not used in the current version of Zen Cart. It's an old feature kept for backwards compatibility only. It may be removed or replaced in a future release.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank sidebox

    Quote Originally Posted by scorpio4646 View Post
    then I get a blank area at the top of the sidebox .
    What exactly do you mean?
    Perhaps a URL to see it in action would be helpful.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Blank sidebox

    Thanks for the explanation of the single column feature in layout control. As to the other question here is the URL
    http://www.coolers-computers.com
    The sidebox in question is "Our sponsors" on the right hand side of the page. notice there is a large white space above the Image

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank sidebox

    You've got some really bad HTML in there.

    If you click on View Source in your browser, you'll see that the sidebox is drawn from this information:
    Code:
    <!--// bof: blanksidebox //-->
    <div class="rightBoxContainer" id="blanksidebox" style="width: 150px">
    <h3 class="rightBoxHeading" id="blanksideboxHeading">Our Sponsors</h3>
    <div id="blanksideboxContent" class="sideBoxContent"><p><p><div align="center"><a href="http://www.cool-fm.net" target="_blank"><img src="images/sponsor.jpg" alt="CoolFM internet Radio" width="142" height="227" border="0" /></a></div>
    </body>
    </div></p></p></div></div>
    <!--// eof: blanksidebox //-->
    1. Get rid of the </body> line. You shouldn't be ending your "body" tag in the middle of the page.
    2. Get rid of the extra <p> and </p> and </div> tags as shown.
    Those are all in the sidebox template file where you inserted your own stuff.



    And, you could have used the Banners system to do the Sponsors sidebox, instead of installing a new sidebox.
    https://www.zen-cart.com/tutorials/index.php?article=80
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Blank sidebox

    Thanks very much for that information I will look into it. So using the banner box would be better for this.

  10. #10
    Join Date
    Nov 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Blank sidebox

    ok tried that looks much better and easy to install thanks once again. As you will have noticed I am completely new to this (about six weeks) but I am learning thanks to you guys

 

 

Similar Threads

  1. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  2. Blank Sidebox, no borders or header, just blank
    By chris32882 in forum General Questions
    Replies: 16
    Last Post: 3 Dec 2009, 06:22 PM
  3. Flash hack&blank sidebox = blank page
    By AmandaGero in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Apr 2009, 06:19 PM
  4. Blank Sidebox
    By Sturmgeschutz in forum Basic Configuration
    Replies: 2
    Last Post: 28 Sep 2008, 04:24 PM
  5. Blank Sidebox Mod - remove a blank sidebox
    By PJD in forum Basic Configuration
    Replies: 4
    Last Post: 14 Mar 2008, 02:09 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