Closed (fixed)
Project:
Nodereference Explorer
Version:
6.x-1.1-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Feb 2009 at 15:43 UTC
Updated:
10 Jun 2010 at 16:11 UTC
When using nodereference explorer the Popups: Add & Reference links which comes with the nodereference fields are not available.
Comments
Comment #1
gnindl commentedDue to the fact that 1.0 is still an alpha release, widget generation is far from being perfect. The buttons (Browse & Clear), the dialog and the thumbnail image preview are rendered as pure html into the generic #suffix of a widget element. As far as I understand does "Popups: Add & Reference" something similar with the reference links (see popups_reference_alter_item()). This means that the nodereference explorer widget overwrites the Popups: Add & Reference links.
The solution is to render all widget components as separate elements without rendering anything into the #suffix.
This is already on the TO-DO list for version 1.1.
Comment #2
gnindl commentedIn version 1.1 beta1 there should not be any intereference with this module any more as the nodereference explorer doesn't use the #prefix and #suffix any more.
Comment #4
G Gavitt commentedI am still getting this behavior with nodereference explorer 6.x-1.1-beta1 and Popups: Add and Reference 6.x-2.0-alpha1 or 6.x-1.0.
When I enable the nodereference explorer widget it causes the add and reference links to disappear.
Comment #5
G Gavitt commentedI also tried patching Popups: Add & Reference with http://drupal.org/node/397614 but it did not fix the issue.
Comment #6
G Gavitt commentedI have simple work around. Make two node reference fields that reference the same style of content. Set up the first one as the explorer with add+reference checked. Then set up the second one without the explorer widget and leave add+referenced checked. If you add a new node with the second field ...the node will get injected into the list of nodes on both node reference fields. Now the user could select that brand new node in either node reference field.
My next step was to simply hide the test box of the second field via the themes style.css.. EG.
Now the add + reference links pops up right under the first field's browse and remove button and works as expected. BTW the current alpha of add + reference does not auto populate the field. (But obviously it auto populates the list of nodes). So no data ends up in that semi hidden field.
Another BTW.. Thanks for the great module... it makes sorting through 100's of venues in all parts of the world, in a node reference.. simple.
Comment #7
gnindl commentedSupport for Popups: Add & reference has been natively built-in into the module
Comment #9
finex commentedI've tried with both -dev and 1.0 version. Neither works with popup add & reference:
when I click on the "BROWSE" button inside the popup from popup add & reference, the nodereference explorer doesn't opens