Moodle plugins directory: Navigation buttons | Moodle.org
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+)
Latest release:
722 sites
223 downloads
44 fans
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.
Installation:
- 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:
Useful links
Contributors
Davo Smith (Lead maintainer)
Please login to view contributors details and/or to contact them
I'm not sure what you mean by 'hide the buttons at the page level' instead of 'being able to turn it on only for every page'. Adding the block to a course works as a flag to turn on nav buttons for the course, removing the block from the course turns it off again. Not the best design ever and I wouldn't do it this way if I was writing the plugin today. However, I'm not planning on a major rewrite anytime soon.
Thank you for this great plugin. I was hoping to achieve something different and possibly you could guide me.
I have created a program (meta course) which is grouped with 4 courses ( using sub-course plugin). Now the navigation buttons appear only within the pages of a particular sub-course and from there the options of going back to the course main page (sub-course) or back to the program (meta course) main page works well. My challenge is how can i show the navigation button on the course (sub-course) main page so the learner has an option to go back to the program (meta course) main page without the need to again go into another page within this course.
Thanks
It sounds like it's probably a situation that would require some changes to the block code, but I can't really give you any clear guidance on that, without first spending some time trying to replicate your situation (which is something I'm unlikely to be able to do in the near future).
If you have any documentation then i can help look into it and let you know if i succeed so you can then add it to the plugin.
Thanks
Warning: require_once(/.../moodledir/blocks/navbuttons/footer.php): failed to open stream: No such file or directory in /.../moodledir/lib/outputrenderers.php on line 1283
Fatal error: require_once(): Failed opening required '/.../moodledir/blocks/navbuttons/footer.php' (include_path='/.../moodledir/lib/pear:.:/usr/local/php70/pear') in /.../moodledir/lib/outputrenderers.php on line 1283
How can I safely uninstall the navigation buttons?
thanks,
jose