6
I do try to use the XOOPS admin area. This works fine, but not with smarty enabled. I like to have smarty templates also in the admin area. My understanding is that this is supported with XOOPS version 2.3.3. This version I do have.
Modules reload/refresh in sytem admin is done.
The form does not get loaded!?
=> any hint will help
Markus
xoops_version.php:
---------------
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";
$modversion['templates'][3]['file'] = 'adminmenu.html';
$modversion['templates'][3]['description'] = 'Admin Template';
index.php called from the admin menu:
------------------------------
include '../../../include/cp_header.php';
xoops_cp_header();
//echo "Aber Hallo"; // for debug only
$xoopsOption['template_main'] = "adminmenu.html";
$xoopsTpl->assign('itemSuchbegrif',"Cool it works");
include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php"; // get the form creation classes
$hidden_form->assign($xoopsTpl); // pass the form to SMARTY
xoops_cp_footer();