I have created a view (using views 2) with type = comment (displaying comments). Now i can display comment author, comment post date fields, but i can't create a node title field which belongs to comment.

Tried using views customfield, but $data variable isn't allowed here, only $comment variable. Please throw me in a right directions, thanks.

1 Answer 1


Try setting up a new Relationship within the View.

  1. Add a new relationship to "The node the comment is a reply to."
  2. Check box that "requires this relationship"
  3. You should now be able to add a new field for the node titleenter image description here
  • Thanks! saved my time :) Also do you know how to make that node title as link to comment anchor? Sep 17, 2012 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.