Make Your Own Custom Report in Moodle

Your first step in Moodle and PHP development

4.40 (85 reviews)
Udemy
platform
English
language
Web Development
category
instructor
522
students
5 hours
content
Jan 2023
last update
$49.99
regular price

What you will learn

Moodle Programming

Beginner PHP Programming

Basic HTML

Moodle Administration

Description

In this course you will learn to make your very own custom report in Moodle. Whether you're a teacher, a trainer, a Moodle administrator, or an IT professional, if you want to learn how to customize Moodle, then this course is for you! This course assumes you've never even seen PHP or HTML before... and I will walk you through this project step by step.

This will include learning about three database tables in Moodle and how to query data from those tables. I’ll show you how to use some of Moodle's built in functions to display data. We're also going to learn some PHP: Conditional statements, foreach statements, string functions, and more.

We are going to make a report template, install it, and access it through the admin menu. I’m also going to show you how to add language support: I’ll be adding support for English and Spanish, and you can add support for any languages you would like. I will show you how to add a form so you can send parameters to the report, and we'll also add a bar chart using Moodle's Charts API! 

Even if you've never written any code before, I will walk you through all the details, and you will have access to complete versions all of the report files every step of the way. So, are you ready to learn about Moodle customization? Join me, and let's get started.


Content

Introduction

Introduction

Making the Custom Report Framework

Making a Report Template
Upgrading a Report Using the version.php File
Challenge

Bulk Importing Test Data

Importing Test Data
Viewing Data In the Database & Schema

Querying and Displaying Data

Querying the Database & Displaying the Data
Querying for Cohort Membership
Querying for User Information

Making the Report Look Nice

Cleanup and PHP Functions
Making an HTML table using Moodles output API
User Picture Bulk Import
Adding User Pictures to the Report

Supporting an Additional Language

Adding Support for Additional Languages
Review of index.php

Screenshots

Make Your Own Custom Report in Moodle - Screenshot_01Make Your Own Custom Report in Moodle - Screenshot_02Make Your Own Custom Report in Moodle - Screenshot_03Make Your Own Custom Report in Moodle - Screenshot_04

Reviews

Anthony
September 26, 2023
This was a great course for me to learn how Moodle reports can be created/customized. I'm somewhat new to Moodle (less than 4 weeks with it), but I'm well versed in PHP and Databases. If you aren't well versed in those two technologies, this class might seem like magic to you, and I'm not sure how much you would get out of it. But for me, I got a ton out of it.
Rod
November 15, 2022
This has been my favourite course from Brian and the GWS team. Not only has it been a lot of fun to follow along to each step of the custom report project, it has also been full of interesting and valuable tips that I can use right now in the developement of my own moodle instance. Brilliant job. Thanks Brian. More please!
Alexander
September 29, 2022
I have learned a lot, specially about the moodle sintax, there is a little bit of debugging which is helpful to understand how to self troubleshoot issues and you do a good job of starting with simple code, testing and expanding it to al arger scale. The one thing I would recommend is that this is very linear learning, everything is guided in a "perfect world" .... if you do this, this will happen ... which is great to start with, however there is no room for exploration / further learning ... for example if we want to add other types of parameters to the form we can use the following documentation https://docs.moodle.org/dev/Form_API You dont have to create a full explanation of each, but show where to look for the info
Claudia
June 6, 2022
El aprendizaje es incremental, paso a paso; y se tienen disponibles los códigos que se explican. Ojalá que desarrollaran un curso dirigido a realizar diferentes tipos de consultas en Moodle.
Shinichi
February 3, 2022
I am working on customizing Moodle reports at work, but I was worried about how to customize Moodle reports, so for now it is a very good teaching material. By the way, I'm a Japanese who can't speak English, but I'm learning by using translation with subtitles. It is very easy to understand because it is a teaching material including hands-on
Luis
September 7, 2021
This is a great intro course, but every course author does "intro" courses and nobody seems to ever venture into courses that tackle the more advanced aspects of Moodle development. There are some bad coding practices shows here, like hard-coding string values in some examples while correctly using language strings in other examples.
Alberto
March 5, 2021
A cosa serve questo corso? Fa un solo report, del tutto inutile, quando moodle ha una base dati enorme e che avrebbe meritato di essere trattato. A cosa mi serve fare un singolo report dei gruppi globali? Davvero una pessima esperienza, un'ora e mezza della mia vita buttata a casaccio.
Manoj
June 15, 2020
Very good course to learn basic concepts of report generation, u should be gud in php so you can create complex things inside that.
Sekar
November 27, 2019
good learning. i need more moodle analysis report for course usage. if any other course is available for moodle analysis user reports. let me know the course name.
Gilberto
September 20, 2019
Muito bom! gostei da didática do professor, e gostaria de ver mais material dele gostei muito da aula

Charts

Price

Make Your Own Custom Report in Moodle - Price chart

Rating

Make Your Own Custom Report in Moodle - Ratings chart

Enrollment distribution

Make Your Own Custom Report in Moodle - Distribution chart

Related Topics

2287831
udemy ID
3/24/2019
course created date
11/22/2019
course indexed date
Bot
course submited by