Buttons

Course formats ::: format_buttons
Maintained by JHON EDINSON RANGEL ARDILA
Buttons is a course format that creates a menu with buttons to access the sections, one by one. Please favourite ♥!
Latest release:
4203 sites
1k downloads
254 fans
Current versions available: 5
Monitor

Logo

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.

Documentation

Click here to open the full documentation

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

JHON EDINSON RANGEL ARDILA (Lead maintainer)
Rodrigo Brandão: Previous maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • JHON EDINSON RANGEL ARDILA
    Wed, 5 June 2024, 12:43 AM
    I created a plugin called format_btns, with the ultimate idea of it doing a function similar to format__buttons.
    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
  • Minh Hanh NGUYEN
    Wed, 24 July 2024, 12:14 AM
    Hello,
    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
  • MAURICIO JAVIER GONNET PEREYRA
    Thu, 24 Oct 2024, 3:25 AM
    Hola, he instaldo el plugin en mi sitio pero para el curso que lo he habilitado ha dado error:

    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.
  • Jürgen Schmitz
    Wed, 6 Nov 2024, 10:28 PM
    Is there any reason why 4.x (2024110500) does no longer support Moodle 4.1 while 2022020801 did? On the other hand, 2022020801 is no longer available for download.
  • JHON EDINSON RANGEL ARDILA
    Wed, 6 Nov 2024, 11:52 PM
    Hello Jürgen Schmitz.

    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.
  • Jürgen Schmitz
    Thu, 7 Nov 2024, 12:21 AM
    Thanks a lot for fast response! That's fine for me.
  • Bulbul Ahmad
    Fri, 22 Nov 2024, 10:44 AM
    I have updated the "Buttons" course format for Moodle 4.5. Currently, there is no option to add text between the buttons. The button group is positioned on the left side, and there is no option to center-align them. Additionally, there is a "Zero" button, which I believe is unnecessary.
  • JHON EDINSON RANGEL ARDILA
    Fri, 22 Nov 2024, 11:07 PM
    Hello Bulbul Ahmad

    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.
  • Stephan Behrens
    Wed, 5 Feb 2025, 4:11 PM
    With Moodle 4.5.1+, all sections and also the navigation with the buttons are no longer showing up. I am using the latest plugin version (2025011300). Does anyone else here have the same problem?
  • JHON EDINSON RANGEL ARDILA
    Thu, 6 Feb 2025, 2:13 AM
    Hello Stephan

    Do you have a screen with the error?

    I use the last version in 4.5, and it's working good!
  • Stephan Behrens
    Mon, 17 Feb 2025, 12:55 AM
    As soon as I select the "buttons" course format, I receive a debut message:
    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
  • JHON EDINSON RANGEL ARDILA
    Sat, 22 Feb 2025, 5:12 AM
    Yes, I found this problem.

    Can you create the issue?
    https://github.com/jrangelardila/moodle-format_buttons/issues
  • Ricardo Caiado
    Tue, 1 Apr 2025, 7:20 PM
    Updating to version 4.x (2025033100) I got this error message:

    "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
  • JHON EDINSON RANGEL ARDILA
    Tue, 1 Apr 2025, 10:12 PM
    Hello

    The change was upload, would do you confirm if working in your moodle version?

    If not function, What moodle version do you use?
  • Ricardo Caiado
    Tue, 1 Apr 2025, 10:16 PM
    Problem solved!

    Thanks!
1 2 3 4 5 6
Please login to post comments