Document tags
-
Document list tags
Description: Used to obtain a regular document list, related document list, and document paging list usage method: {% archiveList Variable name with categoryId="1" order="id desc|views desc" type="page|list" q="Search keyword" %} If you define a variable as archives {% a -
Document Details Tags
Description: Used to obtain document details data usage method: {% archiveDetail variable name with name="field name" id="1" %} Variable name is not necessary. After setting the variable name, you can call it through the variable name in the future. Without setting the variable name, the result will be output directly. The supported parameters of archiveDetail are: Document ID idid is not required. -
Previous document tag
Description: Used to obtain data from the previous document: {% prevArchive Variable name %} If you define the variable as prev {% prevArchive prev %}...{% endprevArchive %}prevArchive No parameters are supported. The fields supported by prevArchive are: Document ID Id Document title T -
Next document tags
Description: Used to obtain the data of the next document: {% nextArchive Variable name %} If you define the variable as next {% nextArchive next %}...{% endnextArchive %}nextArchive No parameters are supported. NextArchive The supported fields are: Document ID Id Document title T -
Related Document Tags
Description: Get relevant documents for the current document. The logic of the relevant documents is: obtain adjacent documents of the same category based on the document id of the current document. Therefore, this tag can only be used on the document details page. Usage method: {% archiveList Variable name with type="related" limit="10" %} If you define a variable as archives {% archiveL -
Document parameter tags
Description: Use method for obtaining the background settings of the specified document: {% archiveParams Variable name with id="1" sorted=true %} If you define the variable as params {% archiveParams params with id="1" sorted=true %}...{% endarc -
Document parameter filter tags
Document parameter filtering can only be used on the document homepage or document classification template, combined with the document paging list. Note: Used to perform filtering conditions for list combination screening based on various parameters of the document. For example, when building a real estate website, it can be used for residential, shop, commercial and residential purposes according to the type of house. At the same time, it can be additionally selected for single rooms, one bedroom, one living room, two bedrooms, two living rooms, three bedrooms and two living rooms, etc. according to the size of the house. In this case, the document parameter screening function can be used. make