You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Ulm Team,
Has there been any thought for being able to add file support to this plugin? So uploaded static pages could have files?
One way I though of doing was, having an upload area for "static assets", so things like images, pdf docs, etc. That would then would be handled by Moodles file API. These files would then be referenced by relative path and file name in the upload html file.
While @christianwolters is right pointing to the plugin's README file, I think your proposed implementation could be valueable to some admins.
If you want to come up with a pull request for such a static assets area including a proper explanation how to use it in the README file (to avoid too much support questions being asked), that would be great.
Hi Ulm Team,
Has there been any thought for being able to add file support to this plugin? So uploaded static pages could have files?
One way I though of doing was, having an upload area for "static assets", so things like images, pdf docs, etc. That would then would be handled by Moodles file API. These files would then be referenced by relative path and file name in the upload html file.
For example if I had an image tag, like: When the page is rendered this would be replaced (maybe by a filter) to https://mysitet/pluginfile.php/123/local_staticpage/content/background.jpg
Sorry if this has been asked before.
Cheers,
Matt P
The text was updated successfully, but these errors were encountered: