[smarty][newbie] Best way to include a .js file ?
| From: | Julien LEMAIRE | Date: | Thu, 31 Jan 2002 10:01:04 +0000 |
| Subject: | [smarty][newbie] Best way to include a .js file ? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2627@lists.php.net to get a copy of this message | ||
Hi,
I am pretty new to templates systems in general and Smarty in
particular. I have 2 questions you will certainly find of no particular
interest :
1) Do you know a good tutorial on Smarty ?
2) I write in my .tpl file the following line
<script type='text/javascript' src='file.js'></script>
It does not work for me wherever I put the file.js
Where must I put it ? Is there a better way to include css and
javascript files ?