Tag Archives: snippet

MODX Snippet Development IV

In the last article, we cleaned up our code and gave the snippet a single exit point. But there’s still a problem with the design. We’ll fix that in this …

Tags: , , | Posted under MODX, MODX | Leave a comment

MODX Snippet Development III

In the last article, we cleaned up our snippet code to make it more readable and to meet some standard coding practices. We’ll do some more of that in this …

Tags: , , | Posted under MODX, MODX | Leave a comment

MODX Snippet Development II

In the last article, we looked at a way to show the word NEW on pages when the resource was published recently. It’s common to develop a quick snippet to …

Tags: , , | Posted under MODX, MODX | Leave a comment