course formats in moodle
DESCRIPTION
Moodle offers several "course formats". This presentation briefly covers some of the built-in and downloadable formats, a few ideas for what you can include in your own course formats, a brief overview of our custom 'City' course format, and a few pointers on how to build your own course formats.TRANSCRIPT
![Page 1: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/1.jpg)
Custom Course Formats
Alex Walker City of Glasgow College
![Page 2: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/2.jpg)
The Point Of This Talk
• An introduction to course formats.
• An overview of the course formats available to you.
• A brief tutorial on building your own.
![Page 3: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/3.jpg)
![Page 4: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/4.jpg)
![Page 5: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/5.jpg)
Why Build a Course Format
• Control how items are displayed.
• Add extra things to the course page.
• Customise your Moodle courses to reflect the way your institution teaches.
![Page 6: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/6.jpg)
Why Build a Course Format
![Page 7: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/7.jpg)
Why Build a Course Format
![Page 8: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/8.jpg)
Pros & Cons
• Create 'useful links' that make it easier for teachers to run courses.
• Add features without using blocks.
• New ways of organising and displaying course materials.
![Page 9: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/9.jpg)
Masonry Format
![Page 10: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/10.jpg)
Grid Format
![Page 11: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/11.jpg)
One Topic Format
![Page 12: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/12.jpg)
Other Course Formats
• Some course formats don't have sections at all.
• Moodle's social course format is just a forum.
• Singleactivity makes a course that is just a single activity (2.6+)
![Page 13: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/13.jpg)
Building a Course Format
• You don't have to start from scratch!
• Take a copy of the 'topics' folder and rename a few things.
• Moodle's developer wiki has documentation on course formats.
• Warning! Upgrading from Moodle 2.3 or lower will break your course formats.
![Page 14: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/14.jpg)
Building a Course Format
• Rename the folder, language file, and class name in lib.php
• Search and replace in the format's files: from format_topics to format_whatever.
• Your format is ready to customise.
![Page 15: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/15.jpg)
Building a Course Format
• format.php is responsible for outputting the course's main content area.
• The heavy lifting is devolved to renderer.php
![Page 16: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/16.jpg)
Building a Course Format
• format.js holds any Javascript you need.
• styles.css contains any CSS you need for your format - don't put it in your theme's CSS.
![Page 17: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/17.jpg)
Building a Course Format
• If you want to customise the overall page layout, you can change format.php
• If you want to customise how sections are output, you can use renderer.php
• You can always look through other formats to find examples.
![Page 18: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/18.jpg)
Building a Course Format
![Page 19: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/19.jpg)
Building a Course Format
![Page 20: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/20.jpg)
Building a Course Format
![Page 21: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/21.jpg)
Building a Course Format
![Page 22: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/22.jpg)
Building a Course Format
![Page 23: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/23.jpg)
Building a Course Format
![Page 24: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/24.jpg)
Building a Course Format
![Page 25: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/25.jpg)
Building a Course Format
![Page 26: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/26.jpg)
Building a Course Format
• Course formats can have 'fields' that let you customise information.
• For example, this optional Twitter Username field pulls in tweets from that user.
• Can be set up in your format's lib.php file.
![Page 27: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/27.jpg)
Building a Course Format
![Page 28: Course Formats in Moodle](https://reader031.vdocument.in/reader031/viewer/2022020115/54b733834a79595e468b45b5/html5/thumbnails/28.jpg)
Questions
Alex Walker City of Glasgow College