reply to forum message

Author Message

Renato Rjavec

Wednesday 25 June 2003 6:36:07 am

When posting a forum reply, I would like to display the message which the reply goes to (as it is on this forum). I've tried to modify the demo's forumedit.tpl, but had no success yet. I'm using ezp 3.1b2.

Bård Farstad

Wednesday 25 June 2003 7:00:24 am

You can do something like:
Reply to:{$parent_node.name} {$parent_node.data_map.message.content|wash(xhtml)|nl2br}

--bård

Documentation: http://ez.no/doc

Renato Rjavec

Wednesday 25 June 2003 9:23:59 am

Sorry, but it doesn't work (copy-pasted). I've already tried to access $parent_node data by myself, but there was no output. I also unsucessfully tried to fetch the object by using $main_node_id variable (which is used in the template).

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.