← Back to team overview

mahara-contributors team mailing list archive

[Bug 1431540] Re: allow plugins to register admin menu items

 

I've added a dummy module to use test this change. You should be able to
extract it in your htdocs/module/ directory.

Install it under Administration -> Extensions then you should be able to
visit the admin section and see different menus for

1) Site admin

2) Institution admin

3) Site/institution staff

** Attachment added: "dummymenu.tar"
   https://bugs.launchpad.net/mahara/+bug/1431540/+attachment/4349375/+files/dummymenu.tar

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