Forums / Basic Configuration / Blank Sidebox Glitched?

Blank Sidebox Glitched?

Locked

Views: 1,631

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Oct 2008, 1:08 AM
#1
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Blank Sidebox Glitched?

I don't know what the issue is with the blank sidebox, but when you add code to it, the entire site shows as a white blank page.

I noticed several other people posted with the same issue and nothing seems to be rectified.

I do know the module is labeled for 1.3.7. Will this not work with 1.3.8?

I have tried twice now with this.
Once to add a Live Help Online/Offline logo which caused the same problem.
The second time, I am trying to add Shopmania logo and validation code for my site.

If it helps, Shopmania code is:

<a href="http://www.shopmania.com" title="Visit 24hrsatellites.com on ShopMania" onclick="target='_blank'; window.open('http://www.shopmania.com/?m=1204'); return false;" onkeypress="target='_blank'"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" style="border: 0;" alt="Visit 24hrsatellites.com on ShopMania" /></a>

This edit works:

<a href="http://www.shopmania.com" title="Visit 24hrsatellites.com on ShopMania"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" style="border: 0;" alt="Visit 24hrsatellites.com on ShopMania" /></a>

But it won't validate my site, because member code is removed.
Shopmania demands their code cannot be changed.

Appreciate some help with figuring out the issue with the blank sidebox.

16 Oct 2008, 8:48 AM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Blank Sidebox Glitched?

As evidenced by your "edit" code, without the JS things work fine.

As the problem is the JS code, you could write everything in JS code with backup code for people with JS turned off.

If it was me, though :smile: - I like to keep things simple and would use something like this:

<a href="http://www.shopmania.com/?m=1204" title="Visit 24hrsatellites.com on ShopMania"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" width="112" height="31" border="0" alt="Visit 24hrsatellites.com on ShopMania" /></a>

The learning is in the doing.

Potent Products

16 Oct 2008, 2:50 PM
#3
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Blank Sidebox Glitched?

I tried that but shopmania doesn't recognize the tracking cookie.

Like I said, they don't want their code edited.

Something in their code:

<a href="http://www.shopmania.com" title="Visit 24hrsatellites.com on ShopMania" onclick="target='_blank'; window.open('http://www.shopmania.com/?m=1204'); return false;" onkeypress="target='_blank'"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" style="border: 0;" alt="Visit 24hrsatellites.com on ShopMania" /></a>

And in the chat icon code:

<!-- Begin Volusion Live Chat --> <div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div> <script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=159603' ></script> <!-- End Volusion Live Chat -->

Something in both these codes screws with the sidebox and causes the pages to appear as white.

Next question would be, instead of:

<?php /** * blank sidebox definitions - text for inclusion in a new blank sidebox * * @package templateSystem * @copyright 2007 Kuroi Web Design * @copyright Portions Copyright 2003-2007 Zen Cart Development Team * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: blank_sidebox.php 2007-05-26 kuroi $ */ define('BOX_HEADING_BLANK_SIDEBOX', 'Shopmania Trusted Store'); define('TEXT_BLANK_SIDEBOX', '<div align="center"><a href="http://www.shopmania.com" title="Visit 24hrsatellites.com on ShopMania" onclick="target='_blank'; window.open('http://www.shopmania.com/?m=1204'); return false;" onkeypress="target='_blank'"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" style="border: 0;" alt="Visit 24hrsatellites.com on ShopMania" /></a></div>'); ?>

Could the code be hard coded in the file to bypass whatever causes this issue?

16 Oct 2008, 3:01 PM
#4
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Blank Sidebox Glitched?

Ok - I think I figured out it's an issue with the code inserted.

I have been reading, and with an issue like this, your supposed to make sure the apostrophes and quotations are commented.

Now that I am not the greatest with coding, I played with it and didn't quite get it to work, but the page does appear.

Anyone help me out with the proper editing of this code:

<a href="http://www.shopmania.com" title="Visit 24hrsatellites.com on ShopMania" onclick="target='_blank'; window.open('http://www.shopmania.com/?m=1204'); return false;" onkeypress="target='_blank'"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" style="border: 0;" alt="Visit 24hrsatellites.com on ShopMania" /></a>

If I figure it out, I'll let you know.

Thanks in advance.

16 Oct 2008, 3:09 PM
#5
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Blank Sidebox Glitched?

Ok - got it to appear now.
Had to comment the apostrophes.

<a href="http://www.shopmania.com" title="Visit 24hrsatellites.com on ShopMania" onclick="target=\'_blank\'; window.open(\'http://www.shopmania.com/?m=1204\'); return false;" onkeypress="target=\'_blank\'"><img src="http://www.shopmania.com/img/cert/shopmania-store-us.gif" style="border: 0;" alt="Visit 24hrsatellites.com on ShopMania" /></a>

Still not able to get validated, but I am going to have shopmania figure that out. Seems this happens on occasion.

Thanks for the suggestions.
Made me play around and figure it out.

28 Mar 2009, 4:45 AM
#6
laurahowes avatar

laurahowes

New Zenner

Join Date:
Jan 2008
Posts:
64
Plugin Contributions:
0

Re: Blank Sidebox Glitched?

:clap: THANK YOU!

28 Mar 2009, 1:47 PM
#7
breck avatar

breck

Zen Follower

Join Date:
Sep 2007
Posts:
106
Plugin Contributions:
0

Re: Blank Sidebox Glitched?

If you can't get your site validated, contact shopmania directly about the problem. They had to manually validate my sites and they are all online now.