Re: How to handle javascript in templates?
| From: | Luc Saint-Elie | Date: | Sun, 08 Jul 2001 16:58:35 +0000 |
| Subject: | Re: How to handle javascript in templates? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1135@lists.php.net to get a copy of this message | ||
Hello,
Place around the javascript code :
{literal}
some beautifulk_funtion()
{/literal}
Have a look at :
http://www.phpinsider.com/php/code/Smarty/release_candidates/Smarty-1.4.4-RC1/docs/x651.htm#BUILTIN.FUNCTION.LITERAL
Luc
At 18:51 08/07/01 +0200, Stefano Baraldi wrote:
Hi. Sorry if this is a dumb question but: when i output smarty templates with javascript inside the { and } are seen as missing tags. Also, i would like my own missing tags to show up like normal text. How can i achieve this? Thank you Stefano --- You are currently subscribed to smarty as: luc@saint-elie.com To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/