Can I create a remote add-on for a local plugin which doesn't live in the course structure?

Can I create a remote add-on for a local plugin which doesn't live in the course structure?

by Dan Poltawski -
Number of replies: 1

Hi All,

I am in interested in developing a Mobile add-on for a bit of a weird plugin for Moodle land (local_chatlogs) and wondering if its possible to achieve at the moment.

Whats weird about it:

  • It's a local plugin wink the docs point to https://docs.moodle.org/dev/Activity_modules#mobile.php - which makes me wonder if the current addons are limited to Activity modules only?
  • It doesn't really 'live' in a course - but is at site level - then there are navigation hooks to add links to it if the user can access it. Ideally in my vision - the add-on would add its self to the Mobile app 'hamburger menu' conditionally in the same way


cheers,

Dan

Average of ratings: -
In reply to Dan Poltawski

Re: Can I create a remote add-on for a local plugin which doesn't live in the course structure?

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Dan,

yes, you should be able to develop a Mobile add-one for a Moodle local plugin.

I placed the documentation of the new db/mobile.php there file because It was the only page where I saw the typical Moodle plugin required files listed (please, let me know if there's a better place).

You can add any Mobile add-one to any place where is a delegate (side menu, course menu, user profile... 

Please refer to: https://docs.moodle.org/dev/Moodle_Mobile_Remote_add-ons (for instructions for developing the remote add-on)

And

https://docs.moodle.org/dev/Moodle_Mobile that is the generic Mobile docs

We'll really appreciate the feedback from an experienced developer like you, so please, feel free to post here any suggestion, feedback, rant or whatever

Juan

Average of ratings: Useful (2)