By GabiAPF on
I need to add a new form right above the comment form (the form for users to post comments), and below the list of comments.
If I override the comment_form template, I get nested forms which don't work on all browsers.
I tried to override the comment_wrapper template, but I haven't found good documentation on this and so far all my attempts have been futile, as it receives the whole string of HTML (list of comments+comment form) as its input rather than an array or something I can easily manipulate.
Could anyone help me, please?
Thanks in advance.
Comments
Nevermind
I've found a solution by overriding the box template instead.
Hi Gabi, I'm basically
Hi Gabi,
I'm basically looking for the same - found out about some rewrite - but it places the text between the box title ("add a comment") and the actual box/form..
I would instead love to see my text between the last comment and the box title ("add a comment").. - ..help..?
..thanks!! ..greetz! till..
___________________________
my pictures: www.bilderbook.org
___________________________
You can try including this
You can try including this code in the file box.tpl.php:
FYI, box.tpl.php is used in
FYI, box.tpl.php is used in many places, not just for comment forms. Better way would be to override the comment form and add it through there.
Something like that.
edit: oops, tille already mentioned this. :)
⎋ joon park