Scrivito JS SDK 1.22.0 Released – Featuring Language-Aware Search

Introducing language-aware search for better search results

Editors can now specify the language in which the text on a web page is written.

Whether a visitor uses your site search, or an editor uses the search sidebar, Scrivito now takes the language of the documents into account. As a result, language-specific common words (stop words) are ignored, preventing unrelated hits from showing up. Also, stemming is now applied based on the language of the pages, meaning that, for example, singular and plural forms are treated equally, increasing the quality of the search results.

The JavaScript API now also includes an according language() method as well as the _language attribute.

A sidebar for your websites!

Are you managing multiple websites with Scrivito?

Your sites are now accessible via a dedicated sidebar and no longer via the hierarchy. This helps you keep track of your sites and always have the most recently used ones at your fingertips.

Adding subpages directly

Adding a subpage using the main menu or the submenu in the hierarchy sidebar usually first opens the dialog for selecting the page type. Now, if, due to page type restrictions, only a singe type is available, the dialog is not opened anymore but, for your convenience, the menu item lets you add such a page directly.

More meaningful page titles for editors

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: contentTitle.

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 (title).

API for retrieving the current working copy’s ID and title

To better support customizing Scrivito’s editing interface, the SDK now includes an API for retrieving the ID and the title of the current working copy, Scrivito.currentWorkspace().

Further improvements

  • History 5.0.0 support

    You can now use the history library in version 4.10.1 or 5.0.0 with Scrivito.

More great blog posts from Andreas Viebke

  • Scrivito for Rails SDK 1.19.0 Released

    Added support for Ruby on Rails 7.2 The Scrivito for Rails SDK now supports Ruby on Rails 7.2. It requires Ruby 3.1 or later. Earlier Rails versions are no longer supported by Scrivito. For instructions and details on updating your application to Rails 7.2, see: Ruby on Rails Guides – Upgrading...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.49.1 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.49.0 Released

    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...

  • Introducing Sophisticated Page Access Control

    Latest updates to edit.scrivito.com

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.48.1 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.48.0 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.47.0 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.46.0 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.45.0 Released

    Interface Builder Supports Further Attribute Types for Filtering

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.2 Released

    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!