You are here: Re: smarty template help « PHP Programming Language « IT news, forums, messages
Re: smarty template help

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация