I find the Modal Nodereference extremely helpful.
I recently needed to add an 'edit' link to each node reference filed to be also able to edit each node in a modal frame.

The attached patch is a first attempt to get that done.

Here are things that still need work:
- Add an edit link once a new node is created (at the moment, you have to save the parent node bofore the edit links appear)
- Fix a bug I'm getting with the titles; it seems that the title of the nodes is not being sent correctly to the field once a child node is saved (it might be a conflict with the "Automatic Nodetitles" module I'm using)

Comments

semiaddict’s picture

StatusFileSize
new2.04 KB

Ouups, it seems the attachment didn't go through.... Here I go again...

---
Oussama Mubarak // Semiaddict

semiaddict’s picture

Status: Needs work » Needs review
StatusFileSize
new2.63 KB

I have worked a bit more on the patch, adding more localization support and adding an edit link to newly added items.

N.B: It seems this patch fixed the bug with the titles described in the original post! Go figure...

---
Oussama Mubarak // Semiaddict

titouille’s picture

Hi,

ModalFrame 6.x-1.6
JQuery.UI 1.6

Tried to work with the patch but it break the modal view... Anyone to add a correct patch, or to add this feature directly in the module behaviour ? I'm not really happy with javascript / ajax to do it myself :-s
In the same time, is there a possibility to change the value displayed in the textbox when a referenced node is attached (actually the node title + nid) by other php computed field for example ?

mbutcher’s picture

If a fixed patch is added, I will try to commit it.