Title1

Title2

Title3

4-1 更改佈景

  1. 改變:「$_REQUEST['xoops_theme_select']」
  2. 預設佈景:$xoopsConfig['theme_set']

  3. 在特定模組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
        }

     

  4. 可以加載至 preloads