Skip to content
Uses the Page List Select inputfield for user-friendly input of page IDs into Inputfield Selector.
JavaScript PHP CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig v0.1.0 Feb 1, 2020
.gitattributes v0.1.0 Feb 1, 2020
InputfieldSelectorSelectID.css
InputfieldSelectorSelectID.js v0.1.0 Feb 1, 2020
InputfieldSelectorSelectID.module v0.1.0 Feb 1, 2020
InputfieldSelectorSelectID.scss v0.1.0 Feb 1, 2020
LICENSE v0.1.0 Feb 1, 2020
README.md Update README.md Feb 1, 2020

README.md

Inputfield Selector Select ID

A module for ProcessWire CMS/CMF. Uses the Page List Select inputfield for user-friendly input of page IDs into Inputfield Selector.

Overview

This module adds a feature to Inputfield Selector, which is most commonly seen in Lister (Find) and Lister Pro.

When adding a filter row for "Parent", "Has parent/ancestor" or "ID" the user is expected to enter a page ID to match against. But this is not as user-friendly as it could be because the user may be able to identify the desired page by its title or location in the tree but not know its ID. This is particularly the case for site editors who may not even understand the concept of a page ID.

So this module adds a thunderbolt icon to relevant rows in Inputfield Selector. When the icon is clicked a Page List Select inputfield opens in a modal window, allowing the user to visually select a page from the tree. When the modal is closed with "OK" the ID of the selected page is inserted into the filter row.

select-id

Tip

After a page selection has been made in the modal window the "OK" button will automatically receive focus so if you prefer you can close the modal by hitting the Enter key rather than mousing to the OK button.

Installation

Install the Inputfield Selector Select ID module.

You can’t perform that action at this time.