Hi!

I wonder how it is possible to pass arguments from a parent node.

So lets say, I have a parent node with a link to create a child node. So that means in my parent node I have a simple link
to create a node of content my content type foobar:

HOMEFOLDER/node/add/foobar

So this gets me where I can create a new node of type foobar. No big deal.

So what I am looking for is to pass an argument like:

HOMEFOLDER/node/add/foobar/mynewnodetitle

So again, this should get me to the create a new node of type foobar page, but with the node title hidden
and some PHP Pattern code should realize that there is an extra argument "mynewnodetitle" and directly use that string as
new node title.

Is that possible?

Comments

deviato’s picture

Category: support » feature

subscribe

SKAUGHT’s picture

perhaps you should review drupal_goto() and hook_menu. ...under which-ever drupal version you are running.

gaurav.kapoor’s picture

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