Dedecms tag summary

Source: Internet
Author: User
Today, I spent an hour sorting out dedecms tags, which are very classic and very classic dedecms tags. I hope to help you make dedecms websites with some commonly used tags, you can use ctrl + F to search. Website name: {dede: global. pai_webname/} website root URL: {dede: global. pai_basehost /}

Today, I spent one hour sorting out dedecms tags, which are very classic and very classic dedecms tags. I hope it will be helpful for you to make a dedecms website.

Tags are commonly used. you can use ctrl + F to search.

Website name: {dede: global. pai_webname /}
Website root URL: {dede: global. cmd_basehost /}
Website root directory: {dede: global. cmd_cmsurl /}
Webpage homepage: {dede: global. pai_indexurl /}
Website description: {dede: global. pai_description /}
Website keyword: {dede: global. pai_keywords /}
Template path: {dede: global. pai_templets_skin /}
Call page: {dede: include filename = "head.htm "/}
Website code: {dede: global. cmd_soft_lang /}
Bytes -----------------------------------------------------------------------------------------------
Call time: [field: pubdate function = MyDate ('Y-m-D', @ me)/]
Call thumbnail:
{Dede: arclist row = 10 orderby = pubdate type = 'image. 'imgwidth = 'define image width 'imgheight = 'height '}
[Field: image/]
{/Dede: arclist}
Call the thumbnail source image:
[Field: litpic runphp = 'yes']
$ Youjoys = array ("-lp", "_ keys ");
@ Me = str_replace ($ youjoys, "", @ me );
[/Field: litpic]
Call a single topic:
{Dede: type}
[Field: typename/]
{/Dede: type}
Bytes -----------------------------------------------------------------------------------------------
Article title: {dede: field. title /}
Description: {dede: field. description function = 'html2text (@ me )'/}
Keyword: {dede: field. keywords /}
Current location: {dede: field name = 'position '/}
Article Time: {dede: field. pubdate function = "MyDate ('Y-m-d H: I ', @ me )"/}
Source: {dede: field. source /}
Author: {dede: field. writer /}
Article content: {dede: field. body /}
Previous: {dede: prenext get = 'pre '/}
Next Article: {dede: prenext get = 'next '/}
Clicks:

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.