ContentBlocks 1.14.0-rc1

ContentBlocks 1.14.0-rc1 is now available as pre-release. This release features some improved templating and bugfixes we hope you find useful.

As it's a pre-release, we recommend updating on a staging environment first.

@JSON and template updates

If you're using ContentBlocks to pass data into a UI library like Vue, or just want to process the data manually, the new @JSON template option will output all field data as properly formatted JSON for you.

When using Layout fields, the parser now works more reliably, no longer switching back to the core parser for the remainder of the page. This resolves issues where chunk tags or other items that should not be parsed during save, but during render, will now be left intact as intended.

Add a new placeholder to all fields, which contains an index for the specific field type. Useful to combine with the cbGetFieldContent snippet, for example.

Dropdown & Multi Select caching

The dropdown and multi select input types will now keep an in-memory cache of the available options. On pages that have many of the same dropdown instances, this saves requests to the server by only ever sending one request per field configuration. It also speeds up loading in the manager!

Other fixes

  • Add collapsed option to repeaters which collapses all rows except the first [#717]
  • Fix the parser resetting to the MODX parser after processing a layout field [#720]
  • Fix deprecation warnings in sass build
  • Fix repeater item 'bars' icon not displaying in MODX 3.x [#716]
  • Fix potential error in repeater input processing if no rows are set [S44045]
  • Fix 'Could not find input 0 for parsing' error getting logged caused by a type mismatch

This release is now available. And for Black Friday, you can also get new ContentBlocks licenses with 25% off by using the BLACKFRIDAY coupon code in the cart (valid until Monday, midnight CEST).