How to combine two content types created with resulting those multiple contents created individually from the same submission?
is there a hack or module for such function?
example usage case;
VENUE is a content type
FILM is a content type
and CCK nodereference field relating both on the same submit form
so for a screening view user submits both on the same page instead of submitting them separate forms than try to link them afterwards
submit content
--------------------
VENUE (a content type) > screening (CCK .nodereference) > FILM (a content type)
--------------------
[submit]
so, the results of viewing a FILM refer to the VENUE
verso versa
viewing the a VENUE will present all the films screened on that VENUE
whole point is to achieve it with only 1 submission
anyone had similar usage cases and solution, hack, tips and modules to achieve such?
thanks for any help in advance
Comments
This is definitely possible,
This is definitely possible, using code... the Forms API is a detailed topic so I won't go over it, but take a look:
http://drupal.org/node/204266
This is not a hack, it's just a custom module that you'll have to build.
I am not sure if there's a module that does this already, however I do doubt it.
__________________________________________________________
Mark Theunissen
Code Baboon
Drupal based services
Try Workflow-ng
I think workflow-ng is what your are looking for: http://drupal.org/project/workflow_ng
More info: http://drupal.org/node/156282
If you need help try to make a question on this group: http://groups.drupal.org/workflow
thanks...must be some kind of forms builder -i think
thanks mark and jmesam for the pointers, i have not used workflow_ng but, example does not seem requires a workflow its more of a case for and form building, maybe the nodereference.module case is can be achived with the workflow, though i am not sure about it.
its a cookbook, a how to question might help other Drupal users similar cases. we have eggs we have flour and lemon and the oven what is the recipe for 'jello lemon cake' what other ingredients you need etc.
would be a good idea that Drupal handbooks or Drupal printed books had section called 'cookbook' real life examples
There is a similar section,
There is a similar section, called "snippets" for themes and PHP code, and HowTos for modules:
http://drupal.org/node/22573
__________________________________________________________
Mark Theunissen
Code Baboon
Drupal based services
afaik- no relevant snippets
i've checked the snippets but -afaik there is not relevant snippet example, still searchin'...
webform module builds forms but does not do it with existing for content forms
http://drupal.org/project/webform
elements module's scope seems to fit but i am not sure, though i submitted a feature request as the module developer open suggestions for other form 'elements'
http://drupal.org/project/elements
i am sure a solution would be useful (possibly exist) for many cases; people, groups, books, libraries, events or any kind of 2 or more related content needed to submitted similtaniously