Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Sidebox Hide/Visible

Sidebox Hide/Visible

Locked

Views: 1,833

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Jul 2006, 10:38 AM
#1
adamboyle avatar

adamboyle

New Zenner

Join Date:
Nov 2005
Location:
Ipswich, UK
Posts:
18
Plugin Contributions:
0

Sidebox Hide/Visible

Hello,

Ive got a bit of a strange requirement, Ive added a new page to my Zen Cart store, but this particular page needs to be displayed in a different way to the others. I need this page to only show one particular sidebox. This box is not visible on any of the other pages. I also do not need the right column to not be displayed at all.

Is there a way of doing this with a Zen function, or will I have to manually edit each sidebox TPL file with PHP to stop it displaying?

Any help would be much appreciated, Ive got the logic behind the function, just not how to do it :D

16 Jul 2006, 10:57 AM
#2
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Sidebox Hide/Visible

I was thinking the same thing.

It would be great to configure which pages had which sideboxes and which not, and even to enable/disable side columns totally on a per page basis.

16 Jul 2006, 11:37 AM
#3
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Sidebox Hide/Visible

The following may be related.

sideboxes on selective pages only

.

16 Jul 2006, 1:09 PM
#4
adamboyle avatar

adamboyle

New Zenner

Join Date:
Nov 2005
Location:
Ipswich, UK
Posts:
18
Plugin Contributions:
0

Re: Sidebox Hide/Visible

Thanks for your reply. I was hoping to find a way to avoid some heavy IF-statementing but if thats all I can do at present its not a problem. Thanks!