Jump to:

10850 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Java Script

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 741 Views
  • The Bigman
    Avatar
    Community Member
    2 Posts

    Java Script Link to this post

    Hi
    Is it possible to insert a bit of java script into a page ie Thanks

    <div id="lrep1985667" style="width: 350px;">Data loading....<a href="http://unofficialsiha.leaguerepublic.com/Index.do?divisionseason=6381018">click here for Under 12</a><br/><br/><a href="http://www.leaguerepublic.com">LeagueRepublic</a></div>
    <script language="javascript" type="text/javascript">
    var lrcode = '1985667'
    </script>
    <script language="Javascript" type="text/javascript" src="http://api.leaguerepublic.com/client/api/cs1.js"></script>

  • UncleCheese
    Avatar
    4085 Posts

    Re: Java Script Link to this post

    You can use Requirements::customScript();

  • The Bigman
    Avatar
    Community Member
    2 Posts

    Re: Java Script Link to this post

    Thanks
    Just stumbled on this CMS today and having a look around. I have a sports site with league tables etc so will see how it goes.
    Thanks

    PS can you import users from another forum script ie kunena.

    Thanks again

    741 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.