Forums / Templates, Stylesheets, Page Layout / Remove right column on login page doesn't work

Remove right column on login page doesn't work

Locked

Views: 1,198

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 Oct 2009, 11:59 PM
#1
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

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

// 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

19 Oct 2009, 3:07 PM
#2
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

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?

20 Oct 2009, 8:32 PM
#3
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

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.

20 Oct 2009, 8:43 PM
#4
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

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