Blog Home


Updating Multiple MODX Settings in Code

Using a snippet to automate the process of updating multiple settings

Updating MODX Settings in Code

How to update various kinds of MODX settings in PHP

Creating User Group Settings in Code

Using PHP to create MODX User Group settings

Creating Context Settings in Code

Using PHP to create MODX Context Settings

Creating System Settings in Code

Using PHP code to create MODX System Settings

Using MODX Settings in Code

Using settings in the PHP code of a snippet or plugin

Updating Symlinks in Code

How to update an existing Symlink using PHP code

Creating Symlinks in Code

Using PHP code to create a new Symlink

Fatal Error Cannot Redeclare Function II

Putting our function inside a class to avoid collisions

Fatal Error Cannot Redeclare Function I

Fixing the PHP error: Fatal Error Cannot Redeclare Function