Dynamic Search Criteria for getResources
Posted by Bob Ray |
Using a small utility snippet to create complex search criteria for the &where property of getResources or pdoResources or any other snippet that uses a &where property.
Using getValue() for Object Content
Posted by Bob Ray |
Retrieving the main content field of resources and elements the fast way with getValue().
Using getValue() with Date Fields
Posted by Bob Ray |
Retrieving and handling resource date fields like editedon and createdon in code the fast way with getValue()
Using getValue() wth Boolean (Yes-No) Fields
Posted by Bob Ray |
Getting and interpreting MODX boolean (Yes/No) fields in code
Get a Field Value -- Fast
Posted by Bob Ray |
A very fast and efficient method for getting field values in MODX, from Jason Coward.
MODX getOption() with Snippet Properties
Posted by Bob Ray |
The ins and outs of how properties sent in a snippet tag arrive in the snippet.
Understanding the MODX getOption() Method
Posted by Bob Ray |
An inside look at the MODX getOption() method, with some things about it you almost certainly didn't know.
LogPageNotFound Widget
Posted by Bob Ray |
Susan Ottwell's adaptation of my LogPageNotFound extra puts the page-not-found report in a Manager dashboard widget
Getting a Parent's Pagetitle
Posted by Bob Ray |
A simple snippet to get the pagetitle of the current resource's parent.

[ [+comments_form]] [ [!Login? &loginTpl=`HongkiatLoginTpl` &logoutTpl=`hongkiatLogoutTpl` &tplType=`modChunk`]]