Download & Extend

Integration with nodereference url widget

Project:Node Relationships
Version:6.x-1.6
Component:Node relationships extensions
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

nodereference_url is a great little module that allows you to create a node with a pre-populated value in a nodereference field based on an argument in the url.
When setting up a field with this widget you specify 'fallback behaviour' for when no argument is supplied, for which the other nodereference widget types are options - I often use autocomplete as the fallback for these fields.

What would be great is if the node reference extras could be made available to those fields using autocomplete as a fallback (and only displaying the options when no argument is supplied and they defer to the autocomplete widget).

Comments

#1

Patch

AttachmentSize
noderelationships.admin_.inc_.patch 803 bytes

#2

That patch doesn't appear to do anything...

#3

It makes the node reference extras available for nodereference_url widget fields using autocomplete as the fallback. Did you try it?

#4

When I posted before I had just been testing the patch (specifically looking for that change) and didn't see anything.

I've since removed the patch from my test site but I'll try it again sometime soon and give a more detailed response.

#5

We may be talking about two different things, but what this patch allows you to do is use the 'View reference..', 'Edit reference' and 'Create reference' extra options under the Node Reference Extras tab, for nodereference_url widgets when their fallback type is 'autocomplete'.

This patch only affects the Node Reference Extras settings form, it has no affect on the create/edit node form. If that is where you are having problems, you are right, this patch won't help.

#6

Huh. Just checked it out again and it does appear to work!
No idea why I didn't think it was - didn't think I did anything different, though it was a few weeks ago now...

Oh well. It works! Fantastic!

#7

Status:active» reviewed & tested by the community

Did some additional testing. Its really good, can't find any problems!
Changing status to RTBC - would be nice to see this committed.

#8

Assigned to:Anonymous» brunorios1

the patch works perfectly! thanks!

#9

+1 this is a big help, lets add this one in to the module!

#10

Assigned to:brunorios1» Anonymous

#11

Status:reviewed & tested by the community» closed (duplicate)

This need may come from more contrib module, so we have to find a universal solution, not one to cover a single use case.

I'm going to mark this as a dup of #719300: Add support for derivatives of the Node Reference Autocomplete widget

Please, check the patch I just attached to that issue. Thanks.

nobody click here