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

templating: support optional areas (non-optional areas)

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Critical
    • 4.5
    • None
    • templating
    • None

    Description

      We have to support optional areas. If an area is optional it has first to be created (via a create button).

      If an area is optional:

      1. if not yet created
        • the area bar has a create button
        • the script is executed
          • in the edit mode but the content object is null (otherwise we can't place the bar)
          • not executed otherwise (no place holder divs)
      2. if create
        • the bar has a remove button (other areas cannot be removed nor created)

      If an area is required

      • the area node gets created (always)
      • the script is always executed
      • no remove or create button (just edit)

      All kind of areas can be optional (noComponents, single, list)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              pbaerfuss Philipp Bärfuss
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: