Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: ? Right column not displaying in template 241

    I am not saying that tpl_main_page.php IS your problem... but that it MIGHT be your problem...

    Look at the long list of commented code at the top...

    If you see anything were the following line is being rendered ACTIVE

    PHP Code:
    $flag_disable_right true
    Then it is possible that this is your issue. You can DE-activate it by COMMENTING it out - probably by putting an asterisk in front of it (if it is still in this header text)
    PHP Code:
     *  $flag_disable_right true
    ... or by using php comment tags //

    PHP Code:
    //  $flag_disable_right = true; 
    Look also at the line that says:

    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        
    $flag_disable_right true;
      } 
    if the text:
    PHP Code:
    list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces 
    ... is not there, and you see a list of pages being referenced instead, (EG: index,contact_us,checkout_shipping,shopping_cart,...)

    Then DELETE all these page names, so that the lines of code look like this:

    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    if (in_array($current_page_base,explode(",",'')) ) {
        
    $flag_disable_right true;
      } 
    It is important to retain the php SYNTAX here... if you omit one single quote mark, you will break the page...

    My example is proper syntax.
    20 years a Zencart User

  2. #2
    Join Date
    Jan 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: ? Right column not displaying in template 241

    • Yes -- I understand that you are suggesting to just 'check' the tpl_main_page.php page and it may NOT be the issue.


    • OK -- found all the commented code at the top and did find the PHP code "$flag_disable_right = true;" ...but it has the "*" in front of it so it's still a comment.


    • This is the other reference to the right-column:
    PHP Code:
    <?php
    //if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' && $_SESSION['customers_authorization'] != 0)) {
    if (COLUMN_RIGHT_STATUS == || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != or $_SESSION['customer_id'] == ''))) {
      
    // global disable of column_right
      
    $flag_disable_right true;
    }
    if (!isset(
    $flag_disable_right) || !$flag_disable_right) {
    ?>
    <td id="navColumnTwo" class="columnRight">
    <?php
     
    /**
      * prepares and displays right column sideboxes
      *
      */
    ?>
    <div id="navColumnTwoWrapper"><?php require(DIR_WS_MODULES zen_get_module_directory('column_right.php')); ?></div></td>
    <?php
    }
    ?>
      </tr>
    </table>

 

 

Similar Threads

  1. v151 Template #241 not displaying left catagories menu?
    By thermalzombie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Jan 2013, 08:59 PM
  2. v139h EstoreNow Template - Right Side Column not appear
    By cwl3683 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Apr 2012, 11:45 PM
  3. Replies: 14
    Last Post: 20 Oct 2010, 10:43 PM
  4. Right Column Not Displaying Sideboxes?
    By Ambitions in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 May 2010, 03:10 PM
  5. Right Column Sideboxes Not Displaying Properly
    By Mike Walmsley in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Feb 2010, 01:06 PM

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