[DOCU-527] Add details about new features of InstallTextResourcesTask to STK/Theme documentation Created: 18/Jul/14  Updated: 05/Aug/14  Resolved: 05/Aug/14

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

Type: Improvement Priority: Neutral
Reporter: Philip Mundt Assignee: Antti Hietala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLSTK-494 Files from theme can differ in the fi... Closed

 Description   

MGNLSTK-494 added the possibility to have the ThemeUpdateHandler install 2 images in your theme "icon.jpg" + "icon.gif" with the same file extension (see info.magnolia.module.resources.setup.InstallTextResourcesTask).

InstallTextResourcesTask(String taskName, String taskDescription, String encoding, String pattern, String template, boolean processed,
            String modelClass, boolean preserveResourcesParameters, boolean stripExtension)

The last parameter stripExtension would have to be set to false, to "enable" the new feature.

See:

  • info.magnolia:module.templatingkit.setup.ThemeVersionHandler.java:61
  • info.magnolia.module.templatingkit.setup.ThemeInstallTask


 Comments   
Comment by Ruth Stocks [ 05/Aug/14 ]

Documented at http://documentation.magnolia-cms.com/display/DOCS/Themes#Themes-Themeinstalltask

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