Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » help with integration of script

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 856 Views
  • blackiss
    Avatar
    Community Member
    1 Post

    help with integration of script Link to this post

    hy

    i just need to integrate on my home page at least (prefferably in sidebar for space economy)
    the following script

    <script type="text/javascript">t_rid="urbanart";</script>
    <script type="text/javascript" src="http://storage.trafic.ro/js/trafic.js"
    ></script><noscript><a href="http://www.trafic.ro/top/?rid=urbanart"
    target="_blank"><img border="0" alt="trafic ranking"
    src="http://log.trafic.ro/cgi-bin/pl.dll?rid=urbanart"/></a>
    </noscript>

    and i just can't do that.

    can someone help me with this

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: help with integration of script Link to this post

    Currently, there is no "out of the box" method of doing so through the backend. It takes 5 minutes to solve it though :

    You have multiple options :
    1> Just stick it in your template
    2> Create a custom field , put the script in there and call it in the template

    Also see :
    http://www.silverstripe.com/site-builders-forum/flat/438
    http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/78033

    Good luck !

    856 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.