Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-59

Update page prototype to reflect changed name of resources templating functions

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 1.0.7
    • None
    • None
    • Saigon 75

    Description

      Context

      Update page prototype to reflect changed name of resources templating functions.

      With MGNLRES-293 the resources templating functions move from https://github.com/rah003/neat-resources to the magnolia-resources modules.

      The identifier / name of the registered context attribute has changed from hcmcfn to resfn.
      mgnl-cli-prototypes/page/template.ftl
      must be adapted.

      Tasks

      update prototype page template script

      Currently the prototype for the page template script contains this snippet (and others):

      [#-- ${hcmcfn.css(["__lightDevModuleFolder__/.*.css"])!} --]
      

      It should be replaced by:

      [#-- ${resfn.css(["__lightDevModuleFolder__/.*.css"])!} --]
      
      update mgnl-cli.json

      Remove neat-resources from mgnl-cli.json/downloadJars.

      document downloadJars config section

      Document downloadJars in the ReadMe and the Magnolia CLI docs page.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                cmeier Christoph Meier
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 7.5h
                      7.5h