Jimneville Posted December 5, 2013 Share Posted December 5, 2013 (edited) I would like to insert a video spokesperson into my 1.5.6.0 default theme webstore homepage at http://freedomsurvivalgear.com The code I need to insert is this: <script id="my_vsp" src="http://code.tweople.com/802"></script> I have tried placing it in several locations in header.tpl and footer.tpl but could not get it to work. Any ideas on where I should insert it? Thanks, Edited December 5, 2013 by Jimneville (see edit history) Link to comment Share on other sites More sharing options...
Jimneville Posted December 5, 2013 Author Share Posted December 5, 2013 Correction, PS version is 1.5.6.0 Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 5, 2013 Share Posted December 5, 2013 Try putting it between literal tags {literal}<script id="my_vsp" src="http://code.tweople.com/802"></script>{/literal} Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 5, 2013 Share Posted December 5, 2013 (edited) But are you sure this is all you need? I think there must be more code needed no? Edited December 5, 2013 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
Jimneville Posted December 5, 2013 Author Share Posted December 5, 2013 Thanks Bill, that got it working once I put in in the footer.tpl . Problem now is that it plays everytime one goes to another page, when I really want it to play only once for the home page only. I'm checking with the video supplier to see if that can be controlled via their settings. Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 6, 2013 Share Posted December 6, 2013 (edited) Take a look at this module, it will let you add a script and assign it to the home page footer only. It is free. http://mypresta.eu/modules/front-office-features/html-box.html Edited December 6, 2013 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
Jimneville Posted December 6, 2013 Author Share Posted December 6, 2013 Thanks Bill, Since I already had a random HTML box on my home page, I put the code in there and all now works perfectly. 1 Link to comment Share on other sites More sharing options...
Recommended Posts