LinkAdv

Atto ::: atto_linkadv
Maintained by Mark Sharp
This is an atto plugin for Moodle which is a drop-in replacement for the default atto_link plugin. It adds an extra couple of fields to the link dialog: id and class. These allow the user to create bookmarks or add styles to their links (e.g. btn btn-primary for Bootstrap-based themes).
Latest release:
253 sites
52 downloads
6 fans
Current versions available: 2

This is an atto plugin for Moodle which is a drop-in replacement for the default atto_link plugin.

It adds an extra couple of fields to the link dialog: id and class. These allow the user to create bookmarks or add styles to their links (e.g. btn btn-primary for Bootstrap-based themes).

Note: Not all areas of Moodle allow you to add HTML with the id field (e.g. User profile description). But it should be available in most places including label and page. You should refer to the individual plugins to discover if ids are being stripped.

Screenshots

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

Contributors

Mark Sharp (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Plugins bot
    Wed, 7 June 2017, 4:10 PM
    Approval issue created: CONTRIB-6922
  • Wyatt Green
    Fri, 12 Jan 2024, 4:48 AM
    Is there a way to have the class field pre-populated with something like btn btn-primary?
  • Mark Sharp
    Mon, 15 Jan 2024, 5:05 PM
    No sorry. That would be really annoying for anyone not creating buttons.
Please login to post comments