Surance Center

翻译:xoops搜索功能的使用

原文地址:http://www.xoops.org/modules/mediawiki/index.php?title=Dev:search_function&curid=355&oldid=1067
注意:我是一个新的xoops开发者,请时刻留意这一点
记录一下我开发myguestBook模块时候学到的搜索功能
1. 第一,向xoops_version.php文件加入以下的代码

 Search $modversion['hasSearch'] = 1;
 $modversion['search']['file'] = "include/search.inc.php";
 $modversion['search']['func'] = "guestbook_search";
2.第二,按照以上的设定添加文件,并写代码:

 

=====

翻译者:Surance Yin  (Suranceyin@yahoo.com.cn)

©:http://www.fltek.com.cn

=====

 

 

 

Code
posted @ 2008-08-16 22:20  xxp  阅读(364)  评论(0编辑  收藏  举报
Surance Center