If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Sideboxes / Editable Sidebox Question

Editable Sidebox Question

Locked

Started by maynards on 6 May 2010, 1:30 PM · Views: 1,471

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
6 May 2010, 1:30 PM
#1
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Editable Sidebox Question

I added a Editable Sidebox and was wondering if anyone can tell me where is the file so I add the hyper link text of my facebook page to so the facebook button works properly.
I tried using the facebook addon but could not get it to work so I thought I would try this route. You can see what I am referring to by viewing my site at: https://www.maynardstackle.com

6 May 2010, 3:27 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Editable Sidebox Question

It's adding your site's URL to the Facebook URL. Maybe something about the Editable Sidebox. I used the Blank Sidebox mod to do the same thing, and it worked fine.

6 May 2010, 3:31 PM
#3
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Editable Sidebox Question

Thanks steve I will give that a try.

6 May 2010, 3:39 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Editable Sidebox Question

My includes/languages/english/extra_definitions/MYTEMPLATE/blank_sidebox_defines.php looks like this:

<?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_LOGO2_SIDEBOX', ''); define('TEXT_LOGO2_SIDEBOX', '<a href="http://www.facebook.com/pages/Chief-Okemos-Sportsmans-Club/310761025377"><img src="includes/templates/cosc/images/facebook.gif"></img></a>'); ?>

I made my own image for the sidebox.

6 May 2010, 4:13 PM
#5
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Editable Sidebox Question

Not Working. I copied your code and edited my info in that file but I still having the same problem. :frusty:

6 May 2010, 4:34 PM
#6
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Editable Sidebox Question

It's still adding my site's URL to the Facebook URL using the blank sidebox addon. Any other ideas would be appreciated.

7 May 2010, 11:00 AM
#7
stevesh avatar

stevesh

Black Belt

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

Re: Editable Sidebox Question

When I view your source, (in IE, anyway) I'm seeing a strange character at the beginning of your URL in that sidebox define:

<a href=”http: //www.facebook.com/pages/Winsted (Which the forum software stripped out - it's a little box right before the http)

I don't know what it is.

If you're pasting that from somewhere, try entering the address manually instead..

7 May 2010, 1:13 PM
#8
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Editable Sidebox Question

That was it. Thanks Stevesh :clap:
I replace that crazy character with a quotation mark and it worked.
For some reason though and I don't know why, I had to put the same link in my template, tpl file also.
Just another thought about a outside link. Is there a way that when someone would click on this that it would open a new window.(although it is not important)

7 May 2010, 1:16 PM
#9
stevesh avatar

stevesh

Black Belt

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

Re: Editable Sidebox Question

<a href= "XXXXXXXXXXX" target="blank">B] will open the page in a new window or tab.

7 May 2010, 1:27 PM
#10
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Editable Sidebox Question

Worked Great, Just what I wanted. Very much appreciated.