Liqiud basics
Modules
API
Mailer
Group editable
Overview
A group editable will hold content for that group. The editable is visible to the user in a blue frame on the group template.
A group can have multiple editables but the name cannot be the same. It's used as a unique identifier.
The group editable should only be used inside the groups.single.ws templates.
Snippets
{{ 'editable_name' | group_editable }}Group editable with a class name
{{ 'editable_name' | group_editable: class: 'my-class' }}Group editable with a specific type
{{ 'editable_name' | group_editable: type: 'p' }}Check if a group editable has content or not
This snippet checks if the editable has any content. Returns a boolean, so if the editable has content it will return true.
{{ 'editable_name' | has_group_editable }}
or...
{{ 'editable_name' | group_editable_if_has }}Updated: 2020-05-20