14
Interesting that what Mithrandir recommended is exactly what I tried, but the template never displayed. I still don't understand what is missing.
I have
include '../../../include/cp_header.php';
function eventAdmin($status=0)
{
$xoopsDB =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
xoops_cp_header();
if (!isset($xoopsTpl)) {
$xoopsTpl = new XoopsTpl();
}
$xoopsOption['template_main'] = 'smarty_AdminListForm.html';
$xoopsTpl->assign('lang_title', _MI_DJE_ADMINTITLE);
...blah-blah-blah...
xoops_cp_footer();
}
and no content appears inside the addmin theme wrapper.
Should I just give up on this until XOOPS 2.1?