Hi all,
I need to include comments of the news of my digital newspaper. I've enabled comment module for that purpose. I use personalized templates (.tpl.php) to draw my news. I've seen in the node.tpl.php template that there is a variable called $links where I can draw a link to permit "Add new comment".
But ... what's is the variable in the node.tpl.php template to draw a published comment. Is it included in the $content variable of the node?
For other side, I'd like that Anonymous user can publish their comments. I only must to specify it in the Permission section of User module in Administer Settings? What username can typewrite an anonymous user who wish to publish a comment?
Thank for your help and sorry for my english.
Álvaro.
Comments
up
up
Have you enabled comments
Have you enabled comments for the content type? Administer > Content Types > (your content type) > Comment Settings > Set "default comment setting" to Read/Write
If you have comments enabled for that node type, they should show up by themselves.
Ok ... So u mean that they
Ok ... So u mean that they should show up in the $content variable of my template?. If comments are enable, when I use the $content variable of my node.tpl.php template, the body of the node and his comments asocciated are in the $content variable, is it correct?
Regards,
Álvaro