Re: [SMARTY] problems with {} in html

From: Date: Wed, 18 Dec 2002 20:40:19 +0000
Subject: Re: [SMARTY] problems with {} in html
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6884@lists.php.net to get a copy of this message
I had this same problem, just wrap the offending html code around a pair of {literal}{/literal} tags and Smarty won't touch it. later, ajay On Tue, 2002-12-17 at 18:04, Milos Rasic wrote: > First, I'd like to thank everyone who helped me install smarty on lycos. > Thanks. > > Now, I have a problem. I used html code in one tpl file that uses {}. > More precisely, it is the line: > > <style fprolloverstyle>A:hover {color: #000080; font-weight: > bold}</style> > > It is used to give rollover effect to all links. However, smarty tries > to compile the code between {}, and of course fails. Is there some other > way to code this in html, or a way to code it in php or smarty?

« previous php.smarty.general (#6884) next »