Dedecms Friendship Link Flink Call method

Source: Internet
Author: User
Tags tag name

  Tag name: Flink

[Introduction to tags]

[function description]: Used to get links, the corresponding background files for "includetaglibflink.lib.php".

[Scope of application]: Global tag, for v55,v56,v57.

[Parameter description]:

[1]type: Link Type, Value:

A. Textall are all displayed in text;

B. Textimage the text and the graph mixed arrangement;

C. text text link, display only the link without logo;

D. Image link to display only links with logos.

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

[2]row: Number of link calls.

[3]linktype: Link display location, linktype= ' 2 ' means Call Home link, linktype= ' 1 ' Call inside page friendship link, this value in add links when there is a choice hint.

[4]titlelen: The length of the site text, ' 24 ' means that the call friendship link of the Chinese character is 24 bytes, 12 characters long.

[5]typeid: Link classification type, typeid= ' 0 ' means to call all types of links, can be in the system backstage [module]-[links] in the "Site type management" in the view.

[Underlying template field]:

  

 [Invoke Method]:

Dedecms Default code:

{dede:flink row= ' 24 '/}

 Photo Links:

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

  Text Links: (recommended) there is a tag

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

[Example Show]:

Code Listing 1:

{dede:flink/}

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

[Field:link/]

{/dede:flink}

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

[Field:link/]

{/dede:flink}

Effect:

  

Code Listing 2:

{dede:flinktype type= "Dedecms"}

Id= "Flink_[field:id/" >

{dede:flink/}

{/dede:flinktype}

Effect:

  

Dedecms Friendship Link Flink Call method

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.