setPlaceholders is an extra by jgrant, first released on 2014-03-26.
A snippet for getting fields and setting placeholders. See the GitHub page for documentation and examples.
setPlaceholders combines the usefulness of placeholders—which are rather like local variables—with a fast and versatile engine for gathering up various data: fields and TVs from a resource or any of its ancestors, children or siblings, plus several other useful things.
It provides the functionality of getResourceField, UltimateParent, and getUrlParam—in addition to quite a bit more—all in one lightweight and very efficient package. Something of a Swiss Army knife for navigating the resource tree and retrieving info.
Download and install. The package contains one snippet called setPlaceholders. It's that easy.
- First seen
- Supported databases
- MySQL SQL Server
- Minimum MODX Requirement
|MODX.com||2.2.1-pl||2014-03-26 (5 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.