Can I use pageroute to populate a node reference id?

benjah - October 23, 2009 - 02:03
Project:Pageroute
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am working on an event site.
You create an event node (required), add a venue (node reference id)(optional), and add presenter (node reference ids)(optional).

I have installed pageroute but need to figure out how to pass variables from one section to the next to populate the node reference id.
With venues and presenters, we need to select an existing venue/performer node or add a new one.
I have this working great using the "Multistep" module" and the "Popups: Add and Reference" module.

Unfortunately, I need this to work on cell phone browsers which don't support ajax.
Ideally, I would like to be able to search for an existing node (based on node title) and use that nid *without* ajax.

Any help would be really, really appreciated.

Thanks,
Ben

#1

sgilits - October 24, 2009 - 10:28

With pageroute you can make wizards for creating and editing nodes(somehow like an installer on windows). You can't pass variables from one section to the next, only nodes are passed to next(or previous) forms. So I don't think its what you're looking for.

#2

benjah - October 25, 2009 - 03:18

Thanks for your quick and detailed response.

Actually node object info is what I need.
After a dump of the objects it looks like the newly created nid of the event (parent node) is available.
I will try use this to insert the node reference id in the parent node if new children (locations/performers) are created or selected.
I am leaving this open in the hopes that I can. If so, I will update it here.

Incidentally, surge_martin made a similar test module for drupal 5. Unfortunately, I was unable to adapt it to 6.

http://drupal.org/node/239099

Thanks so much for maintaining the module.

 
 

Drupal is a registered trademark of Dries Buytaert.