Hi Everyone,
I now have the first page (login) working under the new design (ThemeEngine)
It’s working well with place holders, etc.
Here’s an example of how the system works:
$theme = &$modx->manager->theme;
$theme->initialize();
$theme->includeTemplate('header');
$theme->includeTemplate('footer');
$theme->includeTemplate('content','mutate_settings');
$theme->setButton('save','Save');
$theme->setContent('icon','<img src="[[+themeurl]]logo.gif" />');
$theme->render();
It’s a complete separation of logic and ui. Note: The ui files can use both the <?php ?> and [[]] tags