Empire CMS ecmsinfo universal label

Source: Internet
Author: User

Information Call tag with template: [Universal tag] (ecmsinfo)

Tag Name: Call tag with template information (sys_GetEcmsInfo)

Format: [ecmsinfo] topic ID/topic ID, number of entries displayed, number of headers intercepted, whether to display the topic name, operation type, and template ID. Only the title image is displayed. [/ecmsinfo]

Parameter description: (the essence of Empire template creation. This label achieves various display effects .)

  1. Topic ID/topic ID: The topic ID or topic ID of the information to be called. The current topic or topic ID = 'selfinfo '. Multiple topic IDs or topic IDs are available ", "lattice open, such as '1, 2'. If it is called by SQL statement, it is an SQL statement.
  2. Number of entries: displays the first few records.
  3. Number of truncated titles: the number of characters in the intercepted titles.
  4. Show column name: 0 is not displayed, 1 is displayed.
  5. Operation Type: For details, see the description of the call operation type.
  6. Tag template ID: ID of the tag template used by the tag.
  7. Show only images with titles: 0 is unlimited. 1 is to show only information with titles.

Its display effect is determined by the tag template. The operation type is as follows:

Operation type description operation type description 0 each topic latest 3 All Information latest (Default table) 1 each topic popular 4 all information Popular (Default table) 2 recommended for each topic 5 recommended for all information (Default table) 9 comment for each topic ranking 10 comment for all information ranking (Default table) 12 headlines for each topic information 13 all information headlines (Default table) 15 downloads of each topic ranking 16 downloads of all information ranking (Default table) 25 scores of each topic ranking 27 rankings of all information ratings (Default table) 26 columns voting ranking 28 all information voting ranking (Default table) 6 topic latest information 18 each table latest (column ID = 'table name ') 7 topic hot info 19 popular tables (topic ID = 'table name') 8 topic recommendation info 20 recommendation for each table (topic ID = 'table name ') 11 topic comment ranking 21 comments ranking by table (topic ID = 'table name') 14 topic headlines 22 topic headlines information (topic ID = 'table name ') 17 topic download ranking 23 table download ranking (topic ID = 'table name') 29 Topic rating ranking 31 ranking by table (column ID = 'table name') 30 ranking by topic voting 32 ranking by table (column ID = 'table name ') 24 query by SQL (column ID = 'SQL statement') data table prefix available :"[! Db. pre!] "Indicates

Example: [ecmsinfo] 2, 3, 1 [/ecmsinfo]

  1. The topic ID is 2.
  2. The number of entries displayed is 3.
  3. The title is 14 characters in length.
  4. Whether to display column name 1 as display
  5. The operation type is 0.
  6. Template ID is 5
  7. Show only images with titles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.