I need help. My first steps in Moodle development

I need help. My first steps in Moodle development

by Alejandro Pampín -
Number of replies: 5

Hello, 

I'm currently learning Moodle development, I already completed a course from Udemy and surfed the internet a little bit more to know about plugin structure, so I know the basics, but I have an idea of a new plugin for a project and I am currently blocked on how to do it. 

The first thing I need (and I'll try to be the only one, but surely I need this initial boost) is to make a simple plugin which its only function is to show a message (I don't care if it is a console.log or a window.alert, something like that) when a student click on the Mark as done on a task from a course, so simple like that, a test message, like a "Hello World!", once I got it, I think I should be able to continue alone.

.

Thank you very much and I hope I won't disturb the experts from here who surely are busy with real issues, not like mine. I really appreciate every advice you can give me.


Average of ratings: -
In reply to Alejandro Pampín

Re: I need help. My first steps in Moodle development

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Have your tried the tutorial yet? https://docs.moodle.org/dev/Tutorial
Average of ratings: Useful (1)
In reply to AL Rachels

Re: I need help. My first steps in Moodle development

by Alejandro Pampín -
Yes but no idea on how to do something as specific as my idea. I really appreciate every advice.
In reply to Alejandro Pampín

Re: I need help. My first steps in Moodle development

by Benjamin Ellis -
Picture of Particularly helpful Moodlers

Apart from the development pages here on moodle.org, there are a couple of development books – see https://moodle.org/books including my book ‘Introduction to Moodle 3.9+ Plugin Development‘ (https://books2read.com/m39plugindevelopment) and a number of courses - Moodle Plugin Development Basics (https://moodle.com/news/learn-moodle-plugin-development/) (free), the MoodleBites for Developers Level 1 – expensive – (https://www.moodlebites.com/mod/page/view.php?id=24546) and a few short specific ones on Udemy (https://www.udemy.com/courses/search/?src=ukw&q=moodle+development) which you said you have tried.


Average of ratings: Useful (2)
In reply to Alejandro Pampín

Re: I need help. My first steps in Moodle development

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
It seems that you just want to add a tooltip when hovering over a button - see, for example, https://www.w3schools.com/bootstrap/bootstrap_tooltip.asp

and the code you'll need for your specific example of when a student clicks on the "Mark as done" button will be in
https://git.moodle.org/gw?p=moodle.git;a=tree;f=completion;hb=refs/heads/MOODLE_311_STABLE
Average of ratings: Useful (2)