Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Herne Bay, Kent, England
    Posts
    182
    Plugin Contributions
    0

    help question Problems with the Right Hand Column.

    Hi everybody.

    In a nutshell - how do I turn the right hand column on (globally).

    Thanks in anticipation.

    Philip

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

    Default Re: Problems with the Right Hand Column.

    We need to know why it's off to answer that positively. Did you turn it off somehow? Or did your template come that way?

    It should be controlled in Configuration > Layout Settings > Column Right Status - Global. The column widths and column box widths will also affect the display.

  3. #3
    Join Date
    Sep 2007
    Location
    Herne Bay, Kent, England
    Posts
    182
    Plugin Contributions
    0

    Default Re: Problems with the Right Hand Column.

    Hi Glenn. Thanks for that.

    To explain more fully - my site was being built by a designer who has 'vanished', so I'm having to carry on myself. I am reasonably competent in osCommerce (NOT as good). I have mastered the theory of templates and discovered where my designer put mine.

    The setting for the RH column is 1 (on). The width is 150px (Same as the LHS). I assume that a page overide exists but I don't know where to look!

    Kind regards

    Philip

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

    Default Re: Problems with the Right Hand Column.

    Do you have a blank space where the column should be? Or does the center go all the way to the right edge?

    There are two column width settings - column width and column boxes width, provided so you can have custom margin/container effects. They both need to be set to function properly.

    It is possible to set a flag in /includes/templates/your_template/common/tpl_main_page.php to disable the right column (or other elements). Search that file for $flag_disable_right.

  5. #5
    Join Date
    Sep 2007
    Location
    Herne Bay, Kent, England
    Posts
    182
    Plugin Contributions
    0

    Default Re: Problems with the Right Hand Column.

    Hi again.

    1) The centre section goes to the edge.
    2) Both settings are the same at150px.
    3) I've found several mentions of the flag you identified - all set to true except the *'ed one at line 19. Do I reset them all?

    Thanks

    Philip

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

    Default Re: Problems with the Right Hand Column.

    Probably not. There are a couple of conditional settings, 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(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        
    $flag_disable_right true;
      } 
    which you should leave alone. If therre are any pages mentioned in the list, you may or may not want to delete them.

    The instances around lines 19, 25 and 31 should all be commented out, as examples only.

    The code near the end of the file
    PHP Code:
    if (COLUMN_RIGHT_STATUS == or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
      
    // global disable of column_right
      
    $flag_disable_right true;

    should read as shown - it should be conditional.

 

 

Similar Threads

  1. v151 Right Hand Column going walk about
    By adb34 in forum General Questions
    Replies: 7
    Last Post: 20 Feb 2014, 08:06 PM
  2. v139h Show right hand column on certain pages only
    By barendfaber in forum General Questions
    Replies: 1
    Last Post: 26 Nov 2012, 05:13 PM
  3. Turn Right Hand column off on most pages
    By aussiesapphire in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Aug 2009, 08:07 AM
  4. Replies: 3
    Last Post: 27 Jan 2009, 12:30 PM
  5. Right hand column missing on product info pages
    By spbennett in forum General Questions
    Replies: 3
    Last Post: 12 Jul 2007, 07:05 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