[DOCU-260] Update Resources documentation Created: 09/Mar/12  Updated: 06/Jan/15  Resolved: 06/Jan/15

Status: Closed
Project: Documentation
Component/s: content
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Antti Hietala Assignee: Ruth Stocks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 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


 Comments   
Comment by Ruth Stocks [ 22/Mar/12 ]

Updated page at - http://docuauthor.magnolia-cms.com/modules/resources.html

Also updated the following related pages:

Generated at Mon Feb 12 01:07:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.