預設佈景:$xoopsConfig['theme_set']
在特定模組run 特定佈景
if(isset($xoopsModule) && $xoopsModule->dirname() == "ugm_stk"){ $_REQUEST['xoops_theme_select'] = "t_stk"; //t_stk }else{ $_REQUEST['xoops_theme_select'] = $xoopsConfig['theme_set']; //t_stk }
可以加載至 preloads