When setting fields in model management, you can select 'set as correlated Field'. if we specify the author field as author, all articles under an author are specified, the attribute is set to _ author = & quot; & quot;. Note that the user-defined field must be prefixed with an underscore (_ author = & quot;) to be used with system fields.
Example:
{King:Portal. articleType = "new" number = '10'}
{King:TitleSize = "32"/}
{/King:Portal. article}
Content call label attributes
Number |
Number |
Number of calls |
Zebra |
Number |
The zebra crossing separates rows and outputs 1 when the value is exceeded. Otherwise, the output is 0. |
Skip |
Number |
Skip a specified number of records and start calling |
Type |
Default string |
Call preset type
- New latest
- Relate Association
- Hot
- Focus
- Commend recommendation
- Head headlines
- Good
- Bad negative ratings
- Hit hotspot (ranking of browsing times)
- Lately recent Hot Clicks
- Comment hot comments
- Chill
- Rand random
- List, which must have a listid value
- Pagelist: the page list of the current content page, which is valid when the number of pages is = 1
- The page List of the current page. valid when the number of pages is greater than 1
- The recent user recently visited the page, and the static page is invalid.
- Irregular news calls subtitles
This property has an attribute length, which is the length value of each line, The length of a Chinese character ranges from 2 to 40. Call number rounding method to get the integer, That is, when number is 3, two contents are called and displayed in one row. A small number of applications are recommended for this function.
- Other values, including null values, are different from new values. when the orderby attribute is available, values are routed based on the orderby attribute. If no value is available, values are sorted based on the newest norder reverse order.
|
Kid |
Segmented number |
Specify the content id to call. the following two methods are provided:
- Kid = 'kid'
- Kid = 'id1, KID2, KID3'
|
Listid |
Segmented number |
Call listid of a specified list, for example, listid = "LISTID" and listid = "LISTID1, LISTID2" Supports exclusion, that is, specifying a value not equal to, listid! = "LISTID" or listid! = "LISTID1, LISTID2" |
Kid1 |
Segmented number |
Specify the id to call. the method is the same as above. Excluded |
Userid |
Segmented number |
The call method of the specified user is the same as the preceding one. Excluded |
Siteid |
Segmented number |
Specifies the bound domain name. The method is the same as above. |
Preset Association |
String |
String call When setting fields in model management, you can select 'set as correlated Field'. if we specify the author field as author, all articles under an author are specified, set the property to _ author = "". Note that the custom field must be prefixed with an underscore to distinguish it from the system field. Excluded |
Where |
String |
SQL syntax after where |
Orderby |
String |
The SQL syntax after order by. when the orderby attribute is specified, the sorting in the type attribute above will be invalid. |
Ispublish1 |
1/0 |
Publish the topic page after 0 verification; 1 directly Publishing; 2 not allowed to publish |
Ispublish2 |
1/0 |
The details page is published after 0 verification; 1 is published directly; 2 is not allowed to be published |
Isexist |
1/0 |
Indicates whether a subtopic exists. If this parameter is set to 1, only subtopic with subtopic is called. If this parameter is set to 0, only subtopic with no subtopic is called. |
Nlist |
Number |
Type of list generation for calling columns: HTML generated by 0; 1 dynamic; 2 pseudo static; 3 not displayed |
Npage |
Number |
Page generation type of the call topic. the parameters are the same as above. |
Gid |
Number |
User Group specified by topic |