Zhimeng dede label call Summary

Source: Internet
Author: User

I personally collect the dede template tag call code and add it to my favorites for later use. Due to the rush of Time, I fail to verify whether the code is correct one by one. If any error is found, please make an axe.
 
Key description call Tag:

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

Template path call Tag: {dede: field name = 'templeturl '/}

Website title call Tag: {dede: global name = 'cfg _ webname '/}

Topic navigation call Tag:

<A href = "/"> homepage </a> </li>
{Dede: channel type = 'top' row = '8' currentstyle = "<li class = 'thisclass'> <a href = '~ Typelink ~ '> ~ Typename ~ </A> </li> "}
<Li> <a href = '[field: typelink/]' target = "_ blank"> [field: typename/] </a> </li>
{/Dede: channel}

Specify the call topic Tag: {dede: onetype typeid = 'id'} [field: typename/] {/dede: onetype}

Channel topic call label: {dede: channel type = 'self '} <li> <a href =' [field: typelink/] '> [field: typename/] </a> </li> {/dede: channel}

Link call Tag: {dede: flink row = '24' linktype = 2 /}

Website copyright call Tag: {dede: global name = 'cfg _ powerby '/}

Website Record Filing call Tag: {dede: global name = 'cfg _ beian '/}

Current topic name tag: {dede: field name = 'typename '/}

Current location call Tag: {dede: field name = 'position '/}

List Article call Tag: {dede: list pagesize = '8'} {/dede: list}

Topic Link call Tag: [field: typelink function = 'str _ replace ("a", "a class = ulink", @ me) '/]

Author link call Tag: [field: writer/]

Click the call label in the list: [field: click/]

List comment call Tag: [field: postnum/]

View the full-text call label: <a href = "[field: arcurl/]"> View the full text... </a>

List time call Tag: [field: pubdate function = "GetDateTimeMK (@ me)"/]

List paging call Tag: {dede: pagelist listsize = '4' listitem = 'index pre pageno next end '/}

Title call Tag: {dede: field name = "title "/}

Source call Tag: {dede: field name = 'source '/}

The author calls the tag {dede: field name = 'write '/}

Document time call Tag: {dede: field name = 'pubdate' function = 'getdatemk (@ me )'/}

Tag call tag: {dede: Tag type = 'current '/}

Click the call label in the article: <script src = "{dede: field name = 'phpurl'/}/count. php? Aid = {dede: field name = 'id'/} & mid = {dede: field name = 'memberid'/} & view = yes "language =" javascript "> </script>

Content call Tag: {dede: field name = 'body '/}

Document paging call Tag:

{Dede: pagebreak /}
[<A href = "{dede: field name = 'phpurl'/}/stow. php? ArcID = {dede: field name = ID/} "> favorites </a>]
[<A href = "{dede: field name = 'phpurl'/}/recommend. php? ArcID = {dede: field name = ID/} "> recommended </a>]
[<A href = "{dede: field name = 'phpurl'/}/feedback. php? ArcID = {dede: field name = ID/} "> comment </a>]
[<A href = "#" onClick = "window. print ();"> print </a>]
[<A href = "#" onClick = "window. close ();"> close </a>]

Article Top Customer count Tag: {dede: field name = 'digg'/} <a href = "javascript: digg ('digg', {dede: field name = 'id'/}); "> top </a>

Next tag in the previous article: {dede: prenext get = 'pre'/} {dede: prenext get = 'Next '/}

Toutiao recommendation call Tag:

{Dede: arclist row = 1 titlelen = 24 orderby = pubdate att = 2}
<Dt> [field: textlink/] <span> [field: description/]… </Span> </dt>
{/Dede: arclist}

Call label of the latest article: {dede: arclist row = 8 titlelen = 24 orderby = pubdate} <li> [field: textlink/] </li >{/ dede: arclist}

Latest graphic call labels:

{Dede: arclist row = 4 titlelen = 20 orderby = pubdate type = 'image. 'imgwidth = '000000' imgheight = '98 '}
<Dd> <a href = "[field: arcurl/]"> </a> <span> <a title =" [field: title function = 'htmlspecialchars (@ me) '/] "href =" [field: arcurl/] "> [field: title/] </a> </span> </dd>
{/Dede: arclist}

Recommendation document call Tag:

{Dede: arclist type = 'commend' titlelen = '40' row = '10 '}
<Li> <a title = "[field: title function = 'htmlspecialchars (@ me) '/]" href = "[field: arcurl/]"> [field: title/] </a> </li>
{/Dede: arclist}

Random recommendation call Tag:

{Dede: arclist type = 'commend' titlelen = '26' orderby = 'rand' row = '10 '}
<Li> <a title = "[field: title function = 'htmlspecialchars (@ me) '/]" href = "[field: arcurl/]"> [field: title/] </a> </li>
{/Dede: arclist}

Hotspot document call Tag:
{Dede: arclist orderby = 'click' titlelen = '40' row = '10 '}
<Li> <a title = "[field: title function = 'htmlspecialchars (@ me) '/]" href = "[field: arcurl/]"> [field: title/] </a> </li>
{/Dede: arclist}

Related document call labels:

{Dede: likeart titlelen = '24' row = '10 '}
<Li> <a title = "[field: title function = 'htmlspecialchars (@ me) '/]" href = "[field: arcurl/]"> [field: title/] </a> </li>
{/Dede: likeart}
 
Call the external htm file: {dede: include file='head.htm 'ismake = 'yes '/}

Click the call tag in the article ranking by Time:

By Total: {dede: arclist row = '24' titlelen = 24 orderby = click}
Monthly: {dede: arclist row = '24' titlelen = 8 orderby = click subday = 30}
By week: {dede: arclist row = '24' titlelen = 8 orderby = click subday = 7}

Call a subtopic of a topic on the homepage

{Dede: channel type = 'sun' typeid = 'topic id '}
<A href = "[field: typelink/]"> [field: typename/] </a>
{/Dede: channel}
Or
{Dede: global name = 'maplist '/}

Articles you may be interested in
  • DedeCMS: how to call the website head on the zhimeng message board
  • Template tag call description
  • DedeCMS (zhimeng) website Server Directory Security Settings Experience Sharing
  • Php uses regular expressions to filter various tags, spaces, and line breaks.
  • Mysql database cache function analysis, debugging, and performance summary
  • Install and use Sphinx in windows [Chinese full-text search is supported]
  • Differences between window. navigate and window. location. href
  • Summary of practical methods to improve PHP Performance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.