Home » MODx »PHP

MODx is a free open source lightweight Content Management System (CMS) and framework that uses PHP, MySQL and JavaScript.

Refresh / Clear MODx (Revolution) Cache from PHP Script

4th
Mar
modx icon

Refresh / Clear the MODx Revolution cache outside of MODx with PHP.

Auto Resize Images with MODx (Plugin)

29th
Apr
modx icon

A MODx plugin to automatically resize images placed inside documents (pages). It searches content for image elements that have the width or height specified, compares it to the current image size and then scales accordingly.

It saves images to the MODx Cache and improves the quality of images and the speed of the page(s).

MODx – Wayfinder Incorrect Order (menu index)

9th
Mar
modx icon

If you’re using an older version of MySQL then the MODx Wayfinder snippet might fail to order your navigation correctly (regardless of your menu indexes). Here’s one solution.

MODx – Include Page Content Snippet

5th
Nov
modx icon

A quick and easy snippet to include a MODx page’s content in another page.

Determing Login State (MODx)

15th
Sep
modx icon

I came to a bit of a road block when trying to determine whether a user is logged in or not with WebLoginPE on MODx. This is a quick and dirty snippet for determining a users login state.

Changing MODx Managers Document Tree View Nodes

14th
Aug
modx icon

A small niggle I found with MODx was the document tree view that’s displayed in the left hand side of the manager. It displays the “resources” title (aka the page title) which is bit confusing like shown below. After a quick browse through the source I changed it to display the resources alias.