Wednesday 10 September 2003 9:29:40 am
I'm drawing a blank with this one... I want to use related content to generate links in alphabetic sequence, but because these values are contained within an array in a single node, I can't see any way of using fetch to sort them for me. Here's the loop I'm using to output the links, without any formatting elements:
{let Linkholder=fetch(content,node,hash(node_id,496))}
{section loop=$Linkholder.object.related_contentobject_array}
{content_view_gui view=text_linked content_object=$:item}
{/section} {/let} This works fine, except the array appears to be sorted by node obect order, where I really want to sort in alphabetical sequence on the names of the related objects. Has anyone got any suggestions please?
Language is a virus - William S Burroughs
|