Monday 24 January 2011 5:35:42 pm
I'm using ezfind fetch 'More like this' to grab related article. The code looks like:
{def $rel = fetch( 'ezfind', 'moreLikeThis', hash( 'query_type', 'nid',
'query', $node.node_id,
'limit', 5,
'class_id', array('article') )).SearchResult}
{if $rel}
<ul>
{foreach $rel as $item}
<li><a href={$item.url_alias|ezurl}>{$item.name}</a></li>
{/foreach}
</ul>
{/if} The list contains few actual links but the link to the current article also :( Anybody know how to remove current article from this list? (the limit should be the same, so I can't remove element directly from the array)
---------------------------------------
To Live Is To Die...
To Die Is To Wake...
|