toutouwai/minimal-fieldset

A ProcessWire module that adds a config option to fieldsets to render them without label or padding in Page Edit.

v0.1.7 2021-09-02 22:56 UTC

This package is auto-updated.

Last update: 2022-05-31 00:30:13 UTC


README

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.