Category Archives: MODX

Fatal Error Cannot Redeclare Class

In the previous article, we used code like this to prevent collisions between function names: The problem with this code is that if it’s called more than once on a …

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

Fatal Error Cannot Redeclare Function II

In the previous article, we saw how to prevent an error like this one by wrapping the function in an if (! function_exists() statement. In this article, we’ll look at …

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

MODX User Report IV

In the previous article, we produced a sorted list of resources acted on by the current user. In this one, we’ll see how to get all resources acted on by …

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