Customising Moodle with Course Formats Alex Walker
-
Upload
ireland-uk-moodlemoot-2012 -
Category
Presentations & Public Speaking
-
view
190 -
download
0
description
Transcript of Customising Moodle with Course Formats Alex Walker
![Page 1: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/1.jpg)
Custom Course Formats
Alex Walker City of Glasgow College
![Page 2: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/3.jpg)
![Page 4: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/4.jpg)
![Page 5: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/6.jpg)
Why Build a Course Format
![Page 7: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/7.jpg)
Why Build a Course Format
![Page 8: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/9.jpg)
Masonry Format
![Page 10: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/10.jpg)
Grid Format
![Page 11: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/11.jpg)
One Topic Format
![Page 12: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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 topic is ready to customise.
![Page 15: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/18.jpg)
Building a Course Format
![Page 19: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/19.jpg)
Building a Course Format
![Page 20: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/20.jpg)
Building a Course Format
![Page 21: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/21.jpg)
Building a Course Format
![Page 22: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/22.jpg)
Building a Course Format
![Page 23: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/23.jpg)
Building a Course Format
![Page 24: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/24.jpg)
Building a Course Format
![Page 25: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/25.jpg)
Building a Course Format
![Page 26: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/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: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/27.jpg)
Building a Course Format
![Page 28: Customising Moodle with Course Formats Alex Walker](https://reader033.fdocuments.net/reader033/viewer/2022052822/554dccacb4c905c7488b5559/html5/thumbnails/28.jpg)
Questions
Alex Walker City of Glasgow College