Edit Node reference

hillm - March 6, 2009 - 12:04
Project:Popups: Add and Reference
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is it possible to replace 'add new' with 'edit' once the referenced node has been created, so as to facilitate editing?
Many thanks.

#1

starbow - March 6, 2009 - 16:41

Interesting idea.

#2

cYu - March 9, 2009 - 15:57

With #388406: multiple values nodereference field in, you couldn't just replace 'add new' with 'edit' since you need to be able to add multiple new referenced nodes. I also am interested in this idea, though, and the best ui for it.

#3

starbow - March 9, 2009 - 18:31

You might look at #391218: popups by field or fieldgroups?. It looks like that issue will be getting some funding, and it might end up doing what you want - but it will be on the view page, not on the edit page.

#4

cYu - March 9, 2009 - 18:42

I am going to spend some time trying to code this feature for autocomplete nodereferences. If you already have some ideas on how to best approach this I would gladly go with those, if not I'll just jump in and see if I can produce a working patch.

#5

zapple - July 11, 2009 - 07:49

Hi,

This would be of great use. Somehow place an *edit link* next to each node reference line that triggers the edit view of the referenced node in a popup. Has anyone made any progress?

Cheers
Zap

#6

jmather - July 11, 2009 - 16:15

I'm looking for the same thing, seems relatively trivial to implement. Would just need to do the same thing the popup reference does and then fill in the form fields with the existing data...from there rebuild the cookies an viola. :)

#7

cYu - July 13, 2009 - 13:22

There is some progress along these lines here: http://drupal.org/project/inline_references but you cannot config the module to do only "edit link" adding (it also will want to put node reference info inline on your form), and the module relies on some as of yet un-applied patches to Popups Add and Reference...and the module is still in dev.

I'm sure if you wanted to, you could rip apart the module and get it to only add the edit link, but as mentioned in #6 that part is fairly straightforward using the Popups API.

 
 

Drupal is a registered trademark of Dries Buytaert.