Needs review
Project:
References dialog
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2013 at 13:26 UTC
Updated:
14 Nov 2015 at 22:00 UTC
Jump to comment: Most recent, Most recent file
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: