This tag should be used for questions about node comments.

learn more… | top users | synonyms (1)

0
votes
0answers
18 views

Targeting a specific set of nodes dynamically with a preprocess function

when I got to administer comments on my site, I click 'find content' > comments. If I want to moderate comments I click 'unpublished comments'. That shows me which comments needs to be published by an ...
0
votes
3answers
18 views

How do I remove comments from an existing webform?

After the fact, I learned how to make comments <hidden> by default for new webforms. However, for the forms I've already created, there is no option to remove comments. How do I remove comments ...
1
vote
0answers
9 views

Users rate and comment each other after an event?

I'm working on a project where users trade services (like AirBNB or Uber). I'm a bit stuck at the stage when the task is done and the two users have to rate each other. I have ratings sorted using ...
1
vote
2answers
15 views

Adding help text to drupal comment form

using Drupal 7, I'd like to add some help text underneath each field for the user who is filling out the comment for a node. For example, under 'your name' I'd like it to say, possibly in smaller ...
0
votes
0answers
21 views

How to change specific comment view mode for specific node view mode?

I have one content type "xyz" in that i have created a few custom view mode for "node manage display" as well as "comment manage display". I don't know how to attach specific node view mode to ...
3
votes
2answers
200 views

How to remove the word “New” for the new comments

When I add a new comment, the word "New" is printed at the top: I don't need it. This word can be removed by editing the file /modules/comment/comment.tpl.php: //remove these 3 lines, and the word ...
0
votes
1answer
22 views

Bypass comment validation for SOME anonymous users, based on the provided email address?

In the case of a low traffic blog (for instance), that only accepts anonymous comments (no user registration) and manually validates them before publishing them, would it be possible to have a sort of ...
0
votes
2answers
25 views

Why drupal need hidden option in comment settings of content types?

In content type setting in drupal, we have tab comment setting .The comment setting on future content of this type will default to: Hidden: No comments are allowed, and past comments are hidden. ...
0
votes
0answers
13 views

How to remove unnecessary information inside comments for support tickets

I've installed Support module. And setup comments for it. Everything works fine, but comment contains a lot of unnecessary information: I looked into comment section of Support ticket content type. ...
4
votes
1answer
67 views

Question about part of Comment.module

The following is part of the comment.module file (line 950): // Add indentation div or close open divs as needed. if ($is_threaded) { $prefix .= $comment->divs <= 0 ? ...
1
vote
1answer
11 views

Comments and Testimonials on Profile 2 Profiles

Is there a way of enabling either comments or a guestbook/testimonial functionality on Profile 2 Profiles? I've read discussions on here about implementing on User Account Pages but not for the ...
0
votes
1answer
19 views

What are “Text format” option in standard Drupal?

I would like to know if in Standard Drupal, the comment form allows you to select a text format such as "Full HTML", "Plain Text" and "Filtered HTML" when commenting or even posting an article? I ...
0
votes
1answer
21 views

Publish or Un publish any comment

How to give moderator a right to publish or unpublish/edit any comment , not just own comment or comment on own content without giving "Administer comments and comment settings" Permission, by giving ...
0
votes
1answer
15 views

How can hook some code before deleting a comment?

How can I add few lines of code before comments get deleted. there must be some hook or something by which we can do this. I am getting nothing relevant by Googling. Any help appreciated.
0
votes
2answers
23 views

How to give access to delete his own comments

I am using Drupal 7 and want user should be able to delete his own comment. I know that is it not supported by drupal 7 due to threading. You can provide edit permission from ...
0
votes
1answer
33 views

How to edit the Comment Administration Page

I've already edited my comment and comment-wrapper.tpl.php files for public consumption. But I'm finding I'd like to edit the administration page where our staff administers comments that are pending ...
1
vote
5answers
30 views

Display Comment Form in Sidebar

I'm relatively new to Drupal and I'm working on a page that needs comment functionality for non-authenticated users. I tried some various forms (Webform, EntityForm) but they just seemed like way too ...
0
votes
1answer
15 views

Choosing which comments field to display when published

I'm using the basic comment module to allow users to leave comments (name, phone, email, comment, and rating) on each resource for that specific comment type. One of the fields is an option to allow ...
0
votes
1answer
16 views

One time change field + personal comments

I'm not very familiar with all the modules for Drupal. Therefore, let me try to explain what I'm looking for. 1) The users shall be able to create nodes with some specific fields. Some of those ...
0
votes
1answer
15 views

How to export comment fields (or other settings) with Features?

If I export a content type that has fields specified in the comment of the content type the fields of the comment are not exported. How do I export those fields that I specified in the comment? (In ...
0
votes
0answers
14 views

How do I display comments for specific nodes in Views?

I'm trying to create a view that displays all comments left for story pages and chapter pages. The thing is this page must display all comments from all chapters that are referencing a specific story. ...
0
votes
0answers
18 views

Threaded comments order problem

While working with Drupal 7 we've got a problem, I'm not sure if it's a known bug or our personal issue. Anyway, I couldn't find such an issue while searching. The issue is actually about order of ...
0
votes
1answer
9 views

Contrib Module JavaScript interfering with Node

If one has a contrib module that works fine in most cases, but on a specific page (say /comment/comment) you wish it NOT to appear, but the options in Config don't give you that ability...what's the ...
2
votes
1answer
84 views

One click close comments

My site editors want a quick way to close comments on a particular node, i.e. they just want to click a button on an item, rather than having to click edit, then select the comment settings tab, then ...
1
vote
1answer
27 views

How to not show a comments field if user logged in

I have a field called 'email' I added to my node comments form. However I don't want this to display to users who are logged in. What's the best way to hide this field for logged in users? I created ...
0
votes
2answers
17 views

Editing the template for Comments editing page

I've got my comments for my nodes looking good ON the node. However, as an admin, or using the permalink, if you go to the actual comment page (/comment/comment#) it looks funky. I'd like to format it ...
2
votes
1answer
28 views

Drupal 7 Comments Alternating Row Colors

I'm interested in making the comments that appear on my resource content type nodes show with alternating background colors. Anyone know how to make this happen? I tried something like this with CSS ...
0
votes
0answers
14 views

Restrict access of (an) individual comment(s) to (a) certain user(s)

So, there are a lot of modules (and Drupal-Answers posts discussing them) to restrict access of certain node types / individual nodes to individual users, and it can be a pretty hard task to know ...
0
votes
1answer
33 views

How to have on-page comments in Drupal 7?

Currently, if you enable threaded comments on Drupal, the user has the ability to click on "reply". This takes the user to another page where they can write the comment. I want this functionality to ...
1
vote
1answer
28 views

Comment ID in Comment field

I've added a custom static field to comments. This static field is custom php code but I need to access the specific comment ID using php code in it. So how can I get the comment ID for every comment ...
0
votes
1answer
51 views

Change Log in or register to post comments for content type

We are using the comments for a particular content type to post reviews for that content type. I have searched the web but can't find a proper solution how to change the text "Log in or Register to ...
0
votes
0answers
13 views

Need to show add comments form above the comments in panelizer?

I am using Panelizer to show the layout of content types. Now I want a single block for comments and add comment form. Is there some way this is possible without any custom coding?
0
votes
1answer
23 views

comment pager not showing in bootsrap theme

I create a new theme based on Bootsrap and the below template files, I limit show comment on every page on 50 comment in edit of content type in comment section, I have 126 comment in one of my node ...
0
votes
2answers
43 views

add user profiles fields into comment fields

I'd like when a user comments, to display his information. Let's assume I do have in my user profile 2 fields, Job title and Biography. When a user comments, I would like to get those 2 fields and ...
0
votes
0answers
8 views

can i change the value of comment settings in Drupal 6?

I have a default value of comment settings as 'read-write' but i want to set it to disable. I change this in administer >> content >> content types. But when i wanna create a node, the bloc of comment ...
0
votes
0answers
24 views

Drupal form URL redirect parameter failing on redirect to view

I'm trying to redirect a comment form to a URL other than the node where the comment was posted. If I redirect to a node or a static view URL it works correctly: Comment URL: ...
0
votes
1answer
21 views

How to display entire comments in separate page

I know we can display reply form in separate page. But now I having the requirement of displaying entire comments and reply form in separate page. Is there have any way to display those in separate ...
0
votes
0answers
11 views

Services: add uuid pid on comments

I'm migrating contents from drupal to drupal with services module (and services_uuid). I'm using UUIDs to matching every entity, but when I retrive a comment, services returns me only the id of the ...
0
votes
1answer
41 views

How to print the raw value of a custom user field in comments

I want to print a custom user field of the commenters. It is an Link field (https://www.drupal.org/project/link). Some users have that field completed and other not. I've read a lot of posts related ...
-1
votes
1answer
22 views

How to delete duplicate comments using sql?

In order to clean up an old large site from spam, I'd like to delete all duplicate comments from mysql. By duplicate I mean, the comments which are posted by the same user across all nodes of a ...
0
votes
1answer
7 views

Hide comments on a node type for standard users

I'm using the 'comment permissions' module to restrict standard 'authenticated' users from commenting on a particular node type. However I do not want them to bee able to see comments on that node ...
0
votes
0answers
17 views

how to comment for both answers and question in Question/Answer module?

I am using the Question / Answer module. However, it can not be attached to Answer it is possible to attach the comment only Question. I think Answer also I want to put a comment. How would it?
0
votes
1answer
52 views

How can I change URL of 'Add new comment' link on teaser?

Currently, I have a list of teasers and they have a comment count and an 'Add new comment' link. That link goes to a dedicated comment page with a URL of the form "/comment/reply/19#comment-form". ...
0
votes
0answers
13 views

Multi-lingual comments translation only appears on source language post

I am seeking a patch for Drupal commons to fix an issue with comments to a post not appearing on the translated post as a thread. So, in simple terms, on the original language post all comments ...
0
votes
0answers
6 views

Is it possible to use the administration theme, when editing comments? [duplicate]

I would like to show the edit form of comments within the administration theme. Is there a way to do this without using "theme key" or the "context" module?
3
votes
3answers
130 views

How to create a view block for comments with nesting and parent relationship

I'm trying to display the comments on my nodes in a view rather than using drupals default comments rendering. Is it possible to display a comment view on a node, which also renders the comments with ...
0
votes
1answer
26 views

Comment reply form not working?

When I click 'reply' button on the comment, a new comment form open in new Windows; but subject box does not contain 're:' or like that and my reply saves as a new comment. How can I repair my ...
0
votes
0answers
23 views

how to hide fields on answer to a comment?

How can I filter, if a comment is a new comment or is an answer to another comment. As far as I can see, it is always the same form-id. In other words: I added some voting fields to comments. Now I ...
0
votes
0answers
61 views

Missing bundle property on entity of type node [duplicate]

This issue happens when a user is on my comment page and selects save without adding any information. I've narrowed it down to my node--editorial.tpl.php page. when i comment everything o ut on this ...
0
votes
0answers
7 views

display non published comments with special test and condition

How can i modify in the loop of displaying the comments in drupal 7 foreach (....) { if ($comment->stauts == 0 && $comment->condition ==1){ // Display comment with new class } } ...