Hi, Can you help me please to put comments part of node on my custom theme. I mean comment form submit, load comment with its replies. Thank you.
Nobody know how to create comments part of theme in Drupal 7? Which is the right way to create comments part of custom theme? Please help me to do it and finish my custom theme. Thanks.
Really sorry but I can't understand what you're asking Try explaining it a bit more clearly, maybe? Are you just trying to theme your comments, or are comments not showing up on your node pages at all?
kiramanic, Thank you for you reply. So, I've created a theme with custom design and now I want to know how can I create the comment part of the theme. Here is an example page, which is a node page of my custom theme. In the bottom you can see the comment form. Now I want to know the code (or method) which will add the comment after submitting the form and then show that after approving. I think now everything is clear. Thank you again.
Hey, sorry I'm not too up on Drupal 7 myself and had to look it up, but it seems like print render($content['comments']); Code (markup): in your node.tpl.php file should output the comments.
Thank you very much again kiramanic, But it put its comments and form, how can I put mine - custom designed comments and form?
See now I'm confused again. If you need custom styling on your comments that's CSS, not theme structure. I've a feeling that I'm totally misunderstanding you so I'll back out and let someone else try and help! Edit: If you're actually trying to change the comment form in some way you probably want hook_form_alter()
kiramanic, Thank you very much again and again. Now I can't find how to remove "Subject" and "Homepage" fields from comment form.