<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

Dede:arclist及Dede:list调用系统变量或自定义变量

时间:2020-12-10

有部分个性化需求用户需要在arclist调用电话号码或者公司名称这些,那么这时候我们需要增加一个参数,在获取调用,用来实现效果。

TAG专业术语:织梦Dede:list及Dede:arclist里如何调用系统参数中的变量及自定义变量。

下面我们以具体实例操作演示调用方法,比如我们在系统基本参数里添加了电话号码,变量为cfg_tel。

那么系统变量单独调用版权:{dede:global.cfg_tel/}   

Arclist及List调用代码如下:

1 {dede:list pagesize='8'}
2       <tr>
3         <td align="center" bgcolor="#FFFFFF">标题:[field:title /]</td>
4         <td align="center" bgcolor="#FFFFFF">咨询电话:[field:global.cfg_tel/]</td>
5         <td align="center" bgcolor="#FFFFFF"><a href="[field:arcurl/]" title="[field:title /]" class="zy1">查看详情</a></td>
6       </tr>
7 {/dede:list}

 

1 {dede:arclist titlelen=80 orderby ='pubdate' row='3'}  
2       <tr>
0