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

Use Content2Bean to instantiate a site's template prototype

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Not an issue
    • Critical
    • None
    • 1.3.5
    • templates
    • None

    Description

      Currently C2B is not used to instantiate the site's prototype, which is sad.

      Developers expect being able e.g. to use the "class" nodedata to switch the implementation of an area (e.g. the header). Instead (if you're lucky, e.g. for header, but not for something deeper in the hierarchy) one needs to set the implementation class in a custom module's properties to be able to switch the implementation.

      Note also, that the objects created in DefaultSTKTemplateConfiguration are not taken into account at all. They're only used for merging the configurations which seems to be odd as well.

      I'd like to suggest using C2B for instantiating the merged template configuration (merge based on Content objects not beans).

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              vivi Vivian Steller
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: