Forums / Templates, Stylesheets, Page Layout / Blank Sidebox v2.0 Header won't change

Blank Sidebox v2.0 Header won't change

Views: 2,182

Results 1 to 20 of 31
17 Jun 2011, 1:28 PM
#1
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Blank Sidebox v2.0 Header won't change

Hello all, using the latest version of zen cart. Loving the Blank Sidebox v2.0 add-on, I'm using it to provide links to our company's various social media pages. However, the problem I am having at the moment is that the header's name will not change from BOX_HEADING_BLANK_SIDEBOX. I have gone to \includes\languages\english\extra_definitions, opened blank_sidebox_defines.php as instructed, and input the following:

[IMG]http://img202.imageshack.us/img202/8493/blanksidebox.png[/IMG]

I have tried changing 'BOX_HEADING_BLANK_SIDEBOX' to 'Social Media in this file, so it reads "define('Social Media', 'Social Media');", but that also does not work. Here's how it currently appears on my test site:

[IMG]http://img89.imageshack.us/img89/2641/unledewz.png[/IMG]

Where is this problem coming from? Finally, here is the site in question:

https://www.on-grade.ca/site_clone

17 Jun 2011, 2:59 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Blank Sidebox v2.0 Header won't change

Do you have a copy of that file in includes/languages/english/extra_definitions/theme376 ? If not, what you have should work, but you might try placing an edited copy there.

17 Jun 2011, 4:30 PM
#3
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

I had to create the directory 'theme376', an upon creating it I put the file in. Sadly, there were no changes to the website.

17 Jun 2011, 5:42 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Blank Sidebox v2.0 Header won't change

Take a look at the line under your highlight. Bad edit?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 Jun 2011, 6:42 PM
#5
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

dbltoe:

Take a look at the line under your highlight. Bad edit?

I don't see it :huh:

17 Jun 2011, 6:47 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Blank Sidebox v2.0 Header won't change

:blush:
Missed scroll on the new iPad

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 Jun 2011, 6:56 PM
#7
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

Nice, nice. They're pretty nifty, huh? I wonder if they're better for editing product pages than my iphone...

17 Jun 2011, 8:28 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Blank Sidebox v2.0 Header won't change

Haven't gotten that far. Tough keying when you can palm it:P

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Jun 2011, 2:18 PM
#9
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

Still looking for help on this issue. I can't let it say BOX_HEADING_BLANK. How else can I incorporate these social media icons to my website?

21 Jun 2011, 4:26 PM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: Blank Sidebox v2.0 Header won't change

So....
Now, if you use the Developer's Tool Kit, you find two instances of BOX_HEADING_BLANK_SIDEBOX?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Jun 2011, 4:33 PM
#11
stevesh avatar

stevesh

Black Belt

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

Re: Blank Sidebox v2.0 Header won't change

In the stock Blank Sidebox mod, that's defined in includes/languages/english/extra_definitions/blank_sidebox_defines.php. It looks like you may have added some classes to that box, so it may be different on your site, but I'd look there first.

22 Jun 2011, 2:38 PM
#12
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

stevesh:

In the stock Blank Sidebox mod, that's defined in includes/languages/english/extra_definitions/blank_sidebox_defines.php. It looks like you may have added some classes to that box, so it may be different on your site, but I'd look there first.

That's the file that I've been trying to modify, as per screenshot 1 in my first post. However, it seems to be unresponsive. Does anyone know where I should look next?:mellow:

28 Jun 2011, 6:02 PM
#13
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

Bump. Not letting thread die yet, since it's unresolved.

28 Jun 2011, 11:57 PM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Blank Sidebox v2.0 Header won't change

Per post 12, that is the file that you should be using (there is no "next"), and the define you posted in your OP is correct, so if the file is actually in the right place on your server, there is no good reason for it not to be working.
What is the result of the Developers Toolkit search as dbltoe requested?

30 Jun 2011, 3:24 PM
#16
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

dbltoe:

I'll see your bump and raise you a bump on my question in http://www.zen-cart.com/forum/showpost.php?p=1040739&postcount=10

When I use Developer's Tool Kit and look for "BOX_HEADING_BLANK_SIDEBOX", I receive "Error: No matching Configuration Keys were found ... BOX_HEADING_BLANK_SIDEBOX"

30 Jun 2011, 4:02 PM
#17
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Blank Sidebox v2.0 Header won't change

Which search box are you using? The lower left one will let you search everywhere. You are obviously missing the define, but there has to be a call to output the constant, or it would not show in your heading.
Check on whether the define file is actually present, complete and up to date on your server.

30 Jun 2011, 5:26 PM
#18
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Blank Sidebox v2.0 Header won't change

I tried searching again, this time making sure to select "All Files Look-ups: Catalog/Admin" from the "All Files Look-ups:" drop down field. Here are the results:

**/home/ongrade/public_html/site_clone/includes/languages/english/extra_definitions/blank_sidebox_defines.php
**
Line #11 : define('BOX_HEADING_BLANK_SIDEBOX', 'Social Media');

**/home/ongrade/public_html/site_clone/includes/languages/english/extra_definitions/classic/blank_sidebox_defines.php
**
Line #11 : define('BOX_HEADING_BLANK_SIDEBOX', 'Social Media');

**/home/ongrade/public_html/site_clone/includes/languages/english/extra_definitions/theme376/blank_sidebox_defines.php
**
Line #11 : define('BOX_HEADING_BLANK_SIDEBOX', 'Social Media');

**/home/ongrade/public_html/site_clone/includes/modules/sideboxes/blank_sidebox.php
**
Line #16 : $title = BOX_HEADING_BLANK_SIDEBOX;

30 Jun 2011, 6:18 PM
#19
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Blank Sidebox v2.0 Header won't change

Okay, that says that the define is present and correct (the /theme376/ version is the only one that matters if you have that template active), and being called to be the title content. Do you have a file /includes/modules/sideboxes/theme376/blank_sidebox.php? If not, that's fine. If so, post its content here.

30 Jun 2011, 6:23 PM
#20
Kim avatar

Kim

Obaa-san

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

Re: Blank Sidebox v2.0 Header won't change

pppssst - you're looking at the wrong define - check the syntax on the define below the one you have circled in red in your picture ...

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.