1
Hi. I am new to XOOPS and still trying to finish my first module.
So, I am programming the control panel scripts that control my module options and contents (it's a multiquestion survey, by the way), and I have not been able to use templates in it.
Looking inside the official modules, I have seen that they do not use templates in the admin scripts. Looking at /include/cp_header.php script, I see there is no include nor template initialization and management as in /header.php.
Could it be possible to add that feature? I mean, no need for blocks, no need for anything else than template initialization, so that one could do with these lines (as in module public scripts):
$xoopsOption['template_main'] = 'surveys_index.html';
oopsTpl->assign('lang_category', _SR_CATEGORY);
And so on...
Thanks in advance.