Active
Project:
Node Form Template
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2010 at 15:14 UTC
Updated:
12 Aug 2010 at 15:45 UTC
Heya.
I'm using the nodecomment module so node form template works perfectly with it since comment is now a node/content type. But how do you print the nid of the current url where comment (as node type) is attached to?
<?php print $node->nid; ?> and <?php print $node_url ?> does not seem to work and even <?php print $title ?>. That makes sense anyway because the comment node has not been created yet.
Comments
Comment #1
halloffame commentedI need the parent node url or nid in the node-form template.