Create new plugin

Create new plugin

by shatha mhana -
အကြောင်းပြန်မှု အရေအတွက်: 2

Hello everyone,  i am new in moodle plugin development I want to create new plugin for display a report contains course name , teacher name and topics related to this course .

What is the steps for create this plugin including the files I must create  and during the development process its nessesary to use git.


I am using moodle v 3.11.6

ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
shatha mhana ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Create new plugin

by David Mudrák -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ Plugins guardians ၏ ရုပ်ပုံ Testers ၏ ရုပ်ပုံ Translators ၏ ရုပ်ပုံ

Hello and welcome to the Moodle developer community. It's always good to get a bit more familiar with existing solutions. Check how existing reports work and then look how they were written. Make sure to browse the Plugins directory – chances are there is already a plugin doing what you need, or a similar one. Once you are ready to start with actual coding, you may find the Moodle plugin skeleton generator useful to get a scaffolding ready for your new plugin.

Good luck!

David Mudrák ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Create new plugin

by Carles Aguiló -
Moodle HQ ၏ ရုပ်ပုံ
Hello Shatha, as a complement to David's post, if there is no plugin doing what you need, https://moodle.academy/course/view.php?id=64 is a good place to start. The first course of the itinerary called "Moodle Development Environment" already lets you create a basic plugin.

Cheers!