assign('example', $example); $xoopsTpl->assign('example2', $example2); /* if you going to build a module for example WITH language files, please follow this sort of defines: $xoopsTpl->assign('lang_bla', _SA_BLA); $xoopsTpl->assign('lang_bla2', _SA_BLA2); ofcourse you will have to define _SA_BLA and _SA_BLA2 in the languages files just like in the x1 modules so, you put for example the following in language/english/main.php (wich is xoops is trying to open when opening default page) define("_LANG_BLA","Bla"); and then in template $xoopsTpl->assign('lang_bla', _LANG_BLA); */ // including footer of xoops include(XOOPS_ROOT_PATH."/footer.php"); // done ?>