Archive for April, 2010

Call a MODx snippet from within a snippet

April 22, 2010

This is really justĀ  a note to remind myself how to to it, I keep forgetting:

$modx->runSnippet(string $snippetName [, array $params]);

http://wiki.modxcms.com/index.php/API:runSnippet

Managing which fields are displayed in a form in the MODx manager

April 2, 2010

There’s a plugin called managermanager, and the rules are set in /assets/plugins/managermanager/mm_rules.inc.php

You can hide fields, tabs and templates from the template dropdown for particular user roles. Handy for uncluttering your admin interface