// Assign the register template with the master template as a content ... ;)
$templateInstance->compileTemplate();
- $templateInstance->assignTemplateWithVariable('register_form', 'content');
+ $templateInstance->assignTemplateWithVariable('register_form', 'main_content');
// Load the master template
$templateInstance->loadCodeTemplate($masterTemplate);