Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    help question Can someone explain sideboxe position: single Column Status?






    What does Single Column Status: ON do?
    Several boxes I've set to this have disappeared completely. So don't think I'm understanding what it does.
    And what does it mean in conjunction with Left/Right Column Status?

    What I want to do is put some boxes up in the header with the search header (currency, language, shopping cart) and put the categories sort of in the middle of the page or to the right of the main page display area but still have a right column for banners and such.

    I have seen something like this on http://www.intimateplus-lingerie.com
    but I can't seem to figure it out yet.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can someone explain sideboxe position: single Column Status?

    The Single Column Status does not currently do anything. It is planned for some future functionality, but should be ignored for now.

    There are some mods available in Downloads for boxes in the header.

    Your example has been heavily recoded by the maker, Template Monster.
    One thing you can easily do yourself is to rearrange the usual left sidebar (navColumnOne) to be called after the center column, in /includes/templates/your_template/common/tpl_main_page.php.

    Move the whole block starting with
    PHP Code:
     <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT?>">
    and ending with
    PHP Code:
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT?>"><?php require(DIR_WS_MODULES zen_get_module_directory('column_left.php')); ?></div></td>
    <?php
    }
    ?>
    to just before[php
    <?php
    if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
    // global disable of column_right
    $flag_disable_right = true;
    }[/php]This will move the whole sidebar on every page of your site.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Can someone explain sideboxe position: single Column Status?

    You can have a 3 column layout, turn either the left or right column off and have a 2 column lauout, or turn off both left and right columns and have a single column layout.
    For moving to the head area you have to edit the code for the tpl_header.php and find the code for the desired box and insert it into the head file
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can someone explain sideboxe position: single Column Status?

    You might also want to move this section along with the rest (keeping it above the <td.. block), though it is not strictly necessary to do so.
    PHP Code:
    <?php
    if (COLUMN_LEFT_STATUS == or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
      
    // global disable of column_left
      
    $flag_disable_left true;
    }
    if (!isset(
    $flag_disable_left) || !$flag_disable_left) {
    ?>
    Actually, it is necessary. I missed the correct cutting point the first time, and the
    PHP Code:
    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?> 
    has to precede the <td...
    Last edited by gjh42; 6 Jul 2007 at 08:13 PM.

  5. #5
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: Can someone explain sideboxe position: single Column Status?

    Beautiful! Thanks Kobra! The edit of the tpl_main_page.php was a breeze. I'm getting what I want. I think I'll get the handle of this in a bit.

    I'll follow up about placing other side boxes in the header under another thread.

    thx

    shocker

 

 

Similar Threads

  1. Can someone explain?
    By Coffinwear in forum General Questions
    Replies: 6
    Last Post: 28 Jul 2010, 02:46 PM
  2. can someone explain $body_code?
    By mzimmers in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 Feb 2010, 03:02 AM

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