Editors can now specify the language in which the text on a web page is written.
In previous versions, the editing configuration of an object or a widget class allowed you to customize the title their instances should have in the Content Browser and in properties views. For this, the
titleForContent callback can be provided.
Sometimes, for example with homepages, a label meaningful to editors cannot be derived from the visible content alone. For handling such cases, Scrivito introduces a new attribute convention:
As a default, i.e. if no callback has been provided,
titleForContent now first looks for a
contentTitle, and then, if it’s empty, for a
title string attribute. This makes it possible to provide a custom title for editors (
contentTitle) as well as the regular title to be displayed to visitors (