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 ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gurpartap Singh’s picture

Hm yes.

Can you try clearing menu cache? press the save button on modules page.

jhang’s picture

I am having the same problem. Is this a bug?

physiotek’s picture

can'T make it work either

ktonini’s picture

not working for me either.

Tally’s picture

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

physiotek’s picture

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

deviantintegral’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Active » Fixed
FileSize
886 bytes

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

deviantintegral’s picture

Status: Fixed » Needs review

Oops, misclick on the status.

deviantintegral’s picture

Status: Needs review » Fixed
FileSize
775 bytes

I'll be committing the rerolled patch in a moment.

deviantintegral’s picture

Title: Masquerade How is the default user suppose to work, no visible menu » Masquerade quick switch menu link doesn't appear

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.