Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Sideboxes not showing up!

Sideboxes not showing up!

Locked

Views: 756

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Dec 2009, 9:33 PM
#1
whatisthat456 avatar

whatisthat456

New Zenner

Join Date:
Dec 2009
Posts:
33
Plugin Contributions:
0

Sideboxes not showing up!

So i edited a sidebox and but it in the corresponding over ride directory and now all my sideboxes that should be showing up underneath the edited sidebox are not there? In the admin in the layout box controller i changed the order of them and they none of them will show up if i have them under the sidebox i changed. Any reply is always appreciated.

2 Dec 2009, 9:40 PM
#2
kdays avatar

kdays

Zen Follower

Join Date:
May 2008
Posts:
239
Plugin Contributions:
0

Re: Sideboxes not showing up!

What kind of change did you make to the 'offending' sidebox?

Let's say, for example, you have made some changes to the tpl_categories.php file and now the Categories sidebox (and anything underneath it) is not displaying properly.

Using a program that can compare files (or just print them out and go through them by hand), compare the tpl_categories.php from template_default and tpl_categories.php from your custom template.

Look for missing 'end bits' in your file. Like a missing </div> or ?> and things like that.

If you can't see where the problem is, rename your version to something else, save a new version into your template folder and make your changes again, one at a time.

Hope this helps,
Kerrin

3 Dec 2009, 4:58 AM
#3
whatisthat456 avatar

whatisthat456

New Zenner

Join Date:
Dec 2009
Posts:
33
Plugin Contributions:
0

Re: Sideboxes not showing up!

I changed part of the stylesheet.css to change the text in the header of the sidebox banner_box2 and took out all the code in the tpl_banner_box2.php and replaced it with

<a href="MY SHIPPING POLICY URL"><img src="MY IMAGE URL"></a>

What i am trying to do it make the sidebox have a image that when clicked will take you to my shipping policy. I hope that someone can help me out. I figure I should have left of the original code in the tpl_banner_box2.php file??? If anyone can help that would be great.

Thanks for the reply kdays!

3 Dec 2009, 5:52 AM
#4
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Sideboxes not showing up!

To change the text in your sidebox headers, you need to make a copy of /includes/languages/english.php. For banner box 2, it's at about line 413-415 (in red):

define('BOX_HEADING_BANNER_BOX2','Have you seen ...');
```Be sure to leave the single quote marks. Your altered file will go back into your override file at /includes/languages/custom. (This is the only file that will go into this folder.)

The contents of your banners are controlled in Admin/Tools/
Banner Manager. You can have an image (uploaded when you make the banner) or html. You can't have both on the same banner.