X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding security cert image...with java script in head. How? (https://forum.x-cart.com/showthread.php?t=5424)

KathyHS 12-02-2003 02:17 PM

Adding security cert image...with java script in head. How?
 
I use thawte for my security cert.

I am trying (unsucessfullly) to add the script to the head:

Code:

<SCRIPT LANGUAGE="JavaScript">
<!--
 function OpenCertDetails()
 {
thewindow =window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=XXXXXX', 'anew',config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}
// -->
</SCRIPT>


And then in the body, left hand side of the store pages, underneath HELP section, I need to add the image:

[img]PATH_TO_STATIC_IMAGE.gif[/img]

I tried to add the javascript to the template in customers folder...where I found the <head> </head> info but this only caused an error that was something about smarty.

How can I do this? Thanks in advance!

shan 12-02-2003 05:47 PM

you need to wrap java in {literal}{/literal} tags

KathyHS 12-02-2003 07:03 PM

Thank you! I then added the image to the "powered by" template as it was an easy fit. ;)

Thanks bunches!


All times are GMT -8. The time now is 12:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.