Moodle Plugins directory: Buttons | Moodle.org

Buttons

Buttons is a course format that creates a menu with buttons to access the sections, one by one.
Features
* Create groups of sections, to separate topics in modules or periods;
* Create names to the groups to identify them. (Example: First Semester, Topics about a specific theme);
* Change the colors of the buttons (when active, inactive, on over and hidden), to fit it your Moodle theme;
* Define the list-style between numbers, alphabet or roman numeral;
* Define the button's shape between squares or circles.
Installation
* For recent Moodle versions, you can install this plugin automatically from the Moodle plugins database.
Manual installation
1. You can manually download the zip file from the Moodle Plugins Database.
2. After downloading the zip file, expand it and put it's contents in your .../moodle/course/format/ directory.
3. The folder name must be 'buttons'.
4. Go to 'Admin ► Site administration ► Notifications' page.
5. Follow the instructions inside the page to finish the installation.
Usage
1. When creating a new course, select 'Buttons format' in the 'Course format' dropdown menu.
2. To select the format, simply choose it from the list of course formats in the course settings.
3. Choose the number of sections, or leave the default of 10 sections.
4. Choose where you want the first (zero) section (which has the default 'Announcements' forum) positioned: Either 'Above the list buttons' or 'Below the visible section'.
5. Select the sequential rule. You can uses the count original of the topics, or chose to reset the count to each new grouping.
6. Select the list-style in numbers, alphabet or roman numeral.
7. Write the titles for all the groupings you will use and the number of sections that each one will have. If a group has only one section, the icon will be (...).
8. Write the hexadecimal color for the current section button and the visible section button, or leave it empty to use the default value.
This plugin was uploaded to the Moodle plugin repositories and is under review for approval.
The link on GitHub is this: https://github.com/jrangelardila/moodle-format_btns
its functionaly in 4.2 and top
Thank you for the plugin.
I use this plugin in Moodle 4.3. For the section that has restrict access, whatever option I choose (hidden ou not) by clicking on the eye icon, nobody can see activities of the section. Even admin cannot see the list of activities. The only option is activate "edition mode". But we cannot inform our students about the conditions anymore.
Can you confirm that feature is not possible with this course format?
Best regards
Trazado de la pila (stack):
line 28 of /course/format/buttons/renderer.php: Error thrown
line 134 of /lib/classes/output/renderer_factory/renderer_factory_base.php: call to include_once()
line 65 of /lib/classes/output/renderer_factory/theme_overridden_renderer_factory.php: call to core\output\renderer_factory\renderer_factory_base->standard_renderer_classnames()
line 2167 of /lib/classes/output/theme_config.php: call to core\output\renderer_factory\theme_overridden_renderer_factory->get_renderer()
line 1010 of /lib/pagelib.php: call to core\output\theme_config->get_renderer()
line 1520 of /course/format/classes/base.php: call to moodle_page->get_renderer()
line 164 of /course/view.php: call to core_courseformat\base->get_renderer()
Si pudiera brindarme alguna guía quedraría muy agradecido.
The version 2022020801 has been shown again.
The most recent versions, I didn't try them in 4.0 or 4.1. I don't know if it's functional.
It's correct, in 4.5, it's not made text between on the buttons, for now. About the section Zero, it's added thinking if its necessary one section about the buttons or no.
Do you have a screen with the error?
I use the last version in 4.5, and it's working good!
The method core_courseformat\base::set_section_number() has been deprecated, please use set_sectionnum() instead.
After that, the sections after the main one just don't appear, only a prev/next/jump to navigation is available:
https://jumpshare.com/s/Zhz21C79HufcaUDoDJg2
Can you create the issue?
https://github.com/jrangelardila/moodle-format_buttons/issues
"Fatal error: Cannot make non static method core_courseformat\base::set_sectionnum() static in class format_buttons in .../course/format/buttons/lib.php on line 320"
https://github.com/jrangelardila/moodle-format_buttons/issues/61
The change was upload, would do you confirm if working in your moodle version?
If not function, What moodle version do you use?
Thanks!