User-related Resource Fields II
Posted by Bob Ray |
A snippet to get the full name for any user-related resource field without modifying the snippet code.
Calling getResources in Code
Posted by Bob Ray |
Get the results of a call to getResources in PHP code (and a useful trick for the &where property).
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.
Display the Age of a Resource
Posted by Bob Ray |
A snippet to show the age of a resources using various time units
Set Resource Fields and TV Values in a Plugin
Posted by Bob Ray |
Using a plugin attached to OnDocFormSave to modify resource fields and TV values
Why Extend modResource?
Posted by Bob Ray |
Realize amazing speed increases by extending the modResource object in MODX
Show Full Name of Editor and Date of Edit for Resources
Posted by Bob Ray |
A snippet to show the full name of the person who edited the current page and, optionally, the date of the last edit.
Clearing the Cache for Selected Resources
Posted by Bob Ray |
Use a plugin to clear the cache for selected resources in MODX Revolution
Selecting Resources to Preview on your Home Page
Posted by Bob Ray |
A client-friendly way to show selected teasers with getResources
[ [+comments_form]] [ [!Login? &loginTpl=`HongkiatLoginTpl` &logoutTpl=`hongkiatLogoutTpl` &tplType=`modChunk`]]