<code id='657C4DE97A'></code><style id='657C4DE97A'></style>
    • <acronym id='657C4DE97A'></acronym>
      <center id='657C4DE97A'><center id='657C4DE97A'><tfoot id='657C4DE97A'></tfoot></center><abbr id='657C4DE97A'><dir id='657C4DE97A'><tfoot id='657C4DE97A'></tfoot><noframes id='657C4DE97A'>

    • <optgroup id='657C4DE97A'><strike id='657C4DE97A'><sup id='657C4DE97A'></sup></strike><code id='657C4DE97A'></code></optgroup>
        1. <b id='657C4DE97A'><label id='657C4DE97A'><select id='657C4DE97A'><dt id='657C4DE97A'><span id='657C4DE97A'></span></dt></select></label></b><u id='657C4DE97A'></u>
          <i id='657C4DE97A'><strike id='657C4DE97A'><tt id='657C4DE97A'><pre id='657C4DE97A'></pre></tt></strike></i>

          您现在的位置是:dedecmag在线网投app真人线上注册s仿站article >>正文

          dedecmag在线网投app真人线上注册s仿站article

          秦庭之哭网5人已围观

          简介在dedecms后台的默认模板管理打开article_article.htm文章内容页模板,{dede:field.keywords/}是文章关键词的调用,其中eregtype=tag'只匹配tag,...

          在dedecms后台的默认模板管理打开article_article.htm文章内容页模板,{dede:field.keywords/}是文章关键词的调用,其中eregtype=tag'只匹配tag,而mytypeid='all'指限制所有栏目ID。头部tkd标签调用如下:

          <title>{dede:field.title/}_{dede:global.cfg_webname/}</title>

          <meta name="keywords" content="{dede:field.keywords/}" />

          <meta name="description" content="{dede:field.description function='html2text(@me)'/}" />

          其中<title>标题与列表页的标签调用是一样的。dede:field.description是文章描述的调用。{dede:pre在线网投appnag真人线上注册ext get='next'/} 是下一篇文章的调用。function='html2text(@me)'是过滤html代码调用纯文本。都是{dede:field name='position'/}

          {dede:field.title/}文章标题的调用

          发布时间:{dede:field.pubdate function="MyDate('Y-m-d H:i',@me)"/}

          文章来源:{dede:field.source/}

          文章作者:{dede:field.writer/}

          文章阅读(次数,

          文章页相关内容(阅读)调用如下例子

          {dede:likearticle row='8' titlelen='42' eregtype=tag' mytypeid='all'}

          <li><a href='[field:arcurl/]' target="_blank">[field:title/]</a></li>{/dede:likearticle}

          上面的代码主要是通过tags标签来调用相关联的文章(即文档要有同样的关键字)。{dede:prenext get='pre'/}是上一篇文章的调用,通过js计算):<script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" type='te在线网投appxt/javascript' language="javascript">效果如下图红框所示:

          $$$$ag真人线上注册$$dedecms仿站article_article.htm(文章内容页模板)-图片1

          {dede:field.body/}是正文内容的调用,效果如下图红框:

          dedecms仿站article_article.htm(文章内容页模板)-图片2

          文章内容当前位置的调用与列表页当前位置是一样的,

          Tags:

          相关文章

          

          友情链接