Moodle plugins directory: Navigation buttons
Blocks ::: block_navbuttons
Maintained by Davo Smith
Add customisable navigation buttons (next/prev/etc.) to the bottom of each activity page (Moodle 1.9/2.0+)
Current versions available: 4
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.
- Download the file and unzip it somewhere convenient.
- On your server, in the 'blocks' folder, create a subfolder called 'navbuttons'
- Upload all the files inside the 'davosmith-moodle-navbuttons-???????' folder to this new 'navbuttons' folder on your server.
- Log in to your Moodle site as an administrator and click on the 'Notifications' option in the Admin settings block.
- 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).
- Add the block to a course (turn editing on, select 'Navigation Buttons' from the 'Blocks - Add' menu)
- Customise the button appearance by clicking on 'Edit the Navigation Button settings' in the newly created block.
- 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:
Please login to view contributors details and/or to contact them
The readme file says that this version does not need to have core changes.
I've not seen any issues installing the plugin on Moodle 3.11 - it really doesn't do anything much during install (adds 2 standard capabilities + 1 DB table), so I would be very surprised if it could cause an issue. I'll see if I can double-check when I have a moment.
Thanks a lot
It looks like you are correct that there is a bug in that particular button type - it's not part of the original development (it was contributed by another developer), so it's not directly on my radar for testing during upgrades. However, if it has stopped working, then I'll try to find a bit of spare time to investigate / fix.
It does, however, correctly update the completion state and doesn't show an error popup, so hopefully that is a good enough fix (I'd be happy to review a patch from anyone keen to produce a more complete fix).
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.
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.
Many thanks for a very useful plugin. Well-designed, easy to use, does just what it says. Well-done!
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.