Course formats ::: format_buttons
Maintained by Rodrigo Brandão
Buttons is a course format that creates a menu with buttons to access the sections, one by one. Please favourite ♥!
Latest release:
4864 sites
209 fans
Current versions available: 2

Buttons is a course format that creates a menu with buttons to access the sections, one by one.

Donate to Development

"help me to continue this wonderful project.
I will be sincerely grateful."
rodrigo brandão


* 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.


* 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.


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.


Click here to open the full documentation


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


Rodrigo Brandão (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Sat, Jan 13, 2018, 12:08 AM
    Hello Rodrigo,
    When I activated the plugin and edit the topics at course home page one error is occorring, a pop-up is showed with the error: inplaceeditableerror
    Is someone had the same problem?
  • Thu, Jan 18, 2018, 11:12 PM
    Hi Rodrigo

    I added my issue to Github re embedded content - was just wondering if there's any progress or potential to fix this, as it's really inhibiting us using this great course format.

    Hope you can help!
  • Wed, Feb 7, 2018, 4:56 PM
    Olá Rodrigo.

    Fantastic format!!

    How can I put more than two colors on the buttons? How in this image

    Muito Obrigado!
  • Thu, Feb 22, 2018, 11:10 PM
    Build: 2018022100 throws an error when you try to edit a course with the Buttons format under Moodle 3.1.10 (Build: 20180115) and the Clean theme. Before the update everything worked fine. With Moodle 3.4 (Build: 20171113) it works fine.
  • Fri, Feb 23, 2018, 12:36 AM
    Build: 2018022200 released!
    - Fixes issue that occurred in Moodles version 3.2.x, 3.1.x and 3.0.x
  • Wazza
    Wed, Apr 11, 2018, 4:10 PM
    If a section is hidden, the button turns grey. I can not click it to go to that hidden section (even as admin). Is this correct behavior? And how do i get to the hidden section without tuning editing on every time?
  • Tue, Apr 24, 2018, 8:52 PM
    Hi Rodrigo,

    Great plugin!

    I would like to know if it is possible to do the following customizations to your plugin:

    1) Can we adjust the positioning of the buttons panel?
    2) Can we add text/names/course sections into the button instead of numbers?
    3) Is it possible to change the layout and alignment of buttons?

    thanks so much.
  • Wed, Jun 6, 2018, 6:12 PM
    Great ! Thanks a lot !
  • Mon, Jul 2, 2018, 4:43 PM
    Is there any README file where the changes of the versions are described?

    Thank you!
  • Ricardo Caiado
    Tue, Nov 27, 2018, 2:50 AM
    Please, can you add moodle auto-updater to this plugin? We update moodle every
    week and have to find the plugin when the others all do it automatically. It
    would save so much time, thank you.
  • Tue, Dec 4, 2018, 11:56 AM
    I really like this course format. Is there any options to change the number of groups? maximum of six is available
  • Mon, Jan 7, 2019, 5:44 PM
    Can you update it to Moodle 3.6 version please?
  • Thu, Jan 31, 2019, 3:06 PM
    Well made plugin. I am curious though if there is an update to 3.6 planed? Thank you in advance
  • Sat, Feb 9, 2019, 6:35 PM
    Same question. Is there an update to Moodle 3.6 ?
  • Wed, Apr 10, 2019, 8:09 PM
    Great plugin! Would love the update for 3.6 though. When installed in 3.6 there seems to be some spacing issues between buttons randomly. I also get some button with "..." instead of numbers in the first section. And the section names do not always appear. Thank you very much for developing and supporting this plugin!!!
Please login to post comments