Forums / Developer / tipafriend_top_list not working
Jack Rackham
Sunday 24 October 2004 10:13:48 am
This code is not working in a pagelayout template in ez 3.4.2Is there a bug in 3.4.2?
{let tipsend_list=fetch('content','tipafriend_top_list',hash(limit,5,offset,0))} <div id="mostpopular"> <h3>{""|i18n("design/news/layout")}</h3> <ul> {section var=tipped loop=$tipsend_list sequence=array(bglight,bgdark)} <li class="{$tipped.sequence}"> <a href={$tipped.item.url_alias|ezurl}>{$tipped.item.name|wash}</a> <div class="date"> ({$tipped.item.object.published|l10n( shortdate )}) </div> </li> {/section} </ul> </div> {/let}
Ćukasz Serwatka
Sunday 24 October 2004 11:11:09 am
Did you try this?
{$tipsend_list|attribute(show)}
Does $tipsend_list store any data?
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog