Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Turn Off the right Column

    I have found out how to disable the right hand column
    Code:
      $flag_disable_right = true;
    However, I have found that doing this, the page acts as though the column is not there, so, the centre column takes over that space. This is making the centre column lose it's formatting.

    What I would like to do is 'turn off' the right hand column; not display anything that has been set in 'admin/Tools/Layout Boxes Controller' so that it is not displayed, keeping the centre column in place and it looks like a large right hand indent. I have seen this somewhere but I cannot find it now that I want to do it for myself.
    Learning Fast.
    Eden Craft Supplies

  2. #2
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Turn Off the right Column

    Quote Originally Posted by adb34 View Post
    I have found out how to disable the right hand column
    Code:
      $flag_disable_right = true;
    However, I have found that doing this, the page acts as though the column is not there, so, the centre column takes over that space. This is making the centre column lose it's formatting.

    What I would like to do is 'turn off' the right hand column; not display anything that has been set in 'admin/Tools/Layout Boxes Controller' so that it is not displayed, keeping the centre column in place and it looks like a large right hand indent. I have seen this somewhere but I cannot find it now that I want to do it for myself.
    Log into your admin-> configuration -> layout settings -> make the edit to px size
    Column Width - Right Boxes 0

    admin-> tools_> layout boxes controller
    LEFT/RIGHT COLUMN Status - right column is set for off
    LEFT or RIGHT COLUMN - select left for all that you require.

  3. #3
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    Quote Originally Posted by Trinity14 View Post
    Log into your admin-> configuration -> layout settings -> make the edit to px size
    Column Width - Right Boxes 0

    admin-> tools_> layout boxes controller
    LEFT/RIGHT COLUMN Status - right column is set for off
    LEFT or RIGHT COLUMN - select left for all that you require.
    Thanks for the response.

    I should have made myself a little clearer; I only want to 'turn off' the right hand column on several pages; 'checkout shipping, checkout Payment, checkout confirmation & checkout success', all other pages the right hand column is active; I have important info in that column which is not relevant whist checking out. As I said before I can use "$flag_disable_right = true;" but it does not give the desired effect I am looking for.
    Learning Fast.
    Eden Craft Supplies

  4. #4
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Turn Off the right Column

    Can you provide a link to the zen cart you are asking about? I need a bit more info to assist you...

  5. #5
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Turn Off the right Column

    Quote Originally Posted by adb34 View Post
    Thanks for the response.

    I should have made myself a little clearer; I only want to 'turn off' the right hand column on several pages; 'checkout shipping, checkout Payment, checkout confirmation & checkout success', all other pages the right hand column is active; I have important info in that column which is not relevant whist checking out. As I said before I can use "$flag_disable_right = true;" but it does not give the desired effect I am looking for.
    I believe this is similar code to what you have been trying:
    Code:
    if ($current_page_base == 'index' and $cPath == '') {
    
     $flag_disable_right = true;
    
     }
    This may be where you're looking to make the code adjustments:

    Code:
    example: to override the shopping cart default page
    
    - make a directory /templates/my_template/shopping_cart_default
    
    - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/shopping_cart_default/tpl_main_page.php
    If the above location works, edit these files too:

    checkout_confirmation_default
    checkout_payment_address_default
    checkout_payment_default
    checkout_shipping_address_default
    checkout_shipping_default
    checkout_success_default


    Let me know if that helps,

  6. #6
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    I will give it a go, however, I have tried something very similar but did not give me the result I was after. If you go to this link this is the result you get, which, for the login I am after.
    Learning Fast.
    Eden Craft Supplies

  7. #7
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Turn Off the right Column

    It's a Picaflor Azul template that you are modifying. Perhaps Anne can shed some light on where to change the code you are looking for.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Turn Off the right Column

    Another idea, and not sure of the specifics off hand, might be to use css for the pages on which to hide the undesired content.

    There's a wiki on providing page specific stylesheets and a similar file in the includes/templates/template_default/css directory.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    What I am trying to do is more like making the right column invisible than turn it off for the checkout pages
    Learning Fast.
    Eden Craft Supplies

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Turn Off the right Column

    If I understand, try (in the stylesheet):

    checkoutshippingBody .rightBoxContainer {display: none;}

    #checkoutpaymentBody .rightBoxContainer {display: none;}

    and the same for the checkout success page.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Turn off right column completely
    By Vandana in forum General Questions
    Replies: 1
    Last Post: 30 Sep 2009, 09:17 AM
  2. 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
  3. Turn off right column in home page only
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Jul 2008, 08:18 PM
  4. Turn off left/right column for certain pages
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2008, 02:55 AM
  5. IF statement to turn off left/right column on category page
    By milkyway in forum General Questions
    Replies: 6
    Last Post: 1 Oct 2007, 08:26 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