Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
It would be great if you could positions the search link on the right of the input field instead of below it.
Johan
Comment | File | Size | Author |
---|---|---|---|
#2 | Screenshot from 2012-12-21 12:53:55.png | 5.51 KB | rogical |
#1 | 1416922-refdialog-order-1.patch | 1.75 KB | andypost |
Comments
Comment #1
andypostSuppose firstly we need corresponding alter hook
Comment #2
rogical CreditAttribution: rogical commentedI applied the patch, it seems still the same.
Comment #3
rogical CreditAttribution: rogical commentedComment #4
rogical CreditAttribution: rogical commentedcommitted.
Comment #6
davidburnsHow does this allow you to move or alter the link text?
nevermind. it just clicked.
Comment #7
andypostThe example code
Comment #8
sisko CreditAttribution: sisko commentedHi guys,
can you please help me out and tell me which file we are patching?
I tried both of the following individually:
... and neither worked.
Comment #9
andypostPatch already commited so implement a
hook_references_dialog_widgets_alter(&$widgets)
in your custom module to modify the operations' linksComment #10
gusantor CreditAttribution: gusantor commentedHello, I'm using this module and need to pass some parameters to referenced node type creation form
so I looked for someway to do it and found this hook_references_dialog_widgets_alter(&$widgets), great !, because I think I can alter the edit/add link url's to include those parameters
but if I do a dpm($widgets) inside my alter function it doesn't seem to work, I'm using
which is the way I supposed to know the $widgets structure to alter it ?
please any guide is appreciated & thanks in advance