Could anyone point me at the file(s) I need to edit in order to change the 'User tools' dropdown menu on user pages?

E.g. at /users/X/username/, there's a dropdown (when viewing your own profile) containing 'edit profile', 'authentication settings', etc.

I'd like to remove one link, insert another, and change where another links to.

asked 15 Mar '11, 08:07

suicas's gravatar image

suicas
47338
accept rate: 0%


After some digging, it seems that this can be done by editing forum/registry.py.

There's an entry which looks like:

ui.register( ui.USER_MENU, ui.UserMenuItem(...), ui.UserMenuItem(...), ...)

Each ui.UserMenuItem adds an item in the menu.

link

answered 16 Mar '11, 09:10

suicas's gravatar image

suicas
47338
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×51
×2

Asked: 15 Mar '11, 08:07

Seen: 830 times

Last updated: 16 Mar '11, 09:10

powered by OSQA