Mecha CMS

Mecha CMS blog and documentation.

Manager Hooks

Updated: Sunday, 07 August 2016

Adding more menu items to the widget manager menu and bar.

Table of Content

Manager Menu

Add an Inbox menu to the manager menu widget on your blog sidebar:

Config::merge('manager_menu', array(
    'Inbox' => array(
        'icon' => 'envelope',
        'url' => 'manager/inbox', // ← relative to home page URL
        'count' => 30, // ← optional to show counter badge
        'stack' => 5 // ← menu order (default is `10`)
    )
));

Manager Bar

Add an Inbox icon to the manager bar widget on top of your page:

Config::merge('manager_bar', array(
    'Inbox' => array(
        'icon' => 'envelope',
        'url' => 'manager/inbox', // ← relative to home page URL
        'description' => 'Open your inbox.', // ← the tooltip text
        'count' => 30, // ← optional to show counter badge
        'stack' => 5 // ← menu order (default is `10`)
    )
));
Donation and Email Subscription