Re: problems with {} in html

From: Date: Wed, 18 Dec 2002 05:04:58 +0000
Subject: Re: problems with {} in html
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6863@lists.php.net to get a copy of this message
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?
You can also wrap your STYLE and SCRIPT tags with {literal}{/literal} and it will ignore all {}

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