Toggle main menu visibility
新聞
下載
教材
影音
討論
其他選單
好站連結
行事曆
電子相簿
常見問題
萬用表單
即時留言簿
友站消息
社大學員
:::
登入
登入
帳號
密碼
登入
重整畫面
:::
所有書籍
「[1011]XOOPS 2.5 模組開發」目錄
MarkDown
18-4 上課範例:index.php
1. XOOPS模組開發
2. XOOPS模組基本結構
3. 模組管理後台結構
3-1 上課範例:tad0616.sql
3-2 上課範例:xoops_version.php
3-3 上課範例:admin/menu.php
4. XOOPS的表單Class
4-1 admin/cate.php
5. 分類管理功能
5-1 上課範例:admin/cate.php
6. 修改及前台結構
6-1 上課範例:admin/cate.php
6-2 上課範例:index.php
6-3 上課範例:xoops_version.php
7. 前台自製表單
7-1 上課範例:index.php
7-2 上課範例:class/ckeditor/config.js
8. 強化編輯器及月曆
8-1 上課範例:class/ckeditor/config.js
8-2 上課範例:class/ckeditor/kcfinder/config.php
8-3 上課範例:index.php
9. XOOPS文字過濾
9-1 上課範例:index.php
10. 選單及前台功能
10-1 上課範例:index.php
11. 內建搜尋功能與語系
11-1 上課範例:include/search.php
11-2 上課範例:xoops_version.php
11-3 上課範例:language/tchinese_utf8/modinfo.php
11-4 上課範例:admin/menu.php
11-5 上課範例:language/tchinese_utf8/admin.php
11-6 上課範例:admin/cate.php
11-7 上課範例:language/tchinese_utf8/main.php
11-8 上課範例:index.php
12. 偏好設定與分頁
12-1 上課範例:index.php
12-2 上課範例:function.php
12-3 上課範例:xoops_version.php
13. XOOPS的樣板檔
13-1 上課範例:xoops_version.php
13-2 上課範例:templates/tad_note_index.html
13-3 上課範例:index.php
13-4 上課範例:view.php
13-5 上課範例:include/search.php
13-6 上課範例:templates/tad_note_view.html
14. XOOPS的評論功能
14-1 上課範例:index.php
14-2 上課範例:templates/tad_note_index.html
14-3 上課範例:templates/tad_note_view.html
14-4 上課範例:xoops_version.php
14-5 上課範例:view.php
14-6 上課範例:comment_new.php
14-7 上課範例:themes/school2012/css/itensXoops.css
15. 製作XOOPS區塊
15-1 上課範例:xoops_version.php
15-2 上課範例:blocks/new_notes.php
15-3 上課範例:templates/blocks/new_notes.html
16. 通知功能(上)
16-1 上課範例:index.php
16-2 上課範例:templates/tad_note_index.html
16-3 上課範例:xoops_version.php
16-4 上課範例:include/notification.inc.php
16-5 上課範例:templates/tad_note_view.html
17. XOOPS通知功能(下)
17-1 上課範例:index.php
17-2 上課範例:language/tchinese_utf8/mail_template/new_note.tpl
17-3 上課範例:language/tchinese_utf8/mail_template/new_cate_note.tpl
17-4 上課範例:function.php
17-5 上課範例:admin/cate.php
18. 細部權限及自動功能
18-1 上課範例:admin/menu.php
18-2 上課範例:admin/groupperm.php
18-3 上課範例:view.php
18-4 上課範例:index.php
18-5 上課範例:xoops_version.php
18-6 上課範例:include/onInstall.php
18-7 上課範例:include/onUpdate.php
18-8 上課範例:include/onUninstall.php
18-6 上課範例:include/onInstall.php
\[1011\]XOOPS 2.5 模組開發 ====================== ``` 5,'每 10 筆'=>10,'每 15 筆'=>15); //---搜尋---// $modversion['hasSearch'] = 1; $modversion['search']['file'] = "include/search.php"; $modversion['search']['func'] = "tad_note_search"; //---區塊設定---// $modversion['blocks'] = array(); $modversion['blocks'][1]['file'] = "new_notes.php"; $modversion['blocks'][1]['name'] = '最新記事'; $modversion['blocks'][1]['description'] = '列出最近幾則最新記事'; $modversion['blocks'][1]['show_func'] = "new_notes"; $modversion['blocks'][1]['template'] = "new_notes.html"; $modversion['blocks'][1]['edit_func'] = "new_notes_edit"; $modversion['blocks'][1]['options'] = "5|170px"; //---樣板設定---// $modversion['templates'] = array(); $modversion['templates'][1]['file'] = 'tad_note_index.html'; $modversion['templates'][1]['description'] = "首頁的樣板檔"; $modversion['templates'][2]['file'] = 'tad_note_view.html'; $modversion['templates'][2]['description'] = "單一頁面的樣板檔"; //---評論---// $modversion['hasComments'] = 1; $modversion['comments']['pageName'] = 'view.php'; $modversion['comments']['itemName'] = 'note_sn'; //---模組通知設定---// $modversion['hasNotification'] = 1; $modversion['notification']['category'][1]['name'] = 'global'; $modversion['notification']['category'][1]['title'] = '全局通知'; $modversion['notification']['category'][1]['description'] = '全局通知'; $modversion['notification']['category'][1]['subscribe_from'] = array('index.php','view.php'); $modversion['notification']['category'][2]['name'] = 'cate'; $modversion['notification']['category'][2]['title'] = '分類通知'; $modversion['notification']['category'][2]['description'] = '分類通知'; $modversion['notification']['category'][2]['subscribe_from'] = array('index.php'); $modversion['notification']['category'][2]['item_name'] = 'cate_sn'; $modversion['notification']['category'][2]['allow_bookmark'] = 1; $modversion['notification']['event'][1]['name'] = 'new_note'; $modversion['notification']['event'][1]['category'] = 'global'; $modversion['notification']['event'][1]['title'] = '有新記事就通知我'; $modversion['notification']['event'][1]['caption'] = '有新記事就通知我'; $modversion['notification']['event'][1]['description'] = '有新記事就通知我'; $modversion['notification']['event'][1]['mail_template'] = 'new_note'; $modversion['notification']['event'][1]['mail_subject'] = '「通知」有新的記事'; $modversion['notification']['event'][1]['admin_only'] = '0'; $modversion['notification']['event'][1]['invisible'] = '0'; $modversion['notification']['event'][2]['name'] = 'new_cate_note'; $modversion['notification']['event'][2]['category'] = 'cate'; $modversion['notification']['event'][2]['title'] = '該分類有新記事就通知我'; $modversion['notification']['event'][2]['caption'] = '該分類有新記事就通知我'; $modversion['notification']['event'][2]['description'] = '該分類有新記事就通知我'; $modversion['notification']['event'][2]['mail_template'] = 'new_cate_note'; $modversion['notification']['event'][2]['mail_subject'] = '「通知」指定的分類下有新的記事'; $modversion['notification']['event'][2]['admin_only'] = '0'; $modversion['notification']['event'][2]['invisible'] = '0'; $modversion['notification']['lookup_file'] = 'include/notification.inc.php'; $modversion['notification']['lookup_func'] = 'get_tad_note'; ?> ```
:::
搜尋
search
進階搜尋
QR Code 區塊
快速登入
所有討論區
「PHP全端開發」線上課程討論區
XOOPS使用討論區
一般研習學員
社大學員專用
路過哈啦區
XOOPS佈景設計
XOOPS模組開發
Tad書籍區
即時留言簿
書籍目錄
展開
|
闔起
線上使用者
62
人線上 (
19
人在瀏覽
線上書籍
)
會員: 0
訪客: 62
更多…