標(biāo)簽解析:{list action=search module=MOD_DIR id=aede7a82a7e3801d726f50687fbd3d5f total=109 page=1 pagesize=10 urlrule=http://xxc.com/news/search/catid-1-page-%7Bpage%7D.html}搜索解析:SELECT `dr_1_news`.`id` FROM `dr_1_news` WHERE `dr_1_news`.`status` = 9 AND `dr_1_news`.`catid`=1 ORDER BY NULL查詢解析: SELECT * FROM `dr_1_news` WHERE `dr_1_news`.`status` = 9 AND `dr_1_news`.`catid`=1 ORDER BY `dr_1_news`.`updatetime` DESC LIMIT 0,10當(dāng)前地址:http://xxc.com/youhua/當(dāng)前路由:category/index變量前綴:t開發(fā)模式:已開啟數(shù)據(jù)緩存:后臺(tái)未開啟緩存總記錄數(shù):109分頁功能:已開啟當(dāng)前頁碼:1總頁數(shù)量:11每頁數(shù)量:10分頁地址:http://xxc.com/news/search/catid-1-page-{page}.html可用字段:id、catid、title、thumb、keywords、description、hits、uid、author、status、url、link_id、tableid、inputip、inputtime、updatetime、displayorder、diaoqu1、_inputtime、_updatetime
搜索只能搜索出當(dāng)前模塊的,不能進(jìn)行跨模塊搜索
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 不跨模塊,是同模塊,其他欄目??梢运阉鞒銎渌麢谀繂?/p>
{search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=10 urlrule=$urlrule}回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 這是欄目頁集成到了搜索頁,篩選出來的是當(dāng)前欄目文章(catid=$catid),怎么篩選出所有欄目文章呢?都是在同一個(gè)模塊下面
{search module=MOD_DIR id=$searchid total=$sototal page=1 pagesize=10 urlrule=$urlrule}標(biāo)簽解析:{list action=search module=MOD_DIR id=aede7a82a7e3801d726f50687fbd3d5f total=109 page=1 pagesize=10 urlrule=http://xxc.com/news/search/catid-1-page-%7Bpage%7D.html}搜索解析:SELECT `dr_1_news`.`id` FROM `dr_1_news` WHERE `dr_1_news`.`status` = 9 AND `dr_1_news`.`catid`=1 ORDER BY NULL查詢解析: SELECT * FROM `dr_1_news` WHERE `dr_1_news`.`status` = 9 AND `dr_1_news`.`catid`=1 ORDER BY `dr_1_news`.`updatetime` DESC LIMIT 0,10當(dāng)前地址:http://xxc.com/youhua/當(dāng)前路由:category/index變量前綴:t開發(fā)模式:已開啟數(shù)據(jù)緩存:后臺(tái)未開啟緩存總記錄數(shù):109分頁功能:已開啟當(dāng)前頁碼:1總頁數(shù)量:11每頁數(shù)量:10分頁地址:http://xxc.com/news/search/catid-1-page-{page}.html可用字段:id、catid、title、thumb、keywords、description、hits、uid、author、status、url、link_id、tableid、inputip、inputtime、updatetime、displayorder、diaoqu1、_inputtime、_updatetime{search module=MOD_DIR id=$searchid total=$sototal page=1 pagesize=10 urlrule=$urlrule}這個(gè)寫法不對(duì)呢
搜索頁面的模板標(biāo)簽生成工具:http://apdwn.com/doc/code/search.html
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人
關(guān)鍵是集成了搜索頁,但是篩選只能篩選本欄目的文章啊,catid=$catid ,怎么能篩選所有欄目文章呢