thanks Bob! I'm hoping this is ok, posting some little mods here.
Don't want to get a fork and create pull-requests for this little changes.
I have another one. I'm storing a xpdo-config-object into the modx-object, so I can get it on my project-config-files and do an array_merge with the configs from file and my configs of the xpdo-config-object.
This is working fine, except on the build-process.
Needed this to change in the build.transport.php - template to get it work:
require_once MODX_CORE_PATH . 'model/modx/modx.class.php';
$modx = new modX();
$modx->initialize('mgr');
to
if (!defined('MODX_CORE_PATH')) {
require_once MODX_CORE_PATH . 'model/modx/modx.class.php';
$modx = new modX();
$modx->initialize('mgr');
}
modx should allready be initialized here from build-php-snippet in this case.
my myComponentMigxUi does make progress!
If I get it done as I want, it should be working as easy as packman, but with the flexibility of myComponent.
[ed. note: Bruno17 last edited this post 13 years, 7 months ago.]