← Back to team overview

mahara-contributors team mailing list archive

[Bug 1431540] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4381
Committed: http://gitorious.org/mahara/mahara/commit/14f824181de123c430a3c1115391d10ef71e029b
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 14f824181de123c430a3c1115391d10ef71e029b
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Mar 13 09:03:39 2015 +1300

Allow plugins to register admin menu items (Bug #1431540)

To test add to a plugin:
function admin_menu_items() { }
function institution_menu_items() { }
function institution_staff_menu_items() { }

where each has proper markup for a menu item

Change-Id: I1cc0e906f08c90616b9f3111c2c630eb72650a7d
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1431540

Title:
  allow plugins to register admin menu items

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Currently plugins can register menu items and right nav menu items -
  it would be useful if they can also register:

  * admin menu items
  * institution admin menu items
  * institution staff menu items

  It will be a matter of duplicating the code that we use for right nav
  menu items

  This will allow us to have less hardcoded menu items in lib/web.php
  and instead have the menu items controlled by the plugins themselves.

  I'll mark the bug high as I need it for
  https://bugs.launchpad.net/mahara/+bug/1409546

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1431540/+subscriptions


References