Essential Theme drop down menu

Essential Theme drop down menu

by Kieran Briggs -
Number of replies: 2

Hi, 

So i've added onto the theme menu items for the adminstration block into the bar at the top as shown below

New Menu Bar


What I'm not sure how to do is the submenu items such as Users > enrolled users etc.  Can anyone point me to where I need to change the Jscript to set up more than one level of drop down menu please?


Thanks


Kieran

Average of ratings: -
In reply to Kieran Briggs

Re: Essential Theme drop down menu

by Frances Angulo -

Doesn't it work like this where the (-) character represents how many steps it goes down? 


Moodle community|https://moodle.org
-Moodle free support|https://moodle.org/support
-Moodle development|https://moodle.org/development
--Moodle Docs|http://docs.moodle.org|Moodle Docs
--German Moodle Docs|http://docs.moodle.org/de|Documentation in German|de
Moodle.com|http://moodle.com/
In reply to Frances Angulo

Re: Essential Theme drop down menu

by Kieran Briggs -

Hi, 

Its not the custom menu.  Its a series of list items.


Top Level link "Site Administration"

<li class="type_siteadmin dropdown" aria-expanded="true">
<a class="dropdown-toggle root_node" data-toggle="dropdown" title="Site Administration">


Shows this list on clicking the link

<ul class="dropdown-menu">
<li class="type_setting item_with_icon"> <!-- Link to page "Notifications"--> 
<li class="type_setting item_with_icon"> <!-- Link to page "Registration"-->
<li class="type_setting item_with_icon"> <!-- Link to page "Advanced Features"-->


Next is a link to another subnav from menu item "Users"

<li class="type_setting dropdown" aria-expanded="true">
<a class="dropdown-toggle" data-toggle="dropdown" title="Users">


So far so good, all the above shows.  When I want is for when I click on Users for this next subnavigation to show.

<ul class="dropdown-menu"> <!-- Submenu I want to show when I click on the link above this one
<li class="type_setting dropdown" aria-expanded="true">
<a class="dropdown-toggle" data-toggle="dropdown" title="accounts">


Its at this point that I am struggling. It doesn't seem to want let me have more than 1 level of drop down menu. I believe the user menu from essential uses the bootstrap 3.1.1 dropdown menu but I don't know prototype to know where to change it to let me have another level of menus.