[DOCU-1503] YAML area use "title" property, FTL/JSP scripts use "label" for editing the area green bar text. Created: 09/May/18  Updated: 30/Sep/19  Resolved: 30/Sep/19

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: 5.5.6
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Tom Wespi Assignee: Richard Gange
Resolution: Done Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2018-05-09 at 03.03.31.png     PNG File Screen Shot 2018-05-09 at 03.03.59.png     PNG File Screen Shot 2018-05-09 at 03.07.25.png     PNG File Screen Shot 2018-05-09 at 03.07.39.png    
Issue Links:
relation
is related to DOCU-1505 Area definition has no property "titl... Closed
Template:
Acceptance criteria:
Empty
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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" /]

 



 Comments   
Comment by Richard Gange [ 30/Sep/19 ]

It seems this was resolved in DOCU-1505. I will close this.

Generated at Mon Feb 12 01:18:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.