<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">

观点

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

去除织梦DedeCMS自定义字段“附件”下载的Table样式教程

时间:2020-12-16

织梦DedeCMS系统的内容模型中添加附件类型字段时,前台需要用{dede:field name='字段名'/}来调用。

然后我们上传一个图片或者压缩包后,前台页面的代码里却不是这个附件的直接下载地址:

例如我们需要这样的格式:'/uploads/soft/100602/1-100602212355.zip'

但前台则显示这样的代码:

<table width='300'>
      <tr>
          <td height='30' width='20'><a href='/uploads/soft/100602/1-100602212355.zip' target='_blank'><img src='~cfg_phpurl~/img/addon.gif' border='0' align='center'></a></td>
          <td><a href='/uploads/soft/100602/1-100602212355.zip' target='_blank'><u>/uploads/soft/100602/1-100602212355.zip</u></a></td>
      </tr>
</table>

下面就是去除多余table代码的修改方法:

1、打开文件 /templets/system/channel_addon.htm

2、把里面的代码全都删掉,只写~link~即可。

    0
    首页
    案例
    关于
    联系