Simple Navigation Block

Blocks ::: block_simple_nav
Maintained by it's meDavid Bogner
This block provides a navigation as it is often used on standard websites.
Latest release:
62 sites
6 fans
Current versions available: 3

This block shows a much simpler navigation than the standard Moodle navigation block. It is designed to be used on Moodle sites, that are also used as standard websites and not only as LMS.


Screenshot #0
Screenshot #1


it's me
David Bogner (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Tue, Oct 30, 2012, 12:23 AM
    Hi David,
    I'm using Moodle 2.3, and the simple navigation used to work fine when in testing intranet environment. And we just moved to internet version when all of a sudden I see the navigation expanded completely, and even taking some sub-categories from categories and giving them separately. I would like to send you screenshots, how do I do this here? Well, I'm an absolute novice in all this and just need to know, which line in which file is necessary to change (and how...) to have only Categories in the Simple Navigation Block. Can you please tell me? Many, many thanks, Irene.
  • it's me
    Tue, Oct 30, 2012, 12:29 AM
    Hi Irene,

    we have a new version of the block. I just did not have time to release it. It has improved display settings of categories. I will release it tomorrow. You can send me screenshots to

    Best regards,
  • Tue, Oct 30, 2012, 6:50 PM
    Thank you, David!
    I've sent you the screenshot. And am waiting for the new release.
  • it's me
    Thu, Nov 1, 2012, 1:07 AM
    Hi Irene,

    I just uploaded a new version. Tell me, if that fixes your problem.

    Best regards,
  • Thu, Nov 1, 2012, 7:21 PM
    Hi David,
    I've uploaded it and requested IT to reinstall. Hope it'll not take too much time. Will let you know when I have it done.
    Thank you,
  • Thu, Nov 1, 2012, 9:44 PM
    Hi David,
    The new plugin is installed onto my server. Only it still seems I'm doing something wrong. I'll send you screenshots in about ten minutes. The categories/subcategories/courses --> they all behave on their own, do not want to be controlled. Please give me a hand here. Very much appreciated,
  • Fri, Nov 2, 2012, 12:17 AM
    Hi David, is there a limit of amount of categories in the Simple Nav. Block? Because I've managed to display five categories with six sub-categories in total. But when I add more, trouble starts.
    Or, could it be that sub-categories/categories cannot contain same words? Some sub-categories are named identically in my case -> do I need to find the way to name them differently? Do you need any pictures from me to see it? Thank you very much,
  • Germán and Temudgin
    Thu, Nov 8, 2012, 1:52 AM
    Hi David,
    The simple navigation block is working nicely in both English and in the spanish translation. smile
    Thank you.

    But I think that maybe the string [blockstring,block_simple_nav], which currently is "Feld Titel" might perhaps be "Field Title".

    Greetings from Mexico
  • it's me
    Thu, Nov 8, 2012, 11:39 PM
    @Irene: I uploaded a new version, that allows to display more subcategories. (you can change the value in line 56 in edit_form.php if you want to change it again). @German: I did update the string field title. Greetings from Vienna. David
  • Fri, Jan 25, 2013, 12:48 AM
    I was hoping this would have solved my problem with wishing a simpler navigational route for the students. Mostly though to try to get rid of the forum. But I must be getting something wrong. I have to say when I downloaded this I was delighted that I could select exactly what my students can see - brilliant. However, how can I get the students to use this simpler one rather than the Navigation default? The configuration gives the impression this would be used as the default - but all I have to 2 navigation menus now. sad Also I have created 2 pages with information but the word 'page' appears and overlaps the title of my pages. Can you help? I really want to use your block. Many Thanks Sarahx
  • it's me
    Fri, Jan 25, 2013, 1:14 AM
    Hi Sarah Jane,

    thank you for bringing up this issue. In fact you can make disappear the standard navigation block by changing the rights of th block:

    1) Click on the "assign roles" symbol in "editing on" mode in the navigation block
    2) Then in the settings block click on "Permissions"
    3) Remove the "View block" permissions for the specific roles (student, guest, authenticated user, etc.)

    Best regards,
  • Tue, Jun 25, 2013, 10:41 PM

    When debugging is turned on I see this message:

    Function get_categories() is deprecated. Please use coursecat::get_children(). See phpdocs for more details.

    I changed the function to what is being suggested, but I just get some errors.

    Will this effect the block? Or should I not worry about this?
  • it's me
    Wed, Jun 26, 2013, 5:35 PM

    Moodle changed the navigation methods in core, the function get_categories will work without problems, it is only deprecated from Moodle 2.5 onwards. That should not be a problem, we will update the code, when we upgrade to 2.5 or 2.6, that will be in automn. Meanwhile you can use it without worrying about the warnings in dev mode.
  • Fri, Jul 12, 2013, 2:32 AM

    Thanks, is there a simple way to add the topics too?
  • it's me
    Fri, Jul 12, 2013, 9:16 PM
    @Nick: As far as I remember, we wanted to keep it really basic and therefore we decided not to include the topics. This could be done, but is not on our agenda.
Please login to post comments