Dropdown menu in Omeka websie


#1

Hi,
I want to create a dropdown menu in my Omeka site and I am using Curatescape theme. I am trying to create the drop down menu with Simple Pages but it does not create the normal drop down structure. Can you please suggest me where can I start to look through in Omeka folder structure to manipulate for creating the drop down menu.

Thanks in Advance
Nayeema


#2

Hi @Nayeema, you can use the Curatescape Forum for questions relating to the Curatescape theme and plugins, etc. See: https://forum.curatescape.org/.

To address the question, the Curatescape theme’s navigation has some defaults that you may need to look at before making changes. By default, there are two “quick links” at the top of the page (tours and stories) with the rest of the navigation being located within the side menu. You can create nested simple pages in your navigation settings, but first you’ll need to disable the default navigation in theme settings.

For example, the Village Legacy Project site has disabled the quick links and created a custom navigation in the side menu. See GIF below.

I’m not certain this is exactly what you’re looking for, but it might be possible to achieve your goal using these built-in options. If not, you would likely need to customize the theme using PHP/HTML and JavaScript to create a dropdown menu.


#3

Hi,
This is exactly what I want to do. But my another question is that where can I find the navigation file can you please tell me the folder path?

Thanks
Nayeema


#4

Hi @Nayeema, the navigation menu is in the javascripts/global.js file. It uses jQuery and mmenu.js, so you’ll want to review the jQuery.mmenu documentation to see how it works. Note that the script pulls the navigation from the page markup to create the menu, so the first thing to do is to disable the default navigation option in theme settings and then edit your navigation in Omeka admin at Appearance > Navigation.