Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-407

Make template hierarchy configurable (as opposed to pluggable)

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 1.5
    • 1.1
    • concept
    • None

    Description

      Explanation:
      When creating in Website a new page, a template has to be chosen by the dropdown. STK limits what can be chosen by its hierarchy level & parent template type:

      • First level only a template choose able with category 'home'
      • Second level (below home) only a 'section' template can be added.
      • On third level (below first section) 'section' and 'content' templates can be added.

      I want to rise here a discussion, if this should be dynamically configurable over the site configuration or not:

      • This behavior is defined in the class TemplateAvailability.java
      • For making a small change of this behavior, the class 'TemplateAvailability' has to be overwritten.

      One use case is for example:

      • In Burger it should be allowed, to add a article page directly to the home page, without having a section page in between.

      Wouldn't it make sense, to have this definable directly in the site configuration?

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cringele Christian Ringele
                cringele Christian Ringele
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: