Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Remove right column on login page doesn't work

    Hi guys,

    Using zn 1.3.8a with several modules installed including FEC

    So i've found the thread that talks about how to remove left or right columns for certain pages and i've edited the code accordingly in the tpl_main_page.php, but whatever i do, nothing seems to change (yes i am uploading after changing it :))

    here is the pertinent code from that file

    Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      if (in_array($current_page_base,explode(",",'checkout,login')) ) {
        $flag_disable_right = true;
      }
    
    //add page names that you wantto disable left and right columns added by John
    $center_column_only = array('checkout'); // add any other page names here separated by commas, no spaces
    // the following IF statement can be duplicated/modified as needed to set additional flags
    if (in_array($current_page_base,$center_column_only) ) {
      $flag_disable_right = true;
      $flag_disable_left = true;
    from this I would assume the checkout and login page should not have the right box and the checkout page trying a different way should also not have the left column.

    But no matter what i don. nothing changes.

    any advice would be greatly appreciated.

    John

  2. #2
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Remove right column on login page doesn't work

    an update to my post, the removing of the left column DOES work on the checkout page, but the remove right flag seems to be ignored or?

  3. #3
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Remove right column on login page doesn't work

    well some more toiling has solved the issue of why it was not being removed from the the login page, because the flag in the layout settings in configuration was set to 0 for the right column. This is quite strange because the right column WAS being displayed so I didn't think to check this setting!

    Next issue is I need to figure how TO Display the right column on the product pages. I dont see where it is being removed from these pages, but the right box does NOT show up on the product pages?

    any help is appreciated.

  4. #4
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Remove right column on login page doesn't work

    ok well it IS diplaying the Shopping cart contents on the right but nothing else such as best sellers or specials so i poked into those sidebox files and figured out how to display the specials, but still tinkering with the bestsellers box.

    I guess I solved all my own questions but hopefully this helps someone else.

    cheers

    John
    Last edited by ethical; 20 Oct 2009 at 09:48 PM.

 

 

Similar Threads

  1. v139f Customer login doesn't work from Home Page.
    By asimms1 in forum General Questions
    Replies: 1
    Last Post: 7 May 2012, 03:31 PM
  2. I want to remove the right column in all category pages: tutorial didn't work for me
    By ktrainyo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Nov 2009, 11:57 AM
  3. Login Page Layout on right column
    By OLIVIER72 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 29 Mar 2009, 05:31 AM
  4. customer login page doesn't work
    By sydmich in forum General Questions
    Replies: 1
    Last Post: 7 Jun 2007, 11:49 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