Allow plugins to register right_nav menu items

Bug #834171 reported by PiersHarding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
PiersHarding

Bug Description

It would be useful for plugins to be able to register right_nav() menu items in the same way that main_nav() menu items can be via the Plugin*::menu_items() call, or local_right_nav_update(). this would enable a plugin to add an item under the user 'Settings' menu for instance.

Changed in mahara:
status: New → In Progress
assignee: nobody → PiersHarding (piersharding)
Revision history for this message
PiersHarding (piersharding) wrote :
Changed in mahara:
importance: Undecided → Wishlist
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/614
Committed: http://gitorious.org/mahara/mahara/commit/0ea14f21d0ac6b5aad15124fec9dda4f0709c7f4
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 0ea14f21d0ac6b5aad15124fec9dda4f0709c7f4
Author: Piers Harding <email address hidden>
Date: Fri Aug 26 10:18:03 2011 +1200

    enable plugins to update right_nav() (bug #834171)

    Add hooks so that plugins can update menu structure
    via Plugin*::menu_items()
    and local_right_nav_update()

    Change-Id: I051e5e611b1d0a6b9a169fbf2f5a782c789dc93d
    Signed-off-by: Piers Harding <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.5.0
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/874
Committed: http://gitorious.org/mahara/mahara/commit/12bc059b45900bdd2c0638e0ad25c825777d2864
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 12bc059b45900bdd2c0638e0ad25c825777d2864
Author: Richard Mansfield <email address hidden>
Date: Mon Nov 21 15:51:46 2011 +1300

    Bring back the settings sub-menu for drop-down navigation (bug #801081)

    The submenu under settings in not usable with drop-down navigation,
    because there's no top-level item for it to hang from. This patch
    changes it to group-style tabs within the page when drop-down
    navigation is configured. Just creating a link from the inbox to
    the notification prefs is not sufficient because plugins can now
    hook into the right menu (see bug #834171).

    Change-Id: I7cd6009ed77d5795a9a6880e64d90f8742e47f92
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjrYkAAoJECXBtiziiXdcBjUH+gOs1qGQ20HFISw5maAWKxaU
yT4JUSRYzcVk8g5FgnONKIDVMKo9ZiyZD0xTWoevwRamE5IiE00ltsoxtaVecvBx
Km/hOBIiaTCfNlZ/nCULO+FUflYWhuzjb8szGQNCLTJLXzHq1Q/BRJAWPzKvUweo
zKe23pNiXtMlRkqEs+IwWnf04M3YH8O6tqcoirtLWPmLRJxtW19qT5LOGdkFojVP
ode3BhogyPMFWxS9mhn0AgE9j/GdNMXbPxKCSqLhrcDCQvC+wXNqvWC/Fp7jMe0n
5mPXBmBPLCiQAIQ7a9GNV/71GhLEB6YkZ1HZj+EkCuXvdejKe/MutEVgHIiZUus=
=Yjja
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.