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: