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.

All other Modules /

Discuss all other Modules here.

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

Java Script


Reply


3 Posts   792 Views

Avatar
The Bigman

Community Member, 2 Posts

9 May 2010 at 5:47am

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>

Avatar
UncleCheese

Forum Moderator, 4092 Posts

9 May 2010 at 6:32am

You can use Requirements::customScript();

Avatar
The Bigman

Community Member, 2 Posts

9 May 2010 at 6:36am

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