織夢(mèng)導(dǎo)航不顯示外部鏈接欄目,修改channelartlist標(biāo)簽方法_DedeCms教程
教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!
查找:
- <span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">1 $tpsql = " reid=0 AND ispart<>2 AND ishidden<>1 AND channeltype>0 ";
- </span></span>
修改為:
- <span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">1 $tpsql = " reid=0 AND ishidden<>1 AND channeltype>0 ";
- </span></span>
即刪除 AND ispart<>2
完成。
欄目為外部鏈接時(shí)默認(rèn)使用新窗口打開,其它欄目使用當(dāng)前窗口打開的修改方法。
查找:
- <span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">1 $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]);
- </span></span>
在代碼的下一行增加:
- <span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">1 if($typeids[$i]['ispart'] == 2){
- $pv->Fields['typeurl'] = $pv->Fields['typeurl'].'" target="_blank';
- }
- </span></span>
這樣,在輸出的鏈接后就自動(dòng)增加了新窗口打開的代碼了。 僅供大家參考學(xué)習(xí)哦~
查看更多 DedeCms教程 織夢(mèng)模板 織夢(mèng)DedeCms視頻教程 織夢(mèng)dedecms專題
相關(guān)DedeCms教程:
- 織夢(mèng)dedecms wap手機(jī)門戶站點(diǎn)首頁(yè)不更新的解決方法
- dedecms織夢(mèng)TAG標(biāo)簽顯示單個(gè)標(biāo)簽共有多少篇文章的方法
- 織夢(mèng)DedeCMS獲取文章鏈接的函數(shù)GetOneArchive使用方法
- dedecms 首頁(yè)arclist按照'weight'排序
- 織夢(mèng)dedecms文章被評(píng)論后發(fā)短消息給作者的方法
- 織夢(mèng)圖集 上傳圖片小于設(shè)定尺寸 縮略圖生成失敗的解決辦法
- 織夢(mèng)cms系統(tǒng)TAG標(biāo)簽和分頁(yè)偽靜態(tài)設(shè)置教程
- dedecms在首頁(yè)調(diào)用會(huì)員信息(會(huì)員頭像和名字等)
- dede搜索結(jié)果頁(yè)支持article、sql、channelartlist 等標(biāo)簽
- 織夢(mèng)cms批量取消審核文檔的實(shí)現(xiàn)方法
- 織夢(mèng)dedecms在模板頁(yè)面中實(shí)現(xiàn)會(huì)員登錄退出狀態(tài)顯示
- 織夢(mèng)dedecms使用Mysql8.0無(wú)法登錄后臺(tái)的解決辦法
DedeCms教程教程Rss訂閱Cms教程搜索
DedeCms教程推薦
- 織夢(mèng)DedeCMS獲取文章鏈接的函數(shù)GetOneArchive使用方法
- DEDECMS 5.3采集教程
- DEDECMS自動(dòng)內(nèi)鏈生成解決方法--DEDE關(guān)鍵字內(nèi)鏈
- 【Vote 標(biāo)記使用實(shí)例】-DedeCMS模板制作使用實(shí)例教程(7)
- 什么是CMS,CMS系統(tǒng)功能特點(diǎn)解釋
- 后臺(tái)登陸驗(yàn)證碼錯(cuò)誤
- 織夢(mèng)文章列表分頁(yè)如何解決,以及分頁(yè)標(biāo)簽詳細(xì)解釋
- 織夢(mèng)讓arclist標(biāo)簽支持副欄目調(diào)用
- DedeCmsV5.1函數(shù)及文件參考手冊(cè)
- dedecms將標(biāo)題直接鏈接到外部鏈接
猜你也喜歡看這些
- 織夢(mèng)汽車導(dǎo)航視界門戶模板(二次開發(fā),帶500MB數(shù)據(jù))
- 高端大氣婚紗攝影織夢(mèng)模板 dedecms影樓婚慶模板 帶手機(jī)WAP同步PC數(shù)據(jù)
- dedecms高新企業(yè)-科技公司網(wǎng)站模板(滑動(dòng)下拉菜單)
- 織夢(mèng)dedecms商城模板(購(gòu)物商城)
- 織夢(mèng)CMS自適應(yīng)電子產(chǎn)品手機(jī)配件網(wǎng)站模板
- dedecms機(jī)械設(shè)備織夢(mèng)企業(yè)模板
- dedecms軟件公司-科技公司企業(yè)網(wǎng)站模板(手機(jī)自適應(yīng))
- 高端HTML5響應(yīng)式企業(yè)公司網(wǎng)站織夢(mèng)模板(自適應(yīng))
- 高端大氣紅木家具茶具公司織夢(mèng)帶手機(jī)端模板
- 路CMS整站模板下載
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索織夢(mèng)導(dǎo)航不顯示外部鏈接欄目,修改channelartlist標(biāo)簽方法| DedeCms模板| Dede模板| 織夢(mèng)模板| dedecms
- 教程說(shuō)明:
DedeCms教程-織夢(mèng)導(dǎo)航不顯示外部鏈接欄目,修改channelartlist標(biāo)簽方法。