How to add and bind node in parent nodes add form in Drupal

I want to execute the following script in Drupal:

You have 2 types of content. Let's say this is an identity claim form and a type of content for people.

Then when you add a lysis to the "node / add" form in Drupal, I would like to add the relative number of persons that would be associated with this lysis, and only this lisa. Say you would like to apply for a licking and link 4 people to this licking and then start creating a case and then create 4 people and link them to a licking, I would like to do this "inline".

So when I add the lisence there will be a way to add 1 or more persons that will refer to the lisence node. Is this possible, and if so, how?

I have looked at the node reference module and it manages to reference a node to another, but not add them in line with another.

The Django framework for web development has a way to do this with what's called "inline editing", where you get content type fields inside another form of content type creation. There you bind their togheter with a ForeignKey.

Does anyone know something simulative in Drupal, if not, is this another way to achieve something simulative, would it be more user friendly?

+1


source to share


3 answers


I have looked into this and it seems impossible. I looked at the reference_create module and searched and posted stuff on drupal.org and no one has a good solution.



So I just rebuilt the whole thing in Django in about 3 hours; so tomorrow I'll try to convince my employer to go the Django way!

0


source


The Popups: Add and Reference module has been improved recently and I think it can do what you want to do.



+2


source


Try Node Relations , it will add edit / view / add buttons next to the reference field node and the modal appears. Make sure you check the module dependencies.

+1


source







All Articles