TinyPortal
Development => Support => Topic started by: microbone on November 16, 2007, 09:11:37 AM
Hey there
I´m new to php/tp and have a small question regarding <script src=""></script>!
If I want a functionality from this tag availible all over the site like forum...portal etc where do I have to put this tag then?
Best Regards
bone
index.template.php in your Theme's fiolder
sweet...thnx for the reply Dragooon!
Another question to this....
Reason for asking is that i´m getting a Template Parse Error!
page after placing the tag....
Where do i need to put the tag?
could i use it like this:
<script src="http://someweb.com/somescript.js"></script>
or do i have to format i like this:
<script language="JavaScript" type="text/javascript" src="http://someweb/somescript.js"></script>
Best Regards
bone
Your parse error is probably because you are breaking a php echo statement when you put the code in the template.
www.php.net/echo
Tnhx a lot for your reply....that did it :)