織夢如何修改{dede:field.note/}標簽的調用
POST TIME:2020-10-09
織夢專題頁面調用標簽為{dede:field.note/},但是它默認產生的代碼需要我們人工修改下自己想要的,今天我們就來介紹下{dede:field.note/}默認代碼修改方法。
1:認識默認{dede:field.note/}產生的代碼:
<dl class="tbox">
<dt><strong>.</strong></dt>
<dd>
<ul class="d1 ico3">
<li><span class="date">[field:typename/]</span><a href="[field:arcurl /]" target="_blank">[field:title /]</a></li>
</ul>
</dd>
</dl>
|
2:底層模板調用控制文件 templets->system->channel_spec_note.htm
<dl class="tbox">
<dt><strong>~notename~</strong></dt>
<dd>
<ul class="d1 ico3">
~spec_arclist~
</ul>
</dd>
</dl>
|
3:~spec_arclist~ 控制文件為:templets->system->spec_arclist.htm
<li><span class="date">[field:typename/]</span><a href="[field:arcurl /]" target="_blank">[field:title /]</a></li>
此代碼為后臺專題文檔中的-單條記錄的模板代碼。