smarty template help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
This code;
{if "sitethumbs/thumbs/.jpg"|smarty_exists}
something here

 gives me;
 Parse error: parse error, unexpected T_STRING in  
public_html/smarty/SmartyNoWrite.class.php(216) : eval()'d code on line 471

And this code works;
{if "sitethumbs/thumbs/name.jpg"|smarty_exists}
something here

I need to make the first one work somehow, any ideas? Thanks  

Re: smarty template help

Try taking off the nested {} tags. I'm not sure if you can get away with
doing that.

On Wed, 06 Jul 2005 18:12:34 +0000, JD wrote:

Quoted text here. Click to load it

Site Timeline