1
Hello,
i would like to use template within admin pages (for module administration).
For non-admin-pages (for the uses) i use this code at the beginning of my php script:
le="color: #000000"><?php require '../../mainfile.php'; $xoopsOption['template_main'] = 'tokens.html'; require_once XOOPS_ROOT_PATH . '/header.php';
The module admin script starts with these lines of code:
le="color: #000000"><?php require ('../../../include/cp_header.php'); xoops_cp_header();
How to i use my smarty template here?
Best regards!
Christian Neise.