Empire CMS introduce universal label ecmsinfo

Label with information to call the template: [Universal label] (ecmsinfo)

Label Name: label with information to call the template (sys_GetEcmsInfo)

Format: [ecmsinfo] section ID / topic ID, display the number of the title interception number, whether to display the column name, type of operation, the template ID, show only the title picture [/ ecmsinfo]

Parameter Description essence :( empire templates to create and display this label to achieve various effects.)

  1. Column ID / Special ID: ID sections or topics to call ID information, current topic or topics ID = 'selfinfo', or a plurality of columns ID thematic ID available "," open cell numbers, such as '1', if by calling the SQL statement, the SQL statement here.
  2. The number of display: displays the first few records.
  3. Title interception count: how many characters the interception title.
  4. Whether to display the column name: 0 for no show, 1 to show.
  5. Operation Type: View information specific type of call operation instructions.
  6. Label templates ID: ID tag template used by this label.
  7. Show only the title picture: 0 for no limit, 1 to display only the information that has the title picture.

Its display is determined by the label template. Type of operation is as follows:

 
The type of operation instructions Type Description 
 
0 each Lastest 3 all the latest information (default table) 
1 on various topics Top 4 All Bets (default table) 
2 each section of the recommended 5 all information recommended (default table) 
9 each section Comments Top 10 All information comments Ranking (default table) 
12 for each column headline information 13 All information headlines (default table) 
15 each section to download Top 16 All information Download rank (default table) 
25 on various topics Top Rated 27 All information Rated (default table) 
26 on various topics Top 28 vote vote all the information Ranking (default table) 
  
6 thematic latest information on the latest 18 each table (column ID = 'table name')
7 19 Hot topic Hot each table (column ID = 'table name')
8 topics recommended information 20 tables recommended (Column ID = 'table name') 
11 thematic reviews Rank 21 tables Comments Ranking (Column ID = 'table name')                
14 thematic headlines 22 tables headlines information (section ID = 'table name ') 
17 thematic Top Downloads 23 tables Top Downloads (column ID =' table ') 
29 thematic Rated 31 tables Rated (column ID =' table ') 
30 thematic voting Top 32 tables vote rankings (column ID = 'table') 
 
24 by sql query (column ID = 'sql statement') table prefix available: "[! db.pre!]" represents

Exemplified: [ecmsinfo] 2,3,14,1,0,5,1 [/ ecmsinfo]

  1. ID columns 2
  2. 3 is displayed as the number of
  3. The title number is truncated to 14 characters
  4. Whether to display the name of the column 1 is
  5. Operation Type 0
  6. Template ID 5
  7. Show only the title picture

Guess you like

Origin www.cnblogs.com/surplus/p/11291643.html