Forums / Setup & design / Link to forum, not message, on forum frontpage

Link to forum, not message, on forum frontpage

Author Message

Eivind Marienborg

Friday 23 July 2004 4:16:24 am

I have a folder with several forums, and beneath each forum I have a list of the 3 most recent posts to that forum, using

<ul>
    {let grandchildren=fetch('content',list,hash(parent_node_id,$Child:item.node_id,
                                                depth, 3,
                                                'sort_by',array("published", false()),
                                                limit, 3,
                                                ))}
    {section name=Grand loop=$:grandchildren}

<li><a href={$:item.url_alias|ezurl}>{$:item.object.data_map.name.content|wash}{$:item.name}</a> &nbsp;  - {$:item.object.published|l10n(datetime)}</li>
{/section}

</li>
</ul>

The problem is that this links directly to the message, and not to the message's place in the forum (like here on EZ.no, with #msgnr in the link). How can I do this?