
pdoTools
Fast retrieval of site pages and users


pdoTools is a set of handy snippets for everyday use plus a small library that makes them very fast.
MODX 3 line
pdoTools 3.x (current: 3.1.0-pl) needs MODX Revolution 3 and PHP 8.1+. Source: modx-pro/pdoTools3. For MODX 2 use pdoTools 2.x.
Thanks to the shared library, all pdoTools snippets share the same minimal feature set:
&showLog). In 3.x the log is a placeholder: general parameters.All queries are built on xPDO; data is fetched via PDO for resource and speed efficiency.
The package includes:
Available in pdoTools 3.1.0+ (MODX 3)
These items need the 3.1.0-pl package (or newer) on MODX 3.
isFirst, isLast, isActive (pdoMenu, pdoPage, pdoCrumbs); menu also hasChildren / hasChilds, isHere, isStart, isCategory, isInner; page isSkip; crumbs isHome. Existing tpl* chunks still work when set.[[+children]] in &tplInner.boolval, doubleval, floatval, intval, strval. array_merge is allowed by default.pdotools_cache_path for Fenom/pdoTools cache directory (default {core_path}cache/pdotools).msCategoryMember). Pass &disableMS3=1 to skip. miniShop2 / &disableMS2 are removed.