Share » Forums » Developer » "top 10" template operator

"top 10" template operator

"top 10" template operator

Wednesday 22 February 2006 1:39:37 am - 4 replies

Author Message

Ł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)}

or


{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

Norman Leutner

Wednesday 22 February 2006 2:11:34 am

Thanks Lukasz,

it works fine now....

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Łukasz Serwatka

Wednesday 22 February 2006 2:23:40 am

Great :)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Norman Leutner

Wednesday 22 February 2006 2:57:07 am

I've added the operator to the contributions under:

http://ez.no/community/contribs/template_plugins/topauthors

maybe it's usefull for someone else...

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu