[development] Node referencing

Bèr Kessels ber at webschuur.com
Wed Nov 16 17:53:19 UTC 2005


Clipper module has an add child link; to add a relation to teh node you are 
looking at.


Op woensdag 16 november 2005 16:11, schreef Earl Dunovant:
> You just need to get the nid of the main node into the creation of the
> subordinate node typoes. How about using a query string to specify the
> parent, like
>
> node/add/B?mainnode=(nid of A)
>
> or maybe
>
> node/add/B/(nid of A)
>
> Populate the new field in hook_form(). You can even choose to show an input
> control for the field if it's not specified
 Bèr
-- 
 [ Bèr Kessels | Drupal services www.webschuur.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20051116/625154a6/attachment.pgp


More information about the development mailing list