marinaglancy / moodle-format_flexsections

25 stars 25 forks source link

There is no Moodle Mobile App Support #75

Open egp5 opened 10 months ago

egp5 commented 10 months ago

Hi,

Thanks for this very useful plugin. It works great in my Moodle 4.0 instance but when I open the mobile app it appears in the default course format. So I read the Moodle documentation for creating Mobile App support for plugins for the course format plugin and implemented the app support for the Flex Sections plugin. I am adding the screenshot of the app below:

Screenshot 2023-10-31 at 12 16 24 PM

Since I don't know how to create a recursive function in mustache template, I have implemented only until 3 subsections max.

marinaglancy commented 10 months ago

Hello, thanks for creating this issue. To be honest I have no experience yet adding mobile support to the plugins. To me it sounds that having three nested levels is better than one, we can flatten the deeper sublevels. If you can create a pull request with your solution, it would be great. Thanks

egp5 commented 9 months ago

Yes, I shall learn about pull request and do it. Kindly give me time.

marcelo2108 commented 4 months ago

Hello Guys! @egp5, did you have time to solved? we face the same problem. thanks for your amazing job bro.

marcelo2108 commented 3 months ago

Hello, thanks for creating this issue. To be honest I have no experience yet adding mobile support to the plugins. To me it sounds that having three nested levels is better than one, we can flatten the deeper sublevels. If you can create a pull request with your solution, it would be great. Thanks

Hello Marina! I noticed a new version was released. Do you know if they were able to resolve this issue with the mobile app? cheers! @marinaglancy

marinaglancy commented 3 months ago

Hello, I don't think I will be able to address this myself but I will be happy to review and accept contributions.

I never worked with mobile app support in plugins myself, I don't even know if add-on course formats CAN change how course looks in the mobile app.

marcelo2108 commented 3 months ago

Hello Marina, thank you for your response. Don't worry, we'll find a solution eventually. It's a shame that Moodle doesn't include support for this feature. Sincerely!