Posts made by Itamar Tzadok

With this extension different pages can include or exclude selected sections from a source page. Excellent for logical organization of info in the same category but different contexts/components. For example, import settings of 20 sub-plugins can reside in one page and provide one view of all settings, and each sub-plugin specific section is transcluded into the respective sub-plugin page (template syntax). Maintenance of the documentation of these import settings becomes much easier because it is done in one place and populated by transclusion to all other pages.

Vote: MDLSITE-2895

smile

Average of ratings: -

Yes, this is because the Database module stores content for the file and the picture fields with a file name, so while it does upload multiple files to the file system with the above hack it refers in display only to the last one. Can be fixed with some effort so you can open a tracker issue for that.

The Dataform shows all files (or images) and you can set the display to either horizontal or vertical:

 

hth smile

Average of ratings: Useful (1)

You can use get_role_users in the context to get the users with role teacher in the course.

See https://github.com/moodle/moodle/blob/c0e88129d16f4ab0f7687990b892ec3f0949623b/lib/accesslib.php#L4052.

You may want to consider to send_message via the Moodle messaging system rather than sending email directly. By default it would send an email too.

smile

Average of ratings: Useful (1)