Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

how can use custom javascript file in silverstrip template

Go to End

2 Posts   3003 Views


Community Member, 57 Posts

30 June 2009 at 1:36am

how can i add a custom javascript in sliverstrip template file.


can i add Inline javaScripts throw cms (texteditor)

plz help


Community Member, 165 Posts

3 July 2009 at 11:29pm

You can add javascript to the template with

<% require javascript(mysite/javascript/MyJavaScript.js) %>