Category Archives: MODX

Important Tips for MODX Extra Developers

As the creator of a MODX extra, you have a responsibility to remove all parts of your package when your package is uninstalled. Some of the things installed by a package …

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

Using explode() to Create Associative Arrays

In the previous article, we saw how to use explode() to create a simple array of names. In this one, we’ll send an extra bit of information along with each …

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

Using explode() to create arrays

Say you have a snippet that needs a simple array and want to send the elements of the array in the snippet tag. The PHP explode() function is custom-made for …

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