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