• MODX.com

    7,332 downloads

setPlaceholders

setPlaceholders is an extra by jgrant, first released on 2014-03-26.

Package Description

setPlaceholders combines the usefulness of placeholders—which are rather like local variables—with a fast and versatile engine for gathering up data from resources. It provides a set of selectors for full traversal of the resource tree (parents, siblings, and children; absolute and relative positions) and easy retrieval of any field or TV, then puts these or any other data into placeholders for convenient use throughout a template or chunk.

It blends the functionality of getResourceField, UltimateParent, getUrlParam plus much more into one very optimized snippet.

More on GitHub.

Usage/Installation Instructions

Download and install.  The package contains one snippet called setPlaceholders.  It's that easy.

Details

Developer(s)
jgrant
Released
2014-03-26
First seen
2014-03-26
License
GPLv2
Supported databases
Minimum MODX Requirement
2.0

setPlaceholders Releases

Vendor Signature Released on
MODX.com 2.2.1-pl 2014-03-26 (11 years ago)

We've also seen 1 unverified versions of setPlaceholders in use, but don't list those as we've been unable of confirming they are official releases from an official source.