Showing posts with label lexicon. Show all posts
Showing posts with label lexicon. Show all posts

Monday, January 3, 2011

MODx loading other components lexicon

If you need some lexicon from another components from your snippet,
you may do so by running this in snippet:
$modx->lexicon->load("namespacename:filename");

Example:
$modx->lexicon->load("login:register");
//resolve to: core/components/login/lexicon/register.inc.php