Navigation buttons

Blocks ::: block_navbuttons
Maintained by DavoDavo Smith
Add customisable navigation buttons (next/prev/etc.) to the bottom of each activity page (Moodle 1.9/2.0+)
Latest release:
832 sites
220 downloads
47 fans
Current versions available: 5

badge.svg

Navigation buttons (for Moodle 1.9 / 2.0+)
This block adds customisable navigation buttons (first/previous/next/etc.) to the bottom of each activity/resource page in a course.

It is based on an idea from Penny Mondani: http://pennymondani.com
Thanks also to the US company that sponsored the development, who wish to remain anonymous.

Installation:

  1. Download the file and unzip it somewhere convenient.
  2. On your server, in the 'blocks' folder, create a subfolder called 'navbuttons'
  3. Upload all the files inside the 'davosmith-moodle-navbuttons-???????' folder to this new 'navbuttons' folder on your server.
  4. Log in to your Moodle site as an administrator and click on the 'Notifications' option in the Admin settings block.
  5. If you are running a version of Moodle earlier than 3.10, you need to make a small change to one Moodle core file to make this work (the change is different between Moodle 1.9 & Moodle 2.0 - see the included README.txt for details).
  6. Add the block to a course (turn editing on, select 'Navigation Buttons' from the 'Blocks - Add' menu)
  7. Customise the button appearance by clicking on 'Edit the Navigation Button settings' in the newly created block.
  8. Check the message at the bottom of the screen (under the 'Save changes' button) - it should read "Navbuttons self-test: required core modifications have been completed successfully". If not, then go back to step 5 above and check carefully.

Note: The block is only visible to users who are able to edit courses modules. Deleting the block will remove the navigation buttons (they can also be disabled through the settings).

For a quick demo, there is a screencast available here:

Screenshots

Screenshot #0

Contributors

Davo
Davo Smith (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Показати коментарі
  • Joanne Tucker
    нд 29 трав. 2022 18:39 PM
    Hi Davo. Thanks for the update
  • Daniel Luff
    ср 14 вер. 2022 04:04 AM
    Hi, I installed the Navigation Buttons plugin but the buttons don't appear at the end of any activities.
    Running Moodle 3.9.17
    - After installing the plugin, settings were set to "Always show" for all activity types
    - I was then able to add the block to my course
    - In the Navigation Buttons block settings, all buttons were set to "Show"
    - At the end of the Navigations Button Block settings I have the message: "Navbuttons self-test: required core modifications have been completed successfully"
    - But in my course activities the Navigation Buttons are not there.
    Any suggesstions would be welcome.
  • Davo
    чт 15 вер. 2022 01:12 AM
    Hi Daniel,

    If you use the 'view page source' feature of your browser and search for 'Navbuttons start' in the HTML of the page, then you should see something that looks like this:
    [the navigation buttons content OR a message about why they are not being output]
    If that doesn't explain what is going wrong, then copy that section of the HTML and send me a direct message or email and I'll see if I can figure it out.
  • Joseph Rézeau
    вт 31 січ. 2023 01:25 AM
    Hi Davo,
    Many thanks for a very useful plugin. Well-designed, easy to use, does just what it says. Well-done!
  • Joanne Tucker
    пт 3 лют. 2023 19:28 PM
    This is a great plugin for replacing the activity navigation that used to exist pre 3.11 however, I would just like to point out that the buttons are static i.e. the Next and Previous links are not dynamically updated if the activity changes state to completed - they update on page refresh. This matters if you have dependencies between activities.

    This is no different to how activity navigation in the footer used to behave in Moodle, so it's most definitely not a criticism of this plugin. But I thought it might be helpful to highlight for those thinking of using this plugin for navigation between activities with completion criteria.
  • Will Westerkamp
    чт 1 черв. 2023 02:31 AM
    Is it possible to edit the code files of this plugin to change the functionality of the plugin so it fits my needs better? I am trying to access the plugins php files but I am getting an access denied for every file.
  • Davo
    чт 1 черв. 2023 04:24 AM
    Hi Will,

    You don't need to send me the same question by comment here and by direct message - I am notified about both.

    If you have the plugin files, then you can modify them locally - you do not need anything from me. If you are getting permission denied issues, then that must be something to do with your local computer, not something I can help you with.
  • Francisco Carrizo
    нд 15 вер. 2024 15:15 PM
    Hi Davo, I hope you’re doing well. I wanted to ask if it’s possible for the "Next Activity" buttons to appear regardless of whether the current activity has been completed or not. Currently, if the activity isn't finished, I only see the buttons for the previous activity and home. Thanks!
  • Davo
    пн 16 вер. 2024 15:39 PM
    Hi Fransisco - the visibility of the "Next" button is unrelated to the completion of the current activity. It only take into account whether there is an activity later in the course that the current user can access. If you've set up the availability rules so that the next activity is not available until the current one is complete, then I cannot provide a link to it, on the off chance that it might be available by the time the user clicks on it (that would break the buttons on sites where the immediate next activity was unavailable, but the activity after it could be accessed - it would attempt to direct the user to an unavailable activity, rather than the next one they could access).
  • Terry Williams
    пт 11 жовт. 2024 04:44 AM
    Totally new guy here. Does this plugin work on Moodle's temporary cloud account? I'm working on a school assignment to create a learning module.
  • Davo
    пт 11 жовт. 2024 17:39 PM
    Terry - if you're talking about the "Standard" MoodleCloud hosting from https://moodle.com/solutions/moodlecloud/, then no plugin installations are allowed. You would need to either self-host or pay for a Premium hosting solution from a Moodle Partner.
  • Amy Brown
    пт 7 лют. 2025 05:57 AM
    Love the nav buttons, but it does not work well with the new Moodle 4.5 feature - subsection. Instead of next/previous, it says previous/next module.
  • Ramah Rose
    вт 27 трав. 2025 10:05 AM
    Hi Davo, is there possibility for a future update that the buttons look like the other moodle buttons or the ability to edit them, for example on the left side of the page rather than the right, button height & width, button color, font type & colour? I have tried adding my own icons to give it a more up-to-date look, but the buttons have to be certain size. If the above suggestions are possible in a future update that would be great.
  • Davo
    пт 30 трав. 2025 00:15 AM
    Ramah - I have no current plans to add extra features to this plugin. It was originally written 15 years ago and I generally just touch it a couple of times a year to make sure it is still working with the latest version of Moodle.

    I'd also add that layout/styling are not my strong points, so I'm not best placed to make such adjustments.

    I'm open to patches if someone wants to provide some improvements (they would have to follow Moodle's latest coding guidelines, have automated test coverage and not break any existing installs of the plugin).
  • Prasita Prabhakaran
    чт 3 лип. 2025 20:03 PM
    hi,
    I am facing an issue with navigation buttons plugin when used for H5P activity. It shows the button twice.
    I am using moodle version:Moodle 4.5.4 (Build: 20250414) and plugin version: 4.0.0.1 2025041900
    Thanks in advance,
    Prasita
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments