Skip to content

Instantly share code, notes, and snippets.

@irshadsheikh
Forked from narendrakamadi/settings.php
Created May 9, 2014 10:19
Show Gist options
  • Save irshadsheikh/dc6af016050d4f00883c to your computer and use it in GitHub Desktop.
Save irshadsheikh/dc6af016050d4f00883c to your computer and use it in GitHub Desktop.
<?php
$config['Site'] = array(
'name' => 'My Site Name',
'sidebarMenu' => array(
// Menu for Admin
'admin' => array(
'dashboard' => array(
'icon' => 'dashboard',
'title' => 'Dashboard',
'url' => array(
'admin' => false,
'controller' => 'users',
'action' => 'dashboard',
),
'weight' => 50,
),
'users' => array(
'icon' => 'user',
'title' => 'Users',
'url' => array(
'admin' => false,
'controller' => 'users',
'action' => 'index',
),
'weight' => 70,
'children' => array(
'users' => array(
'icon' => 'user',
'title' => 'All Users',
'url' => array(
'admin' => false,
'controller' => 'users',
'action' => 'index',
),
),
'add_user' => array(
'icon' => 'user',
'title' => 'Add User',
'url' => array(
'admin' => false,
'controller' => 'users',
'action' => 'add',
),
),
),
),// end users
'roles' => array(
'icon' => 'group',
'title' => 'User Roles',
'url' => array(
'admin' => false,
'controller' => 'roles',
'action' => 'index',
),
'weight' => 80,
'children' => array(
'roles' => array(
'icon' => 'group',
'title' => 'All User Roles',
'url' => array(
'admin' => false,
'controller' => 'roles',
'action' => 'index',
),
),
'add_role' => array(
'icon' => 'group',
'title' => 'Add Role',
'url' => array(
'admin' => false,
'controller' => 'roles',
'action' => 'add',
),
),
),
),//end role
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment