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

Update page prototype to reflect changed name of resources templating functions

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR

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