Jump to:
2864 Posts in 732 Topics by 700 members
Template Questions
SilverStripe Forums » Template Questions » how can use custom javascript file in silverstrip template
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 1532 Views |
-
how can use custom javascript file in silverstrip template

30 June 2009 at 1:36am
how can i add a custom javascript in sliverstrip template page.ss file.
or
can i add Inline javaScripts throw cms (texteditor)
plz help
-
Re: how can use custom javascript file in silverstrip template

3 July 2009 at 11:29pm
You can add javascript to the template with
<% require javascript(mysite/javascript/MyJavaScript.js) %>
| 1532 Views | ||
|
Page:
1
|
Go to Top |


