how to get some tags value in smarty?[solved]
Posted: Thu Mar 31, 2011 3:09 pm
hi all,
a example here:
it works ok, but here:
{assign var="image_url" value=
'/uploads/news/id'|cat:$entry->id|cat:'/'|cat:$entry->thumbnail}
{supersizer width='200' height='160' crop='left,top,50' path=$image_url strip_tags=true passthru=true}
how to get a the root_url value? I try $root_url and {root_url} in {} but no works.
a example here:
Code: Select all
<img src="{root_url}/uploads/news/id{$entry->id}/{$entry->thumbnail}" alt="{$entry->title}" width="75" height="75"/>
{assign var="image_url" value=

{supersizer width='200' height='160' crop='left,top,50' path=$image_url strip_tags=true passthru=true}
how to get a the root_url value? I try $root_url and {root_url} in {} but no works.