Adding an accordion component

One of the changes to Moodle 2.7 is a new ATTO editor for adding content straight into Moodle. Since my adaptive content tool (ACT) was based on the previous editor (tinymce), I decided to do a little code re-write and make it available for the new editor.

While re-writing the code, I also realized that I needed to update the components a little. For one, it had to be easier to use, and secondly also provide you with more options.

As you can see from the clip below, you can now add the Accordion to the screen by simply clicking a button. Adding or changing the content is pretty easy as well. One of the small additions was to make the Accordion function while in edit mode. This would help you to quickly click through and check the content.

ATTO Accordion

ATTO Accordion

 

As for choices – here I wanted the options available to you to be as close as a single click away. Meaning, if you want to add a ‘warning’ note to the screen, simply select the note icon, select the warning option and add it.

ATTO Note

ATTO Note

 

The above updates are a few that are planned or have been coded for the new release of Moodle 2.7.

One thought on “Adding an accordion component

  1. Pingback: Adding an according component - Atto editor | M...

Leave a Reply

Your email address will not be published. Required fields are marked *