Needs review
Project:
Popups: Add and Reference
Version:
6.x-2.0-alpha1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
10 Mar 2009 at 19:03 UTC
Updated:
23 Jun 2011 at 14:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
starbow commentedSeems like a good idea.
Comment #2
e2thex commentedI think this might correct http://drupal.org/node/388458
Comment #3
starbow commentedDrat, I should have rolled this into 1.0. I will aim to get it into 1.1
Comment #4
cyu commentedThis is rolled into a different patch #388406: multiple values nodereference field
Comment #5
cyu commentedUn-duping with hopes that this simple patch can get in without the other code involved with the issue this was originally considered a dupe of. See http://drupal.org/node/388406#comment-1418308
Comment #6
cyu commentedMarking as a bug since 2 different issues report that this may fix existing problems.
Comment #7
greg.harveyJust tried the patch posted here:
http://drupal.org/node/388406#comment-1603308
Didn't work. =(
The "Add another item" button worked, but the "Add New: Content Type" link vanished. Doh!
Comment #8
greg.harveyCorrection, that patch *did* work. =)
It's practically identical to the one in this issue as well. Someone might want to review both before deciding which "style" to include. But anyway, works.
My problem was a different bug. If you use a view to populate your CCK node reference field instead of the default mechanism then the "add content type" link won't appear - I had this issue and it threw me off.
So for now, reviewed and tested by at least one person! Is this already in the dev snapshot because of another patch? Is someone somewhere else killing kittens?? =P
Comment #9
ezra-g commentedPatch no longer applied to 6.x-2.0 release. Here it is re-rolled.
Comment #10
cyu commentedThe re-rolled patch is missing the concat for #prefix.
Comment #11
cyu commentedHere is a re-rolled patch for the 2 branch.
Comment #12
starbow commented@cYu: thanks for the patch
I am going though my patch list and putting the patches to review in an external todo list, so hopefully I will be keepting track of things better (fingers crossed :)
Comment #13
taz88ny commentedThe current patch appends to prefix and suffix instead of overwriting, but the "Add New..." link disappears when clicking on the "Add another item" button for node reference fields.
I've attached a patch that fixes that by adding the popup wrapper before the prefix, and adding the "Add New..." link after the suffix. The will allow the node reference form to rebuild and not remove the "Add New..." link.
- Luis
Comment #14
_Jay commentedDid you get these patches to work? After trying #11 and #13 patches I still can't see "Add New:" link when I put the field in multigroup. Could the problem be with my CCK version? Anyone have this working?
Popups: Add & Reference : 6.x-2.0-alpha1
CCK: 6.x-3.0-alpha3