I created a view, which shows me the content of a node, which ones CCK data field = current month. Let's call it: example/current
And now I would like to be able to show also the comments and the comment form on this page, which relate to the currently shown node. I found the module comment block, which allowes to show comments in a block, taking as the argument the NID from the URL. Since my view example/current doesn't have the NID in the URL (and I want this URL to stay permanent, because I want to link to it from menu), I'm looking for another way to get the NID of the shown node.

I imagined, I could somehow write the same query, which creates this example/current view (issue=current month, show only 1 node, sort by updated data asc etc., which always results in showing one particular node) and in that way get the NID of the result to pass as argument for the comment block. But I don't know, how to write it. Or maybe there is another way to solve my problem?

Do you have any ideas?

Comments

Mindy’s picture