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.
Enter the username of an account you wish to switch easily between via a menu item.
Is this suppose to create a single switching menu ?
Comment | File | Size | Author |
---|---|---|---|
#9 | 415800_save_variable_before_rebuild_9.patch | 775 bytes | deviantintegral |
#7 | 415800_save_variable_before_rebuild.patch | 886 bytes | deviantintegral |
Comments
Comment #1
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedHm yes.
Can you try clearing menu cache? press the save button on modules page.
Comment #2
jhang CreditAttribution: jhang commentedI am having the same problem. Is this a bug?
Comment #3
physiotek CreditAttribution: physiotek commentedcan'T make it work either
Comment #4
ktonini CreditAttribution: ktonini commentednot working for me either.
Comment #5
Tally CreditAttribution: Tally commentedWorked fine for me. On the Masquerade admin page, select the desired user names. The secret is in the line below the select box: Select the usernames for accounts to show as quick links in the Masquerade block.
You need to position the Masquerade block where you want it, and the menu of users will be in the block. The Drupal navigation menu was not modified except to add an option to the admin page.
Comment #6
physiotek CreditAttribution: physiotek commented"The Drupal navigation menu was not modified except to add an option to the admin page."
So it's not working...
Tally... the goal of this issue is to have a menu item in the navigation menu, just like it were working in previous releases.
I would like to have the possibility to use a menu item instead of a dedicated block.
Comment #7
deviantintegral CreditAttribution: deviantintegral commentedThis is working for me in the latest development release, but only if the menu cache is flushed twice (such as submitting the masquerade settings twice). The problem is that masquerade_admin_settings_submit() is called before the settings are saved, so the variable_get() for the user name returns the old data.
I've attached a patch against the latest -dev release which fixes the issue.
Comment #8
deviantintegral CreditAttribution: deviantintegral commentedOops, misclick on the status.
Comment #9
deviantintegral CreditAttribution: deviantintegral commentedI'll be committing the rerolled patch in a moment.
Comment #10
deviantintegral CreditAttribution: deviantintegral commented