Hello,

I'm a newbie on Drupal and I'm building my first site with it.
I've created a form to create some content (nodes). Now, I want to create a link (by theming the node) that redirects to a new form (and, of course, link theses nodes together). I've tried to transmit the node-id using args in URL and putting a piece of php code in default value of a CCK field text but it doesn't work. The token %get[arg] doesn't work too.

So, what is the best way to do this kind of things ?

Thank you for your help.

Regards,
jem500

P.S. : sorry for my poor english. Some posts here we'll help me to improve it.

Comments

nevets’s picture

If your content types use the Content Construction Kit (CCK), the type you are trying to create can use a Node Reference field and Node Reference URL Widget

jem500’s picture

I'll try this quickly and send you a feedback

antoniotorres’s picture

You should checkout nodereference along with nodereference url widget

http://drupal.org/project/cck
http://drupal.org/project/nodereference_url

jem500’s picture

That seems to be the right way.

I'm going to try this.

jem500’s picture

Thanks a lot !!