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

Create new tag called "page" and deprecate "init"

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.4
    • None
    • taglibs, templating
    • None
    • Yes

    Description

      The [@cms.init /] directive name is misleading. When it was created in Magnolia 4.5 the name actually reflected what the directive did (at least in part) as it injected the GWT-generated js and css which were needed to make page editor work, besides providing info about the preview status, i18n and what not. As of Magnolia 5.0 all it does is actually creating a "cms:page" tag to instruct the page editor about the current content and the page properties dialog id. We should thus deprecate the old cms.init and replace it with a more properly named cms.page directive.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD