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

copied stkTemplates Header Dialogs dont work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1
    • 1.0
    • None
    • None

    Description

      If i copy and rename a stkTemplate e.g. an "article" to "article-no-left-nav" and modify it, then then the "Edit Article Header" is not being found.

      This is beacause of the following line from "/templating-kit/templates/content/mainAreaIntro.ftl":

       [@cms.editBar dialog="${templateName}Header" editLabel="${i18n['${pageType}.editHeader']}" moveLabel="" deleteLabel=""/] 
      

      Here the template name is used to reference a dialog - as a workaround we just copied and renamed the according dialogs.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              rainer Rainer Blumenthal
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: