Toutouwai / MinimalFieldset

Adds a config option to fieldsets to render them without label or padding in Page Edit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Fieldset

A module for ProcessWire CMS/CMF. Adds a config option to Fieldset/FieldsetGroup/FieldsetPage to render the fieldset without label or padding in Page Edit. When a neighbouring field in the same row is taller than the fieldset the extra height is distributed evenly among rows within the fieldset.

Requires ProcessWire v3 and AdminThemeUikit.

Why?

This module allows you to create layouts in Page Edit that would not be possible without it. It's useful when you want a layout that has two or more fields as rows that are themselves within a row in Page Edit.

It's also useful when you have some fields that you want to add to a template as a group (i.e. via FieldsetGroup or FieldsetPage) but having a heading and visible wrapper for the fieldset in Page Edit would be redundant.

Example:

template-fields

page-edit

Installation

Install the Minimal Fieldset module.

Usage

In the field settings for any Fieldset/FieldsetGroup/FieldsetPage, tick the "Remove label and padding for this fieldset" checkbox.

You can optionally disable the distribution of vertical space within the fieldset if you like.

About

Adds a config option to fieldsets to render them without label or padding in Page Edit.

License:Mozilla Public License 2.0


Languages

Language:PHP 72.5%Language:CSS 27.5%