Using Rules with a Container Node? Design advice sought.

Events happening in the community are now at Drupal community events on www.drupal.org.
Ariesto's picture

Quesions:

  • Should I design a custom form or a "Node Container"?
  • Is there a way so that Rules can prevent the creation of the "Node Container" after submit? (I don't want the useless nodes)

My goal is to have a "Node Container" in which there is a list of set node types that a user can then select a node type and they are re-directed to the node/add form. The tricky part is that I want to carry-over the title and body field from the "Node Container" to whatever node type they select from the list. See the image attached for a clear example.

This most precise way for me to accomplish this is probably by designing a custom form instead of a "Node Container" but I'm not sure how well that will work with using Rules to prepopulate the fields, plus I have no experience making forms from scratch. But if people feel that is the way I should go, I'm willing to learn.

Also, in rules, there is a "content is going to be saved" option, which is close to what I want, but I don't want to actually have this "placeholder" node create a new node, just re-direct to the node/add form of the correct node with the "prepopulate" text.

AttachmentSize
example_node_container.JPG25.54 KB

Comments

puh, probably a custom

fago's picture

puh, probably a custom module is best for this. For prepopulate I think there is a "prepopulate" module.

i suppose a custom module can't be helped

Ariesto's picture

I'll read up on the prepopulate module, I've used it once before but not for something like this.

Out of curiousity, what does "puh" mean?

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: