Good practices when creating a template

Good practices when creating a template

by Arkadiusz Malkowski -
Number of replies: 1
Picture of Testers

Hi,

I read the page https://docs.moodle.org/dev/Themes and I have a question for additional good practices, do you recommend any plugs to the code editor which make work easier or checking CSS, SCSS, mustache (im. I use Visual Studio Code)


Applies to https://docs.moodle.org/dev/Theme_checklist


But I will be happy to hear prototipas ^^

Average of ratings: -
In reply to Arkadiusz Malkowski

Re: Good practices when creating a template

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

I use:

  • Notepad++ or gEdit.
  • Local web server for testing.
  • error_log() and print_r($thing, true) for debugging.
  • Browser developer tools.

G

Average of ratings: Useful (1)