Drupal QSApp Plugin
A Drupal Plugin which allows you to use a Shortcode to add your QSApps to your page.
Download
Install
-
Extract and place the plugin in a
/modules/custom/qsapp_plugin/folder. -
Enable the module
- Extend -> Custom -> QSApp Plugin -> Install
-
Enable the Filter
- Go to Configuration -> Content authoring -> Text formats and editors
- Edit Content to allow the QSApp shortcode
- Under Enabled Filters, check QSApp Shortcode
- Save
-
Insert a Shortcode into your page's Content Editor.
[qsapp id="81cf2456-0979-4880-9729-19ab21f0d87e" mode="canvas" width="800px" height="600px"]
You can replace id="81cf2456-0979-4880-9729-19ab21f0d87e" with your own QSApp ID and adjust the width and heights as necessary.
Custom Loading
You can set your own custom loading image for your QSApp using the loading_image property in the shortcode.
[qsapp id="QSAPP_ID" loading_image="https://example.com/my-custom-loader.png"]
You can also hide the loading screen entirely using the hide_loading property.
[qsapp id="QSAPP_ID" hide_loading="true"]