Details
-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
Magnolia 4.5 (Resources module 1.5) introduces changes in the resources workspace. Update the Resources module article and search through other documentation for any text that needs to be changed.
Changes:
- The resources workspace now supports binary content. You can upload images and documents into the workspace. This is where pop theme images are now stored. Prior to 4.5, only theme CSS and JavaScript were stored in resources whereas images were stored in the DMS.
- Two new templates (displayed to user in Resource type column) are configured in /modules/resources/templates:.
- binary template is used for binary resources such as images and documents.
- reference template is used for references to other resources. Currently only used in aggregator JavaScripts. For example, Templating Kit > Resources > /templating-kit/js/mobile-scriptloader-libraries.js is an aggregator script that loads core jQuery functions needed on mobile devices. The child nodes of the script are references to the actual JavaScript files. This allows us to store the actual script once and reference it from multiple places. The aggregation mechanism is described in the Mobile article and in How to migrate your theme. The second article is a good overview of how the storing of theme resources has changed.
- The resources tree is the same class as before but icons have changed. Update screenshots.
- Instead of one common dialog, there are now separate dialogs for:
- Text resources that you can edit such as CSS
- Binary resources that you can upload and preview such as images.
- References that use the internal link control to link to the actual target such as a JavaScript file.
- Instead of one common renderer for text resources, there are now separate renderers for:
- Text
- Binary
- Reference
Checklists
Acceptance criteria