Forums / Setup & design / Ability to edit article comments
Nathan Moke
Monday 27 June 2005 9:07:19 pm
I can't seem to find anything on this site regarding the above. Can anybody point me to some documentation/link as I would like to implement it on my site.
Nb. I tried using the <i>edit comments</i> script from the forums template, but it only allows me to edit the article itself, not the comments item (which is what I need). I suspect that it has something to do with defining the right node id - but thats just my newbie guess. All assistance, hints, tips, and/or encouragement greatly appreciated!
Ćukasz Serwatka
Monday 27 June 2005 11:25:57 pm
Hi Nathan,
Exacly, you need node_id of comment object set in hidden field. If you using "line" view for your comments, you have to add node_id in your edit form.
<input type="hidden" name="NodeID" value="{$node.node_id}" />
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog