17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 774 Views |
-
help with integration of script

8 September 2008 at 9:14pm
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
-
Re: help with integration of script

8 September 2008 at 11:08pm
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 templateAlso see :
http://www.silverstripe.com/site-builders-forum/flat/438
http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/78033Good luck !
| 774 Views | ||
|
Page:
1
|
Go to Top |


