Components for Learning (C4L)

Atto ::: atto_c4l
Maintained by Roger Segú
A collection of visual components designed explicitly for Learning to use in the Atto editor.
Latest release:
1162 sites
558 downloads
46 fans
Current versions available: 1

A plugin for the Atto editor that provides a collection of visual components designed explicitly for Learning, based on the parent project https://componentsforlearning.org.

Plugin demo screenshot

You can find a more detailed description of the project on its website, https://componentsforlearning.org. You will find there the related documentation (https://componentsforlearning.org/components), and some general usage recommendations for all components included there.

No configuration settings are required for this plugin. Just install it from the Site Administration area (Plugins → Install plugins → Install plugin from ZIP file). 

Once the plugin is installed, you will need to make the button visible in the Atto editor. To do so, also in the Site Administration area, go to Plugins → Text Editors → Atto HTML editor. Then scroll down to the Toolbar config area, and add the text 'c4l' whenever you wish the editor bar to show the button. For instance, if you want the button to show before the 'emojipicker' button, just insert it like that:

files = c4l, emojipicker, image, media, recordrtc, managefiles, h5p

Screenshot showing how to add the button to the Atto menu.

This plugin has been possible thanks to the Institut Obert de Catalunya, which has committed to the project and is currently using a very similar version of the components. A big thank you to all the teachers that accompanied me all over the design and testing process.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Roger Segú (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Отобразить комментарии
  • Gillian Delvigne
    вт, 15 мар. 2022, 17:06
    Thank you for your quick and kind reply.
    That's what I'm going to do. But before that, I wanted to be sure that there wasn't a way to do it that was provided by the plugin.
  • Roger Segú
    пн, 21 мар. 2022, 17:16
    Thanks, Gillian! I hope it works fine for you улыбаюсь
  • Tim Brouckaert
    ср, 14 дек. 2022, 04:28
    Since Moodle 4.1 TinyMCE 6 comes back as an editor, from 4.2 and up, it will be the default and Atto will be removed. Any chance this will also be migrated to TinyMCE?
  • Roger Segú
    ср, 14 дек. 2022, 17:25
    Hi Tim,
    Thanks for showing interest in the plugin. There is actually a TinyMCE version waiting to be approved by Moodle. Once it's done, it will be automatically added to the official Plugins directory. I hope it doesn't take long.
  • Roger Segú
    ср, 14 дек. 2022, 18:08
    Also, just in case you wish to help give the approval process momentum, you can do that by clicking on 'Vote for this issue' in the Moodle Tracker's ticket, here's the link:

    https://tracker.moodle.org/browse/CONTRIB-9149?jql=text%20~%20%22c4l%22

    Thanks!
  • Tim Brouckaert
    ср, 14 дек. 2022, 18:10
    Done! Thanks for your work!
  • Roger Segú
    ср, 14 дек. 2022, 18:21
    Great! thank you very much for your support, Tim!
  • Nico Hang
    ср, 26 апр. 2023, 13:34
    Thank you for this Plugin! The Block "Learning Outcomes" (https://componentsforlearning.org/components/learning-outcomes/) is not avaiable in this version, will it be added sometimes? This would be great улыбаюсь
  • Roger Segú
    ср, 26 апр. 2023, 16:37
    Thanks, Nico! Sure, I count on adding the "Learning Outcomes" component to this plugin version very soon улыбаюсь Please keep tuned!
  • Claudio Visa
    вс, 14 мая 2023, 14:45
    como hago para cargar las plantillas
  • Roger Segú
    вс, 14 мая 2023, 18:37
    Hola Claudio, a qué plantillas te refieres?
  • Tim Boniface
    пт, 12 апр. 2024, 13:41
    What's the ETA on updating atto version to version 2.1.0 in line with the TinyMCE plugin?
  • Ольга Федорова
    ср, 8 мая 2024, 00:23
    We are really looking forward to the plugin for moodle 4.3 улыбаюсь
  • Federico Sperling
    пн, 23 дек. 2024, 22:04
    Hi @Roger and all,
    I want to customize the colors of the quote and other components, how can I do that?i
    For example the left line and the " is light blue and I need converted to an specific red that we are using in our school, how can I do it?
    THANKS IN ADVANCE.
  • Roger Segú
    вс, 29 дек. 2024, 16:15
    Hi Federico,
    It’s a bit complicated to modify the styles, as the original idea was to save the teacher the task of visual design (although I completely understand that in certain contexts, it may be necessary or desirable).
    There’s a part you can modify from the CSS (Site administration → Appearance → Additional HTML → Within HEAD). For example, in the case of the Quote component, if you want the color of the sidebar to be green, you should add the following CSS:

    .c4l-quote .c4l-quote-line, .c4lv-quote .c4l-quote-line {
    border-left-color: #4CAF50;
    }

    However, the quotation icons are actually images (SVG), so you will need to modify them via code within the plugin folders:

    lib/editor/atto/plugins/c4l/pix/noun_project_icons

    In this case, in order to change the color of the icon c4l_quote_icon.svg and assign it the new color, you'll need to look for all occurrences of the text fill="#1679F9" in the file and replace it with fill="#4CAF50" (or the new color you’ve chosen).

    Naturally, since you’re modifying the original files, when you update the plugin you’ll need to be careful not to overwrite these changes, or otherwise adding them again.

    Another option would be to use the functionality to create your own custom components, although this is only available for the TinyMCE version:
1 2
Please login to post comments