Forums / Templates, Stylesheets, Page Layout / Right sidebar disappears from product info

Right sidebar disappears from product info

Locked

Started by unicorn on 24 Nov 2009, 8:15 PM · Views: 1,132

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Nov 2009, 8:15 PM
#1
unicorn avatar

unicorn

Zen Follower

Join Date:
Sep 2008
Posts:
107
Plugin Contributions:
0

Right sidebar disappears from product info

Yeah, I think the title of this post says it all...

When you click and go from the main page to the products, the right sidebar goes away...

Why?

What to do?

24 Nov 2009, 8:51 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Right sidebar disappears from product info

Can not see your site??

Post a link

Zen-Venom Get Bitten

24 Nov 2009, 8:57 PM
#3
ladybugmom avatar

ladybugmom

New Zenner

Join Date:
Nov 2008
Posts:
40
Plugin Contributions:
0

Re: Right sidebar disappears from product info

Mine kept doing that too. I was using a "<li>" tag in the id=productdescription area, which was throwing the whole site off and making my right sidebar go to the bottom. I had to rework without and li tags.

Another problem could be you have edited you product page template and have not gotten all the code correct, I have been guilty of that too.

Maybe it is one of these.

:smile:

25 Nov 2009, 5:53 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Right sidebar disappears from product info

This has probably been specified (at some point by somebody) in tpl_main_page.php .

This file is in the COMMON folder of the template.

Around line 40 - 41, an UN-EDITED file will contain:

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

It could be that this line in your file now has product_info in it.

20 years a Zencart User

6 Dec 2009, 9:04 PM
#5
unicorn avatar

unicorn

Zen Follower

Join Date:
Sep 2008
Posts:
107
Plugin Contributions:
0

Re: Right sidebar disappears from product info

Thanks, but there was actually a file missing, I found out by accident and everything's ok now. :)