Adds a config option to fieldsets to render them without label or padding in Page Edit.
Switch branches/tags
Nothing to show
Clone or download
Toutouwai v0.1.4
Adds compatibility with current PW master. Fixes #2, thanks to report from @eelke.
Latest commit 308dc8e Nov 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes Update .gitattributes Nov 5, 2018
LICENSE Initial commit Nov 5, 2018
MinimalFieldset.css v0.1.1 Nov 18, 2018
MinimalFieldset.module v0.1.4 Nov 27, 2018
README.md Update README.md Nov 18, 2018

README.md

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.