Forums / Templates, Stylesheets, Page Layout / disable side box column for ez-pages

disable side box column for ez-pages

Locked

Views: 1,539

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Dec 2006, 6:29 AM
#1
subb avatar

subb

New Zenner

Join Date:
Oct 2006
Posts:
26
Plugin Contributions:
0

disable side box column for ez-pages

Hi there,

I'm having a little problem working out how to disable my right hand sideboxes on one or more ez-pages.

The way i achieved this for other pages was by modifying tpl_main_page.php as mentioned here, but i cant seem to work out if i can just add a part of my ez-page url to the list of pages that are exempt from the right column
here

  if (in_array($current_page_base,explode(",",'shopping_cart,login,contact_us,product_info')) ) {
     $flag_disable_right = true;
  }

the ez-page url i want to do this with is

index.php?main_page=page&id=1&chapter=0

but im not getting much joy in adding any part of that url to the list.

any advice or help of any kind would be gratefully received!

15 Dec 2006, 2:59 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: disable side box column for ez-pages

Might peek in the Configuration ... EZ-Pages Settings:

EZ-Pages Pages to disable left-column
EZ-Pages "pages" on which to NOT display the normal "left" column (of sideboxes) for your site.
Simply list page ID numbers separated by commas with no spaces.
Page ID numbers can be obtained from the EZ-Pages screen under Admin->Tools.
ie: 21
or leave blank.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Dec 2006, 8:07 PM
#3
subb avatar

subb

New Zenner

Join Date:
Oct 2006
Posts:
26
Plugin Contributions:
0

Re: disable side box column for ez-pages

duh!

i knew i was missing something simple because i couldnt find any previous threads about this!

many many thanks for clearing that up for me

drinks all round