Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-1503

YAML area use "title" property, FTL/JSP scripts use "label" for editing the area green bar text.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • None
    • 5.5.6
    • None

    Description

      In Area Defintion 

      https://documentation.magnolia-cms.com/display/DOCS56/Area+definition

      the property "label" is missing. Areas just accept "label" in freemarker/jsp files (@cms.area...), using title leads to an error. In YAML definition just "title" is accepted.

      But as said in "You can use common template properties and the following properties in an area definition:", "title" cannot be used in @cms.area tag.

      YAML:

      areas
       article:
           createAreaNode: false
           title: Artikel

      FTL:

      [@cms.area name="teaser${i}"   label="Teaser vor '${article.articleTeaserTitle}' einfügen" /]

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rgange Richard Gange
                tomwespi Tom Wespi
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR