Editors now have access to the target
property of link
and linklist
fields, making it possible to specify whether a link should be opened in a new window. Note that your app needs to render this property for it to have an effect:
Editors now have access to the target
property of link
and linklist
fields, making it possible to specify whether a link should be opened in a new window. Note that your app needs to render this property for it to have an effect:
There are two new search operators, links_to
and refers_to
that let you find CMS objects linking to or referencing specific CMS objects.
links_to
is a workhorse that searches all attributes able to handle links or references, including those contained in widgets. You can use it, for example, to determine whether an image that has been uploaded is included anywhere in your content, or in pages of a specific type:
Of course, links_to
can be used for more than just that. You can also, for example, determine the pages that are or aren't linked by other pages, etc.
The refers_to
operator, on the other hand, is specialized in finding the CMS objects referencing specific objects via a specific reference
or referencelist
attribute. So object associations established using attributes of these types are no longer unidirectional but bidirectional, making it possible to implement all those use cases in which reverse lookups are required. For example, in a setting in which blogposts are equipped with a referencelist
attribute for associating them with one or more authors represented as individual CMS objects, you can now look up the blogposts that were (co)produced by a specific author:
This principle can be transferred to all cases in which one-to-many or many-to-many associations need to be modelled, e.g. products and the parts they consist of, employees and the departments they work for, etc.
The changelog reflects minor improvements and bugfixes that were made in addition to the changes listed above.
scrivito_widget_tag
, that can be used in the “show.html.*” template of widgets to specify additional attributes (including CSS classes) for the widget tag.Bugfix Release Editing interface issue with ImageTag An issue where using ImageTag with the loading="lazy" attribute could prevent image selection has been resolved. Adding an image widget without a preselected image now displays the clickable placeholder again. We apologize for any inconvenience...
Interface Builder improvements Layout editing mode This new editing mode separates content editing from layout adjustments. In content editing mode, layout elements can only be viewed. To modify them, simply switch to layout editing mode. This clear distinction between content and layout...
Tailoring page visibility to teams and visitor groups With Scrivito Web Interface Builder, editors have visibility categories available to restrict who can access which pages. As an editor who has been granted permission to manage custom visibility categories, you can now create such categories...
This is a bugfix release. Fixed bugs Binary upload API is less strict again Regarding undefined option values, the Binary.upload API method now works as it did prior to version 1.48.0 of the JS SDK. Such undefined values no longer produce an error. We apologize for any inconvenience this may have...
Interface Builder improvements Retrieving data classes by their name A new API method, Scrivito.getDataClass , has been added as a native method for retrieving data classes by their name, obviating the need for custom lookup code. This method complements Scrivito.getClass for accessing object and...
Interface Builder improvements Filtering dates and numbers The filtering options of the data editor have been extended. You can now filter dates and numbers using the following operators: gt (greater than), lt (less than), gte (greater than or equal to), and lte (less than or equal to). These new...
Interface Builder improvements Using attributes of the current page context Attributes of the current page and its ancestors are now available to editors as placeholders and as a data source (datalocator). Note that only attributes of the string type that are also included as attributes in the...
Interface Builder improvements Filtering data by enum, boolean, date, and number attributes The Interface Builder’s data editor now also lets you filter data by attributes of the enum , boolean , date , and number types. This makes it much more convenient and intuitive to select and present data...
Bugfix Release An issue with Scrivito.useDataLocator has been fixed. It prevented filters with reference data attributes from being evaluated properly. We apologize for any inconvenience this issue may have caused! Thanks again for using Scrivito!
Maintenance release This is a maintenance release with minor improvements. As always, we will keep you posted if there is anything interesting to report. Stay tuned! Thanks again for using Scrivito!