Dedecms friendship link flink call method, dedecmsflink

Source: Internet
Author: User

Dedecms friendship link flink call method, dedecmsflink

  Tag Name: flink

[Label Introduction]

[Function description]: used to obtain links. The corresponding background file is "includetaglibflink. lib. php ".

[Applicability]: Global tag, applicable to V55, V56, and V57.

[Parameter description]:

[1] type: link type, value:

A. textall is displayed in text;

B. Arrange textimage text and figures in a hybrid manner;

C. text Link. Only links without Logo are displayed;

D. image link. Only the link with the Logo is displayed.

-------------------------------------

[2] row: Number of link calls.

[3] linktype: link display position. linktype = '2' indicates the call of the homepage friendship link, and linktype = '1' indicates the call of the inner page friendship link, A selection prompt is displayed when you add a link.

[4] titlelen: the length of the site text. '24' indicates that the number of Chinese characters that call the link is 24 bytes, and the length of 12 Chinese characters.

[5] typeid: link category type. typeid = '0' indicates that all types of links are called, you can view this information in "website type management" in [module]-[LINK] of the system background.

[Underlying template field]:

  

 [Call method]:

DEDECMS Default Code:

{Dede: flink row = '24 '/}

 Image links:

{Dede: flink row = '24' type = 'image' titlelen = "24" typeid = "0"} [field: link/] {/dede: flink}

  Text Link: (recommended) There is a tag

{Dede: flink row = '24' type = 'text' titlelen = "24" typeid = "0"} [field: link/] {/dede: flink}

[Instance display]:

Code 1:

{Dede: flink /}

{Dede: flink row = '24' type = 'text' titlelen = "24" typeid = "0 "}

[Field: link/]

{/Dede: flink}

{Dede: flink row = '24' type = 'image' titlelen = "24" typeid = "0 "}

[Field: link/]

{/Dede: flink}

Effect:

  

Code 2:

{Dede: flinktype type = "dedecms "}

Id = "flink _ [field: id/]">

{Dede: flink /}

{/Dede: flinktype}

Effect:

  

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.