Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Comodo Trustlogo javascript added to page.xml
 
M1_Rootform
Member
 
Total Posts:  46
Joined:  2008-04-17
 

Need help super bad. This is the last thing I need to do for my client.

I am brand new to Magento and just starting to try to acquaint myself with xml structure.

This is my problem:

I need to add this to the head of all my pages:

<script language="javascript" type="text/javascript">
//<![CDATA[
var cot_loc0=([removed].protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
[removed]ln('<scr' 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' '<\/scr' 'ipt>');
//]]>
</script>

and the following just before my </body> tag :

<a href="http://www.instantssl.com" id="comodoTL">Instant SSL Certificate</a>
<
script language="JavaScript" type="text/javascript">
COT("http://mysite.com/images/Corner-of-Trust.gif""SC2""none");
</script>

I think I may have added correctly to the head but not sure. I don’t have much time to solve this so any help is very much appreciated. Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
furnitureforyoultd
Enthusiast
 
Total Posts:  833
Joined:  2009-03-09
 

Try putting them in the design part instead of the xml

System > Configuration > (General) > Design

Put the first part in HTML Head Miscellaneous scripts & the second part in footer Miscellaneous HTML

 
Magento Community Magento Community
Magento Community
Magento Community
 
M1_Rootform
Member
 
Total Posts:  46
Joined:  2008-04-17
 

grin Thanks furnitureforyoultd! Logo is showing. I was unaware of that ability in config. I would like to and will learn more about manipulating the xml in the future, but time is money and I’m sure I’ll run into a problem that will require me to dig more into xml. I’d specifically like to know more about the action methods that are available. Thanks again for the reply.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top