Posted by arghnoname on 07/08/05 06:24
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:
> This code;
> {if "sitethumbs/thumbs/{$user.login}.jpg"|smarty_exists}
> something here
> {/if}
>
> 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
> {/if}
>
> I need to make the first one work somehow, any ideas? Thanks
[Back to original message]
|