Home >CMS Tutorial >DEDECMS >What are the common tags suitable for corporate websites?
What are the commonly used dream weaving tags suitable for corporate websites?
The dream weaving tags have a wide range, and are suitable for enterprises In fact, the website cannot use so many tags. I would like to share my summary of tags suitable for corporate websites. I hope you can collect them.
Recommended learning: dedecms tutorial
1: Basic title call
Homepage
08eb756f81b28a01d33212cce3fbe742{ dede:global.cfg_webname/}0e94189e2178ffcfb346fb78b3f60691
0c56342bb0d33516c917722f8d894224
598c82dba5b0e5821a409673a2fda4dd
Article page
{dede:field name="title"/} Here is the article page The title, {dede:field.seotitle/} is the column page, and the description and KEY are written in the same way.
2: Navigation call
{dede:channel row='9' type='top' }
[field:typename function='substr(@ me,0,8)'/]
{/dede:channel}
3: Article free list tag
Article list
{dede:arclist titlelen='25' row='5' typeid='2'} <a href="[field:arcurl/]" title="[field:title /]"><img alt="[field:title /]" src="[field:litpic/]"><SPAN>[field:title /]</SPAN></a><p> [field:pubdate function="MyDate('m-d',@me)"/]</p> {/dede:arclist} orderby='hot' [field:info/] [field:description/]
flag = 'h' Custom attribute value: Headlines [h] Recommendation [c] Picture [p] Slideshow [f] Scroll [s] Jump [j] Picture and text [a] Bold [b]
There are more parameters in ARCLIST here. You can check out the tutorial of Dreamweaver. There are only a few used.
4: Call the sub-column of a certain column on the homepage
This tag is generally used for product classification.
{dede:channel type='sun' typeid='栏目ID'} [field:typename/] {/dede:channel}
5: Tail information: (global universal label)
Friendly link call label:
{dede:flink row='24' linktype=2/ }
{dede:flink row='24' type='text' titlelen='26' linktype = '2'} [field:link /] {/dede:flink}
Website copyright call tag: {dede:global name='cfg_powerby'/}
Website registration call tag: {dede:global name='cfg_beian'/}
6: List Tags used on the page
List article calling tag: {dede:list pagesize='8'} {/dede:list}
Current column name tag: {dede:field name=' typename'/}
Column introduction: {dede:field name='description' function='html2text(@me)'/}
Single page content: {dede:field.content/ }
Current position call tag: {dede:field name='position'/}
List comment call tag: [field:postnum/]
List time call tag : [field:pubdate function="GetDateTimeMK(@me)"/]
List paging call tag: {dede:pagelist listsize='4' listitem='index pre pageno next end '/}
List title: {dede:field.title/}-{dede:global.cfg_webname/}
List click call label: [field:click/]
List comment call label : [field:postnum/]
List column call: [[field:typename/]]
List column call TAG: {dede:tag row='80' getall='1' sort='month'}[field:tag /]{/dede:tag}
7:Article page
Article title calling tag: {dede:field name="title"/}
Author link call tag: {dede:field name='writer' /}
Article source call tag: {dede:field name='source'/}
Article time call tag: {dede:field name='pubdate' function='GetDateMk(@me)'/}
Article Tag call tag: {dede:tag type='current'/}
Article content tag: {dede:field name='body'/}
Article summary: {dede:field.description /}
Article page thumbnail: {dede:field name="litpic"/}
The above is the detailed content of What are the common tags suitable for corporate websites?. For more information, please follow other related articles on the PHP Chinese website!