What’s New in LiveWhale 2.16.0

This minor release includes new template organization options, a new widget option, and bug fixes.

Organizing Widget Templates and Content Layouts

You can now divide /_ingredients/templates/widgets/ and /_ingredients/templates/wysiwyg/ into further subdirectories (such as /_ingredients/templates/widgets/news, etc.). LiveWhale will scan recursively for all WTs/CLs, and will flag with a dashboard error if any duplicates are detected (filenames must be unique).

New widget setting: min_image_size for inline galleries

Introduced in LiveWhale 2.13.0, min_image_size=true lets you skip results whose thumbnail image is smaller than the widget’s thumb_width and thumb_height, allowing you to preserve the design intent of widgets rather than loading in images that may be too small. In LiveWhale 2.16.0 this was extended to inline gallery widgets, so your gallery can skip images that are too small when min_image_size=true.

Beta support for Content Layouts v2

For CMS sites under active development, LiveWhale 2.16.0 adds beta support for a new way of managing Content Layouts [docs]. This approach is backwards-compatible with the original Content Layouts v1, the current insert/edit functionality shouldn’t be at all disrupted by this addition.


Accessibility improvements

  • The JSON API endpoint now includes thumbnail_alt as a separate value from thumbnail_caption, where an ALT text is set on the image.
  • Updated aria-required to move it to radiogroup element for required radio buttons in forms and RSVP forms.
  • Inserted WYSIWYG images now use alt variables instead of hardcoded caption in their widget format (leveraging the existing ALT functionality more consistently).

Behavior adjustments

  • Restored prior behavior for showing 404 to logged-out users when trying to view hidden news, profiles, blurbs, and redirecting hidden events. This replaces the behavior of redirecting to login, which some found confusing.
  • Added details_issue_slug to news/blurbs template when part of an Issue (for creating a link back to the issue). You can also use the existing variable details_issue_url for this.

Bugs

  • Fixed an issue that could cause inaccuracy in determining the next upcoming instance in a repeating event series when hide_repeats=true was used.
  • Fixed an issue that prevented RSVP comments by the editor from being editable on the event registrant editor.
  • Fixed an issue that could cause the wrong alt text to be used when using the {alt} variable in an image widget.
  • Fixed an issue that could cause integrity or crossorigin attributes to be altered when consecutive script tags were used in a file include.
  • Fixed an issue that could cause certain kinds of images to skip Retina image support.
  • Fixed an issue that could prevent credits from being optionally displayed for WYSIWYG images.
  • LiveWhale CMS Only
    • Fixed an issue preventing the use of group variables in the widget preview panel.
    • Fixed an issue causing incorrect and inconsistent behavior when cropping the full-sized images in a gallery.
    • Fixed an issue that could cause the page errors report to erroneously indicate certain broken images or files.

Behind-the-scenes

  • The minimum PHP version required to run LiveWhale is now 7.0.33.

Release date: July 14, 2024

Other Recent Releases

View All