Information call tag with Template: [Universal label] (Ecmsinfo)
Tag name: Information call label with template (Sys_getecmsinfo)
Format: [ecmsinfo] Column ID, display number, title interception number, whether to display the column name, operation type, template ID, only display the title picture [/ecmsinfo]
Parameter description: (The essence of the Empire template production, this label to achieve a variety of display effects.) )
- Column ID: The column ID or topic ID to invoke the information, the current column or topic id= ' selfinfo ', multiple column ID or thematic ID available "," The number is open, such as ' up ', if it is called by the SQL statement, then here is the SQL statement.
- Show number of bars: Displays the first few records.
- Title intercept: The number of characters to intercept the title.
- Show Column name: 0 is not displayed, 1 is displayed.
- Type of operation: Specific View information call action type description.
- Label Template ID: the label template ID used for this label.
- Only the title picture is displayed: 0 is Unrestricted, and 1 is the information that displays only the title picture.
Its display effect is determined by the label template. The operation types are as follows:
Action type description action type description 0 Each column latest 3 all information most New (default table) 1 each column popular 4 All information popular (default table) 2 each column recommended 5 All information recommendation (default table) 9 Comments Top 10 All information comments ranking (default table) 12 each column headline information 13 All information Headlines (default table) 15 download Top 16 all download ranking (default table) 25 each column rating 27 All information rating ranking (default table) 26 votes for each column 28 all information polls (default table) 6 Special Update 18 Table update (column id= ' table name ') 7 topics popular information 19 each Table Popular (Column id= ' table name ') 8 Featured information 20 table recommendations (column id= ' table name ') 11 Special comments 21 List of Comments (column id= ' table name ') 14 feature headlines 22 each table headline information (column id= ' Table name ') 17 downloads for each topicLine 23 Download the table (column id= ' table name ') 29 each topic score 31 each table rating ranking (Column id= ' table Name ') 30 each thematic poll ranked 32 each table vote (Column id= ' table name ') 24 by SQL query (column id= ' SQL statement ') data table prefix available: "[!DB.P Re!] " Said
Example description: [Ecmsinfo]2,3,14,1,0,5,1[/ecmsinfo]
- Column ID is 2
- Show number of bars is 3
- Title intercept number is 14 characters
- Whether the column name 1 is displayed is displayed
- Operation type is 0
- The template ID is 5
- Show only title pictures
http://www.bkjia.com/PHPjc/752484.html www.bkjia.com true http://www.bkjia.com/PHPjc/752484.html techarticle information call tag with Template: [Universal label] (ECMSINFO) tag name: Information call label (SYS_GETECMSINFO) format with Template: [ecmsinfo] Column ID, display number, title section ...