[jQuery] Using jQuery and Smarty

[jQuery] Using jQuery and Smarty

All you should have to do is set a var in your include statement.
{include file="header.tpl" $jqueryWhatever=1}
And then in your header, use:
{if isset($jqueryWhatever)}
<script>
{/if}
Then you can call each individual script on a per template basis.
-Marshall
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of Chris Scott
Sent: Wednesday, February 14, 2007 8:55 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Using jQuery and Smarty
Mike Alsup