hugopeek / romanesco-soil

Romanesco is an ecosystem for building websites with reusable components.
https://romanesco.info/
GNU General Public License v3.0
10 stars 1 forks source link

Fix all layout and field settings after upgrade to CB 1.5 #54

Closed hugopeek closed 4 years ago

hugopeek commented 8 years ago

In ContentBlocks 1.5, the syntax for the field settings has changed a little. It was like this before: Short description=option, but that will be deprecated in CB 2.0.

It should be like this from now on: Short description==option, following the standard for TV input options in MODX (with double ==).

And another thing: if an option is empty, like Empty option==, there seems to be a bug in CB that prevents the option from rendering properly. If there's no value present, the description is rendered instead, so to prevent this an option should always contain at least 1 space behind the == characters.