OpenCulturas 2.6

Feature release

Publication date

This release comes with new options to structure your landing pages and prepares your OpenCulturas setup for the upcoming major upgrade (including Drupal 11) as well as for an optional switch to a new base layout. The highlights:

  • New wrapper section
  • Enhanced teaser section
  • More slider options for text sliders
  • New styles for content editing

New content element: wrapper section

Adding custom headlines to content elements has been a bit of a workaround up to now. We recommend to use this new building block for better control over your landing pages.

Major advantage: whenever you place a View component inside this wrapper that contains a default headline and/or a default "more link" you can now set your custom headline and a link to whatever page with whatever link text. This will automatically hide the defaults.

Well-structured text can now achieved by selecting the heading level. And you can add a custom introduction text if you like.

In preparation of new layout options that only apply to the upcoming new base design, there's already an option to set the "intro" part (consisting of headline, intro text, and link) "side by side" with the building block.

Enhanced teaser section

The new headline and intro text options in the Wrapper section seemed to be good enhancements for the given teaser sections, so we added those (see above).

With the wider layout of the upcoming new base design in mind, we added more slider options: choose from single, two or three slider items at once. Or display the teasers without a slider—"default" and "side by side" are still available.

Please note

  • On a multilingual site with given teaser sections, please enter headline & co in the original language first. When editing a translation, you might run into error notices.
  • Not all slider options are suitable for the OpenCulturas Base theme. If you decide to stay with that design, you might want to consider disabling the options "Slider duo" and "Slider multiple" at /admin/structure/paragraphs_type/teaser_wrapper/form-display.

More slider options for text sliders

Like in the teaser section (see above), there are now several slider types (single, duo, multiple) to choose from for text sliders, too.

Likewise not all of them are suitable for OpenCulturas Base.

New styles for content editing

Based on kulturis site owners' good idea, there is now an option to format entire paragraphs bold or italic without inflicting accessibility issues. We have added two editor styles that result in mere visible changes without affecting how the content is read out by assistive technologies:

  • Bold (faux)
  • Italic (faux)

This is not automatically educating editors to format copy text screenreader-friendly but at least we provide a possibility.

While we are at it, let's add some more options:

  • Textmarker e.g. for marking parts in a Draft that need rework
  • Callout extra highlighted blockquote (professional magazine editors will like it)
  • Blockquote simple Blockquote with less visual emphasis to still allow accessible editing
  • Quotee for the quoted person inside a blockquote
  • CtA Link button-like styling for call-to-action links (still different from buttons to avoid confusion)

Single source for map markers

When the default map marker icon needs to be changed, it has been difficult for site builders to find all the places where the icon is configured (independently):

  • OC Map settings
  • Location node resp. address paragraph map display
  • Views with map attachment

This release defines a single place to change the icon and use the newly configured one (uploaded or by path) in all places. 

  1. Go to OpenCulturas - Map settings (/admin/config/content/openculturas_map)
  2. In the Marker icon section, uncheck "Use the marker icon supplied by the module" and e.g. upload your custom marker
  3. Make sure to adjust width, height etc. to match your graphic's dimensions
  4. Save configuration

Please note: The upcoming new theme will include a black icon svg, making it easier to use a colorizing CSS mask. Instructions will be given in via CSS injector. When using both custom icon and CSS mask, make sure the custom icon including the correct path is used as the mask image, too.

Enhanced FAQ template

The shortened FAQ answer display (“Synopsis”) used in aggregations now only renders a "read complete answer" link when there is really more to read. 

In case your project's theme uses a template override, please compare this to the template in the OpenCulturas Base theme folder. Otherwise your FAQ might contain an unwanted field.

Further rather technical updates

Module changes

  • Deprecated: Date Range Formatter
  • All modules are updated to a version compatible with Drupal 11 (except those with a "hard" major version change only compatible with 11)

Adding paragraph icons

All paragraph types ("content elements") now have an icon. This will have no immediate effect in the user interface unless you have changed the Add mode to Modal in the content type forms.

Refactoring

Author

Tobias Bähr

Lead software architect

Meike Jung

Concepter

Mentioned in this article

Mentioned in this article