Skip to content

pascal-martinez/z4m_homemenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ZnetDK 4 Mobile module: Home Menu (z4m_homemenu)

The z4m_homemenu displays a dynamic 2 levels menu on the home view according to the rights granted to the logged in user.

Screenshot of the Home Menu view provided by the ZnetDK 4 Mobile 'z4m_homemenu' module

LICENCE

This module is published under the version 3 of GPL General Public Licence.

FEATURES

This module contains the view z4m_homemenu to declare within the menu.php of the application.
If user authentication is disabled, all the menu items are displayed by the z4m_homemenu view.
This view can also be included within an existing home view.

REQUIREMENTS

INSTALLATION

  1. Add a new subdirectory named z4m_homemenu within the ./engine/modules/ subdirectory of your ZnetDK 4 Mobile starter App,
  2. Copy module's code in the new ./engine/modules/z4m_homemenu/ subdirectory, or from your IDE, pull the code from this module's GitHub repository,
  3. Edit the App's menu.php located in the ./applications/default/app/ subfolder and add a new menu item definition for the view z4m_homemenu as first menu item. For example:
\MenuManager::addMenuItem(NULL, 'z4m_homemenu', 'Home', 'fa-home');

CHANGE LOG

See CHANGELOG.md file.

CONTRIBUTING

Your contribution to the ZnetDK 4 Mobile project is welcome. Please refer to the CONTRIBUTING.md file.