Forums / Templates, Stylesheets, Page Layout / Huh! Template overide - no sideboxes?

Huh! Template overide - no sideboxes?

Locked

Views: 1,311

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 Jun 2009, 12:11 PM
#1
dcprod avatar

dcprod

New Zenner

Join Date:
May 2009
Posts:
32
Plugin Contributions:
0

Huh! Template overide - no sideboxes?

This is on a local computer test site with ZC 1.3.8

I copied and renamed the includes/ templates/classic directory to includes/ templates/mytemplate and modified template_info.php to change the name.

Then in the admin console I switched the template from classic to mytemplate. I looked at the user's view and my side boxes were gone. In the Layout Boxes controller everything was turned off with the following message:

WARNING: New boxes found: banner_box.php banner_box2.php banner_box_all.php best_sellers.php categories.php currencies.php document_categories.php ezpages.php featured.php information.php languages.php manufacturer_info.php manufacturers.php more_information.php music_genres.php order_history.php product_notifications.php record_companies.php reviews.php search.php search_header.php shopping_cart.php specials.php tell_a_friend.php whats_new.php whos_online.php

Wha??????

Instead of copying the classic folder should I copy and rename the template_default folder? (From the warning message I don't think it would matter.)

6 Jun 2009, 12:50 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Huh! Template overide - no sideboxes?

This is how it works ...

On a new template it will add all of the sideboxes turned off ... there is a button at the bottom to reset to the default settings ... then you can customize from there ...

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!

6 Jun 2009, 12:52 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Huh! Template overide - no sideboxes?

When you change a template you need to reset your sideboxes. Scroll down on the sideboxes manager and click the re-set button.

This is a very important part of changing templates, as a lot of the control of the appearance of sideboxes is embedded in the tpl_....php files. (which you may CHANGE when you switch templates)

20 years a Zencart User

6 Jun 2009, 12:52 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Huh! Template overide - no sideboxes?

Linda types faster than I do !:D

20 years a Zencart User

6 Jun 2009, 5:26 PM
#5
dcprod avatar

dcprod

New Zenner

Join Date:
May 2009
Posts:
32
Plugin Contributions:
0

Re: Huh! Template overide - no sideboxes?

Sigh, I hate having to reset all those boxes....

Oh, well, if that's the only quirk when setting up an override template...

6 Jun 2009, 5:50 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,683
Plugin Contributions:
0

Re: Huh! Template overide - no sideboxes?

You'll be happy to know that in the future 2.0 release, there are some improvements to the handling of the content in the sidebars.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

6 Jun 2009, 5:51 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Huh! Template overide - no sideboxes?

There's also a mod that allows you to set your sidebox settings as the default.