I am using the module together with a entity reference field which could reference to a big number of different entities ( > 10). Also I have checked the "Create" link setting and now I see one create link for each entity which means a lot of links :(
I have a suggestion to group the links in a drop down when they exceed a predefined number.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | improve_ux-2154513-10.png | 78.75 KB | anton-staroverov |
| #10 | interdiff-2154513-7-10.txt | 797 bytes | anton-staroverov |
| #10 | improve_ux-2154513-10.patch | 1.28 KB | anton-staroverov |
| #9 | Edit test First Paragraphs Test with Rows | scald.jpg | 66.79 KB | gmclelland |
| #7 | improve_UX-2154513-7.patch | 1.29 KB | miroslavbanov |
Comments
Comment #1
boyan.borisov commentedI prepare a patch which use the ctools dropbutton to convert the references dialog links to a dropdown when the links are more then 3. The threshold number is exposed as a varaible called references_dialog_links_threshold.
Comment #2
miroslavbanov commentedBy request from boyan.borisov, I've made the adjustment to only wrap the create links, without the search content link. Please do not credit me for this change.
Comment #3
antondavidsen commentedHere a patch against latest 7.33, which fixes this issue:
https://www.drupal.org/node/2315905
Comment #4
antondavidsen commentedComment #5
antondavidsen commentedComment #6
antondavidsen commentedComment #7
miroslavbanov commentedHad a problem related to #2315905: Recoverable fatal error: Argument 3 passed to l() must be an array, string given with references_dialog. Here is a fixed version.
Comment #9
gmclelland commentedThanks, the patch in #10 worked for me.
Here an image of what it does:

Comment #10
anton-staroverov commentedUltra-handy patch! Let's improve it further by replacing ctools'
dropbuttonby ctools'dropdown: