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.

Comments

boyan.borisov’s picture

Status: Active » Needs review
StatusFileSize
new885 bytes

I 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.

miroslavbanov’s picture

StatusFileSize
new1.31 KB

By 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.

antondavidsen’s picture

StatusFileSize
new1.01 KB

Here a patch against latest 7.33, which fixes this issue:

https://www.drupal.org/node/2315905

antondavidsen’s picture

antondavidsen’s picture

StatusFileSize
new2.1 KB
antondavidsen’s picture

StatusFileSize
new2.49 KB
miroslavbanov’s picture

cllamas queued 7: improve_UX-2154513-7.patch for re-testing.

gmclelland’s picture

Issue summary: View changes
StatusFileSize
new66.79 KB

Thanks, the patch in #10 worked for me.

Here an image of what it does:

anton-staroverov’s picture

StatusFileSize
new1.28 KB
new797 bytes
new78.75 KB

Ultra-handy patch! Let's improve it further by replacing ctools' dropbutton by ctools' dropdown:

Dropdown