Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4711

Templating: Allow to omit the area node for structural areas by configuration only.

    XMLWordPrintable

Details

    • Yes

    Description

      Sometimes its not needed to have an area node. This is especially the case if the area is of type noComponents.

      Currently this is achieved by passing the current node (page for instance) to the area tag. Following an example of the main.ftl of the STK:

          [@cms.area name="branding" content=content/]
      

      We should introduce the attribute (on the tag and the definition) to achieve the same.

      I suggest to add areaNode with default value true.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                pbaerfuss Philipp Bärfuss
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD