<?php include_once XOOPS_ROOT_PATH . "/modules/tadtools/language/{$xoopsConfig['language']}/modinfo_common.php"; define('_MI_CNUSHOW_NAME', '商品展示'); define('_MI_CNUSHOW_DESC', '商品展示模組'); define('_MI_CNUSHOW_AUTHOR', '育將電腦工作室'); define('_MI_CNUSHOW_LICENSE', 'GNU GPL 2.0'); define('_MI_CNUSHOW_CREDITS', '郭俊良'); define("_MI_CNUSHOW_ADMENU1", "商品管理"); define("_MI_CNUSHOW_ADMENU1_DESC", "商品管理");
<?php include_once XOOPS_ROOT_PATH."/modules/tadtools/language/{$xoopsConfig['language']}/modinfo_common.php"; define('_MI_CNUSHOW_NAME', 'Product showcase'); define('_MI_CNUSHOW_DESC', 'Product showcase description'); define('_MI_CNUSHOW_AUTHOR', 'UGM'); define('_MI_CNUSHOW_LICENSE', 'GNU GPL 2.0'); define('_MI_CNUSHOW_CREDITS', 'KUO'); define("_MI_CNUSHOW_ADMENU1" , "PM"); define("_MI_CNUSHOW_ADMENU1_DESC" , "PM page");
//---後台管理介面設定---// $modversion['hasAdmin'] = 1; $modversion['adminindex'] = 'admin/index.php'; $modversion['adminmenu'] = 'admin/menu.php';
#引入ugmTools.php include_once XOOPS_ROOT_PATH . "/modules/ugm_tools2/ugmTools.php";
$modversion['onInstall'] = "include/onInstall.php"; $modversion['onUpdate'] = "include/onUpdate.php"; $modversion['onUninstall'] = "include/onUninstall.php";
將onInstall.php、onUpdate.php、onUninstall.php 註解取消,並用「cnu_show」取代模組目錄