i am new to Moodle however i can do what i want in Php language. i need to add some functionality to Moodle admin dashboard ,it is like sending email to email address that would be filled(text field) by Moodle admin, now i wonder which type of Moodle plugin should i develope: block,admin tools or .. ?
then in php file(action_page.php) the process is like this:
to be exact my question is more about plugin types and which that fits my needs and all i need is something like below image prototype |
I think its better to use block plugin type . this documentation may help you :
Take a look at some of the blocks that already exist with full email functionality, and then simplify them if needed - eg
https://moodle.org/plugins/block_admin_email
https://moodle.org/plugins/block_quickmail
https://moodle.org/plugins/block_jmail
(I use Quickmail)
looking at quickmail helped. thnaks