Masquerade quick switch menu link doesn't appear

espirates - March 27, 2009 - 16:32
Project:Masquerade
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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 ?

#1

Gurpartap Singh - March 27, 2009 - 20:34

Hm yes.

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

#2

jhang - April 27, 2009 - 14:52

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

#3

pht3k - June 10, 2009 - 02:19

can'T make it work either

#4

ktonini - June 14, 2009 - 04:35

not working for me either.

#5

Tally - June 18, 2009 - 03:34

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.

#6

pht3k - June 20, 2009 - 18:36

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

#7

deviantintegral - August 6, 2009 - 01:56
Version:6.x-1.1» 6.x-1.x-dev
Status:active» fixed

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.

AttachmentSize
415800_save_variable_before_rebuild.patch 886 bytes

#8

deviantintegral - August 6, 2009 - 01:57
Status:fixed» needs review

Oops, misclick on the status.

#9

deviantintegral - August 6, 2009 - 19:40
Status:needs review» fixed

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

AttachmentSize
415800_save_variable_before_rebuild_9.patch 775 bytes

#10

deviantintegral - August 6, 2009 - 19:41
Title:Masquerade How is the default user suppose to work, no visible menu» Masquerade quick switch menu link doesn't appear

#11

System Message - August 20, 2009 - 19:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.