MantisBT: master 0c645992

Author Committer Branch Timestamp Parent
vboctor vboctor master 2016-07-23 03:31:06 master 5ccda887
Affected Issues  0021397: Plugin menu options don't show in main menu
Changeset

Revise the EVENT_MENU_MAIN_FRONT and

Revise the plugin events for main menu options to expect url, label and icon.

Affected Events

  • EVENT_MENU_MAIN_FRONT
  • EVENT_MENU_MAIN

Sample Response that adds two menu options. One with icon and one using default icon.

array(
array(
'title' => 'Bell',
'url' => 'bell.php',
),
array(
'title' => 'Bell2',
'icon' => 'fa-bell',
'url' => 'bell2.php',
),
);

Fixes 0021397

mod - core/layout_api.php Diff File