導(dǎo)讀:織夢文章織夢文章如何批量替換dedecms模板系統(tǒng)中的“來源”和“作者”第一步:打開:dede(臺目錄)\templets\article_add.htm (發(fā)表普通模板)和a織夢模板織夢模板網(wǎng)。

如何批量替換dedecms模板系統(tǒng)中的“來源”和“作者”第一步:打開:dede(臺目錄)\templets\article_add.htm (發(fā)表普通模板)和article_edit.htm(修改普通模板)分別把: <input name="source" type="text" id="sourcdede模板堂e" style="width:160px" value="<?php echo $source; ?>" size="16"/> 和: <input
name="writer" type="text" id="writer" style="width:120px"
value="<?php echo $arcRow["writer"]?>"><input
name="selwriter" type="button" id="selwriter" value="選擇" />分別改為: <input name="source" type="text" id="source" style="width:160px" value="www.moke8.com" size="16"/>和:<input
name="writer" type="text" id="writer" style="width:120px"
value="魔客吧"><input name="selwriter" type="button" id="selwriter"
value="選擇" />(上面把:“www.moke8.com”換成你自己的來源,“魔客吧”換成你自己的作者。)第二步:登陸后臺--模板--默認(rèn)模板管理--article_article.htm(文章內(nèi)容頁模板)把:<small>
時間:<免費(fèi)織夢模板;/small>{dede:field.pubdate
function="MyDate('Y-m-dH:i',@me)"/}<small>來源:</small>
{dede:field.source/} <small>作者:</small>{dede:field.writer/}
<small>點擊:</small><scriptsrc="{dede:field
name='phpurl'/}/count.php?view=yes&aid={dede:fieldname='id'/}&mid={dede:field
name='mid'/}"
type='text/javascript'language="javascript"></script>次</div&
gt;<!-- /info --> 改為:<small>時間:</small>{dede:field.pubdate function="MyDate('Y-m-dH:i',@me)"/}<small>來源:</small>www.moke8.com<small>
作者:</small>魔客吧<small>點擊:</small><script
src="{dede:fieldname='phpurl'/}/count.php?view=yes&aid={dede:field
name='id'/}&mid={dede:field name='mid'/}"
type='text/javascript'language="ja織夢后臺模板vascript"></script>次</div&
gt;(上面把:“www.moke8.com”換成你自己的來源,“魔客吧”換成你自己的作者。)
關(guān)鍵詞標(biāo)簽: 織夢 批量 模板
聲明: 本文由我的SEOUC技術(shù)文章主頁發(fā)布于:2023-07-20 ,文章如何批量替換dedecms模板系統(tǒng)中的“來源”和“作主要講述批量,模板,織夢網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請保留鏈接: http://www.bifwcx.com/article/web_32139.html
為你推薦與如何批量替換dedecms模板系統(tǒng)中的“來源”和“作相關(guān)的文章
網(wǎng)站建設(shè)技術(shù)SEOUC.COM
專注網(wǎng)站建設(shè),SEO優(yōu)化,小程序設(shè)計制作搭建開發(fā)定制網(wǎng)站等,數(shù)千家網(wǎng)站定制開發(fā)案例,網(wǎng)站推廣技術(shù)服務(wù)。
5000+合作客服
8年從業(yè)經(jīng)驗
150+覆蓋行業(yè)
主站蜘蛛池模板:
阿勒泰市|
济源市|
周至县|
滦南县|
肇州县|
沙雅县|
海林市|
汝阳县|
红河县|
万荣县|
沂水县|
闽侯县|
商城县|
南城县|
天门市|
文成县|
鹤岗市|
旅游|
新宾|
长阳|
黄梅县|
衡水市|
巴里|
育儿|
宜州市|
成安县|
中方县|
文成县|
盐边县|
河间市|
咸宁市|
昆明市|
桦川县|
化州市|
宽城|
祁连县|
江华|
伊宁市|
沽源县|
连山|
云和县|
|