Preserving Your MODX Top Menu Structure
It’s relatively easy to modify the MODX Manager’s Top Menu Structure. Maybe you’ve put the options in a different order so the ones you use often are at the top. … Learn More
View ArticleUnderstanding MODX Extended Fields and JSON
You may have used the extended fields in MODX user profiles in the MODX Manager, where MODX provides a convenient interface for them. To use extended fields in code, however, … Learn More
View ArticleCreating MODX Manager Menu Items in Code
This article is about adding items to the MODX Manager’s Top Menu in PHP. A MODX menu item is kind of an odd thing. The modMenu object doesn’t have an … Learn More
View ArticleMODX CMPs — An Anatomy Lesson
I’ve spent a lot of time wading through arcane and labyrinthine code trying to understand the structure of MODX Custom Manager Pages (CMPs). If I get away from them for … Learn More
View ArticleChange Your MODX Web Site with the Seasons
A long time ago in MODX Evolution, I had a client who wanted to show photos related to the current season and offer four different seasonal coupons. I thought I’d … Learn More
View ArticleHow the Web Works
The information in this article won’t be particularly deep or technical, and highly web-savvy purists may find that some points are simplified to the point that they are not completely … Learn More
View ArticleHow JavaScript Works in MODX
If you already understand the difference between server-side operations like PHP, and client-side JavaScript in MODX, this article is *not* for you. People new to JavaScript (JS for short), even …...
View ArticleGet the Pagetitle of a Resource’s Parent in MODX
A MODX Forum user asked how to get the pagetitle of the current resource’s parent in Revolution. I thought I’d put my answer up here to make it easier to … Learn More
View ArticleLocked Out: Getting Back into the MODX Revolution Manager
Getting locked out of the MODX Revolution Manager is a nasty turn of events, especially if you have a looming deadline. It has several causes and a number of possible … Learn More
View ArticleGet Any Field from the Parent of the Current Resource in MODX
In a previous article, I wrote about how to get the pagetitle of the current resource’s parent. It occurred to me that a more generic snippet that would get *any* … Learn More
View ArticleSpelunking in the MODX Codebase
There are times when the MODX docs just won’t tell you what you need to know. You have to look at the relevant code itself. Before you can do that, … Learn More
View ArticleDirWalker – A Class for Recursively Traversing Directories in MODX
In a previous article, I promised to discuss writing code to produce references pages based on the MODX codebase. I’ll do that in a later post, but first, I want … Learn More
View ArticleRemoving Old Package Versions in MODX
After running a MODX site for a while, you may end up with many versions of the various packages you have installed. You might be tempted to just delete the … Learn More
View ArticleExtending DirWalker in MODX
In the previous article, I introduced the DirWalker class, which recursively traverses directories and lets you process or display the files found. In this article, I’ll show you how easy … Learn More
View ArticleMore DirWalker in MODX
In the previous article on Extending DirWalker, I made a foolish statement about how easy it would be to modify the example program to produce an accurate report containing the … Learn More
View ArticleA Jumplist with DirWalker in MODX
In the previous articles, we’ve been playing with producing a report based on the MODX codebase using the DirWalker class. Often, when you create a page that’s meant to be … Learn More
View ArticleFine-Tuning Our Jumplist in MODX
If you’ve been following along with this series of articles on using DirWalker to produce a report on MODX System Events and have looked recently at the output here, you … Learn More
View ArticleClearing the Cache for Selected Resources in MODX Revolution
You probably know that if you’re using the CacheMaster extra, it will clear the cache for the resource you are currently working on when you save it. What if you … Learn More
View ArticleShow Full Name of Editor and Date of Edit for Resources in MODX
A MODX user asked for a way to show the full name of the last person to edit the current page, or nothing at all if the page had never … Learn More
View ArticleHow Auto-Publish Works in MODX
Did you ever wonder how MODX automatically publishes and unpublishes resources on a particular date? A MODX user asked about this on the Forums and I realized that I had … Learn More
View Article