Hi all,

I am using token module to auto generate node titles for node comments (http://drupal.org/project/nodecomment). So one node comment can be a reply to another node in node_comments_threaded view. I am unsuccessfully trying to construct php pattern that would generate auto title in the following way:

title of the first node comment
body of the first comment

re: title of the first node comment
body of the reply to the first comment

Comments

yngens’s picture

When I press 'Reply' link under the node comment, it opens comment submission form in a window with the following URL:

http://www.mysite.com/node/add/comment/44/65

Where 44 is the nid of the top root node, which I am not interested in. But the second parameter 65 is the nid of the comment to which I am replying. So I guess it is possible to take this nid (65), derivate its title, apply 're:' prefix string to it and generate needed title. But I am not a coder, so I am having difficulty in how to generate title of the node comment to which I am replying.

Any help would be appreciated.

manish-31’s picture

Issue summary: View changes
Status: Active » Closed (outdated)