Title1

Title2

Title3

9-4 專案模組指定佈景

preloads/core.php (請自行建立資料夾與檔案)

<?php
class Ugm_cartCorePreload extends XoopsPreloadItem
{
  function eventCoreIncludeCommonEnd($args)
  {
    if($GLOBALS['xoopsModule'] && $GLOBALS['xoopsModule']->dirname() == "ugm_cart")
    {
      xoops_setConfigOption('theme_set', 't_cart');
    }
  }
}