21311 Posts in 5739 Topics by 2604 members
General Questions
SilverStripe Forums » General Questions » Adding Requirements::javascript to page.php (editing problem)
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 271 Views |
-
Adding Requirements::javascript to page.php (editing problem)

28 January 2012 at 12:24pm
Hi everyone
I need to use javascript on silverstripe the. the code is as follows
<script src="http://static.supplier.com/api/badge/js/21323-9" type="text/javascript"></script>
Looking through documentation it looks like I should be able to just add Requirements::javascript to mysite/code/page.php however when i open this file in note pad it has little squares subdividing text which I cannot reproduce on key board. Can anyone tell me what these are and how I put new one in after adding Requirements::javascript?
Thanks
| 271 Views | ||
|
Page:
1
|
Go to Top |

