How to use

index_tag.htm,
Please add the index_tag.htm file in the template folder, and fill in the page content yourself.
Page URL tag {eyou:diyurl type='tag' /}, example: TAG cloud

For page content calling method, refer to the tag manual-TAG tag:

【Basic usage】
Name:tag
Function: TAG call
Syntax:
{eyou:tag sort='now' getall='0' row='100'}
{$field.tag}
{/eyou:tag}
Parameters:
aid='' document ID, this attribute does not need to be set on the content page
typeid='' Column ID, retrieve all TAGs under a certain column
row='100' returns the total number of advertising lists
getall='' Get type, 0 is the TAG mark of the current content page, 1 is to get all TAG marks sort='' Tag sorting method
Sort='new' Sort by latest
Sort='rand' Random sorting
Sort='week' Sort by weekly statistics
Sort='month' Sort by monthly statistics
Sort='hot' Sort by number of clicks
Sort='total' Sort by number of documents
name='' variable
empty='' Copy text displayed when there is no data
mod='' output content every N lines
id='' You can arbitrarily specify the variable name in the loop to replace the field. Assuming id='field1', the template call such as: {$field.title} becomes {$field1.title}
Underlying fields:
Please consult the data dictionary officially provided by Yiyou Cms to find the table name ey_tagindex
 
 
【More examples】
----------------------------------Example 1--------------------------------
Description: Output the TAG mark of the current document page
{eyou:tag getall='0'}
{$field.tag}
{/eyou:tag}
----------------------------------Example 2--------------------------------
Description: Output the TAG tag of any document on any page
{eyou:tag getall='0' aid='3'}
{$field.tag}
{/eyou:tag}
----------------------------------Example 3--------------------------------
Description: Output all TAG tags under the specified column ID
{eyou:tag getall='1' typeid='2' row='50' sort='hot'}
{$field.tag}
{/eyou:tag}
----------------------------------Example 5--------------------------------
Description: The built-in variable outputs the data index and record order. key represents the index, starting from 0 by default; i represents the order, starting from 1 by default.
{eyou:tag getall='1' typeid='3' row='5'}
{$key} - {$i}
{/eyou:tag}
Effect:
0 - 1
1 - 2
2-3
3-4
4-5
----------------------------------Example 6--------------------------------
Description: Output a copy prompt when there is no record. The empty attribute supports direct passing of HTML syntax (only double quotes are supported in HTML, single quotes are prohibited)
{eyou:tag getall='1' typeid='3' empty='No data yet'}
{$field.tag}
{/eyou:tag}
----------------------------------Example 7--------------------------------
Description: Custom variable name
{eyou:tag getall='1' typeid='3' id='field2'}
{$field2.tag}
{/eyou:tag}