Skip to content
reillyethan edited this page Jan 23, 2015 · 3 revisions

This module is simply used for admin part of the application. You can add to it everything you want, just adding to a module.config.php navigation. For example:

'navigation' => [
  'default' => [
    [
      'label' => 'Test',
      'controller' => 'test',
      'pages' => [
        [
          'label' => 'Images',
          'controller' => 'image',
          'action' => 'upload-image',
          'route' => 'test/default',
          'controller_namespace' => 'Test\Controller\Image',
          'module' => 'Test'
        ],
        [
          'label' => 'Users',
          'controller' => 'management',
          'action' => 'index',
          'route' => 'test/default',
          'controller_namespace' => 'Test\Controller\Management',
          'module' => 'Test'
        ]
      ]
    ]  
  ]
]

Clone this wiki locally