Closed Muneera-Salah closed 6 years ago
Hi,
In order to help you, could you give more details? Version of Moodle. Do you know which theme is based on? Could you paste me all the menu items in order to check the syntax?
Thanks a lot and I hope to help you,
Hi , moodle version: 3.5 theme name : remui parent : none demo link http://remui.edwiser.org/login/index.php
when I used moove theme it's working very well because it's based on boost https://moodle.org/plugins/theme_moove but remui theme does not
I follow your instruction Moodle community -Moodle free support|http://moodle.org/support -Moodle development|http://moodle.org/development --Moodle Tracker|http://tracker.moodle.org|Bugs & features|en --Moodle Docs|http://docs.moodle.org ---grade,grades|https://docs.moodle.org/31/en/Grades|Docs about grades|en,es -Moodle News|http://moodle.org/news Moodle company -Moodle commercial hosting|http://moodle.com/hosting -Moodle commercial support|http://moodle.com/support
at moove theme
at remui theme
Hi,
I check yours notes.
Usually, this plugins works fine with themes based on boost and clean. This Remui theme it's private theme and I can check its code.
But, this plugin uses the same functions as the Moodle Core in the custom menu items. You can see the right syntax in https://docs.moodle.org/34/en/Theme_settings#Custom_menu_items
Also, you can test the plugin with the option "Enabled Master nodes in Boost Navigation" disabled and test it and again with enable and test it.
And I'm so sorry I can't help you more, but when I can see the code of the theme it's too hard. Maybe, this theme is disabling some options.
At templates/flat_navigations.mustache I added this code & it is working now :)
{{^action}}
<li class="site-menu-item has-sub {{#isactive}}active{{/isactive}}" data-key="{{key}}">
<a class="m-l-{{get_indent}} has-arrow py-5" href="javascript:void(0);">
{{#pix}}i/folder{{/pix}}
<span class="text">{{{text}}}</span>
</a>
<ul class="site-menu-sub">
{{#children}}
{{^is_section}}
<li class="site-menu-item ">
<a class="animsition-link py-5 {{#isactive}}active{{/isactive}}" href="{{{action}}}">
<span class="site-menu-title">{{{text}}}</span>
</a>
</li>
{{/is_section}}
{{/children}}
</ul>
</li>
{{/action}}
Hi Muneera,
good idea and good job.
Cheers.
Hi ,, I have theme not based on boost when I click menu sub menu can't open ?