Zen Cart Logo
Forums / General Questions / How to add a link to side box ?

How to add a link to side box ?

Locked

Views: 1,129

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
1 Jan 2008, 12:00 AM
#1
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

How to add a link to side box ?

Hello

I have ssl seal displayed on my site. as it was pointed by one of the member .. this ssl seal works using java script and if java script is disabled , page visitor wont see it .
I got the static seal from godaddy which they have provided to me as link starting with <a> tag. .

I was wondering how can i add that to my side box ?
I don't know proper php coding .

thanks.

PS: im using blank_sidebox module for this reason . link should be added after
$content .=

1 Jan 2008, 12:20 AM
#2
website_rob avatar

website_rob

Inactive

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

Re: How to add a link to side box ?

Always a good idea to provide some Text for people with JS turned off; which is more common than people think.

After your closing </a> you would add the following:

</a> <noscript><p>Enter some readable Text here. You can also provide a regular link such as <a href="http://siteseal.com/your_account">Our SSL Certificate Guarantee</a>.</p></noscript>

The learning is in the doing.

Potent Products

1 Jan 2008, 1:00 AM
#3
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: How to add a link to side box ?

Thanks.

my problem is adding the link to the side box.. I don't know how to fix error that gets generated. i think it has something to do with use of ( ' ) or ( " ) in php..

i can provide the link that was sent to me by godaddy , if that would help .

thanks.

1 Jan 2008, 2:03 AM
#4
website_rob avatar

website_rob

Inactive

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

Re: How to add a link to side box ?

Wasn't aware you were getting an error msg.? Would need more details.

As to adding in your code, just following the instructions.

> includes/templates/templates_default/sideboxes/tpl_blank_sidebox.php

Open file. Find where it says:

<!-- EDIT BELOW THIS LINE -->

<a copy & paste your godaddy JS link
</a>
<noscript><p>Enter some readable Text here. You can also provide a regular link such as <a href="http://siteseal.com/your_account">Our SSL Certificate Guarantee</a>.</p></noscript>

<!-- EDIT ABOVE THIS LINE -->

The learning is in the doing.

Potent Products

1 Jan 2008, 3:39 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: How to add a link to side box ?

Thanks.
no matter what i do , i get php error regarding some string ..
I need to add my link after this variable in tpl_blank_sidebox..

$content .=

but i have no idea how do that since what ever i do , error show in my page.

the link i got from godaddy is as follow.
if you can add that to $content .= I would greatly appreciate it .

here is the link i got

<a href="#" onClick="window.open('http://www.starfieldtech.com/secured_by.htm', '', 'width=600,height=550,scrollbars=yes,resizable=no'); return false;"><img src="https://imagesak.godaddy.com/aaa/ssl/img_turbossl.gif" border="0" alt="WEB SITE VERIFIED - STARFIELD SECURE" onMouseOver="window.status='WEB SITE VERIFIED - STARFIELD SECURE'; return true;" onMouseOut="window.status=''"></a>