Zen Cart Logo
Forums / Addon Sideboxes / Changing Blank Side Box Header Removes all right side boxes

Changing Blank Side Box Header Removes all right side boxes

Views: 1,613

Results 1 to 3 of 3
13 Jun 2011, 1:18 PM
#1
annav avatar

annav

Zen Follower

Join Date:
Jul 2008
Location:
Sydney, Australia
Posts:
171
Plugin Contributions:
0

Changing Blank Side Box Header Removes all right side boxes

Hi,

I hope someone can help as I don't know what I am doing wrong.

I used an existing (but unused) blank side box to which I added a Live Chat button (I thought that would be the hard part).

I'm trying to change the header which currently says Postage to Live Chat but when I do that, all of the side boxes on the right side disappear. I'm literally just typing over the word Postage so not deleting or adding anything extra.

This is in modules/sideboxes/blank_sidebox.php.

if ($show_blank_sidebox == true) {
require($template->get_template_dir('tpl_blank_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox.php');
$title = Postage;
$title_link = false;

This has me really stumped so I hope someone can help.

Thanks
Anna

https://www.toycrazy.com.au

13 Jun 2011, 3:22 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing Blank Side Box Header Removes all right side boxes

The code you posted opens an IF statment, but doesn't close it. And you're assigning text to a variable without quotes.

It's not so much that your sideboxes are disappearing as your site is falling over part way through the right sidebar, which you can test by looking to see whether the footer also disappears when you use this code.