Forums / Developer / "top 10" template operator / Comment45389
Łukasz Serwatka
Wednesday 22 February 2006 1:49:52 am
Try with
<hr/> {def $topten = topauthors('16','10')} <hr/> {$topten|attribute(show)}
or
<hr/> {def $topten=''} {set $topten = topauthors('16','10')} <hr/> {$topten|attribute(show)}
{topauthors('16','10')|attribute}
Problem is with {set} which assigns value to not defined variable.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog