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

    • Type: Task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.7
    • Labels:
      None
    • Sprint:
      Saigon 75
    • Magnolia Release:
      5.5.1

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

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