How to create a custom menu for a theme in Omeka S?


#1

Hello

I want to write a custom code for menus in a theme (or module).

I was looking for a solution to this issue and I found some variants (neither of them have worked for me indeed):

  1. Extend class Helper/Navigation/MyMenu.php :
    https://stackoverflow.com/questions/2364695/how-do-i-extend-the-zend-navigation-menu-view-helper

  2. Rendering a custom menu using a partial view script :
    https://framework.zend.com/manual/2.4/en/modules/zend.navigation.view.helper.menu.html
    https://github.com/InteractiveMechanics/omeka-starter-theme

I don’t know how to modify bootstrap and which source files must be edited.
Sorry, I’m begining looking into the code of Omeka (although these are related to Zend instead of Omeka), so detailed explanations will be welcome.