I Wanna move the "update user status link" (which is in the drop down menu)

gauchon bertrand September 26, 2012

I wanna create a user macro to update status from a box on user's dashboard.

But i can't find help about which macro gives the popup box for updating status.

Which macro or velocity code is involved in summoning the status upate box (when you right click the link, you only have a link to user's profile)

1 answer

1 accepted

1 vote
Answer accepted
MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 26, 2012

You can use some javascript to do this. Probably best to wrap it in a user macro but what you want to produce is this:

<a href="#" onclick="AJS.toInit(function(){AJS.$('#set-user-status-link').click();});" >Update Status</a>

Anselmo February 7, 2013

How would I wrap this into a macro and what would it look like, if I try to do it with the addfavourite function from the Extras menu? I don't get this working.

MatthewC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2013

what version of confluence are you on?

Suggest an answer

Log in or Sign up to answer