Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-527

Add details about new features of InstallTextResourcesTask to STK/Theme documentation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ahietala Antti Hietala
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: