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.
A distinctive icon for new and changed images Editors mainly have to deal with two types of content objects: pages and images. To make it easier to spot such objects for reviewing them, a dedicated icon for images is now displayed in the “Changes” sidebar and dialog. Thank you for using Scrivito!...

Introducing layout components, optionally with editable content You can now implement page-type-specific layout components and optionally have them render attributes for editor-defined content. If such layouts are present for a page that is part of the page hierarchy, the layout components of the...

Added support for Ruby on Rails 7.0 The Scrivito for Rails SDK now supports Ruby on Rails 7.0. It requires Ruby 2.7 or later. Earlier Rails versions are no longer supported by Scrivito. Note that during the upgrade you will need to migrate from Rails 5.2 (with Scrivito 1.17.0 ) directly to Rails...

Reducing the payload for your website visitors You’ve probably already noticed that Scrivito’s editing interface is highly configurable through editing configurations that allow the developer to specify, for example, which page properties the editors should be able to adjust. Since website...

Duplicating parent pages For the convenience of editors, pages with subpages, i.e. page hierarchies as a whole, can now be duplicated, obviating the need to copy and then paste the pages individually. Email address as a tooltip when hovering over a user’s name For identifying users better...

Bugfixes obj.copy() now works again In previous Scrivito JS SDK versions, the obj.copy() instance method did not always work as designed. Now it does. Please accept our apologies for any inconvenience caused by this issue.

More versatile “Changes” sidebar Like on the “Hierarchy” sidebar, the pages listed on the “Changes” panel now also feature a menu command for opening their respective properties, meaning that you no longer need to navigate to a page just to open its properties. Furthermore, the items on the...

Improved website performance through lazy image loading Native lazy-loading is a modern web technology that has been implemented by all major browser vendors in the recent years. It defers loading images until they are scrolled into view and thus reduces the bandwidth needed for a page to be...

Introducing TypeScript definitions Under the hood, Scrivito has been using TypeScript for quite a while now, and it’s time to let Scrivito application developers benefit from TypeScript as well. Developing Scrivito apps is now much faster and less error prone than ever. This Scrivito SDK release...

Bugfixes Editing multi-value attributes In version 1.24.0, attributes of the multienum type, by means of which editors can select several values from a set of options, were not always displayed after a change. Now, all changes are reflected properly. In searches, date values close to the current...