Home > CMS Tutorial > DEDECMS > What are the common tags suitable for corporate websites?

What are the common tags suitable for corporate websites?

藏色散人
Release: 2019-11-19 16:13:44
Original
1776 people have browsed it

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

{ dede:global.cfg_webname/}

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(&#39;m-d&#39;,@me)"/]</p>
{/dede:arclist}
orderby=&#39;hot&#39; [field:info/] [field:description/]
Copy after login

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=&#39;sun&#39; typeid=&#39;栏目ID&#39;}
[field:typename/]
{/dede:channel}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template