Wednesday 09 April 2008 2:48:48 am - 2 replies
Bruce Morrison
Wednesday 09 April 2008 3:07:26 am
Try
{if $node.data_map.related_articles.has_content} <ul> {foreach $node.data_map.related_articles.content.relation_list as $related_article} <li><a href={$related_article.main_node.url_alias|ezurl}>{$related_ar.data_map.title.content}</a></li> {/foreach} {/if}
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Fabien Scantamburlo
Wednesday 09 April 2008 5:46:28 am
Thanks a lot, Bruce !
That's great.However, is it possible to "select" which node i want to relate ?
My problem is some articles are published in several locations, and the <i>main_node</i> is not always the good one.
Thanks,
Fab.
You must be logged in to post messages in this topic!