Difference between revisions of "Paging Plugin"

From MSX - Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Usage ==
 
== Usage ==
The plugin must be loaded with a content URL. Optionally, the limit can be indicated (which is by default set to 20). Please see following action syntax examples.
+
The plugin must be loaded with a content URL. Optionally, the limit can be indicated (by default, it is set to 20). Please see following action syntax examples.
  
 
* <code>content:request:interaction:{URL}@http://msx.benzac.de/interaction/paging.html</code>
 
* <code>content:request:interaction:{URL}@http://msx.benzac.de/interaction/paging.html</code>

Revision as of 10:25, 9 February 2024

This is a special interaction plugin that allows you to integrate paging into templated content items (i.e. a Content Root Object that uses the template and items properties). The plugin can be used with version 0.1.82 or higher.

Usage[edit]

The plugin must be loaded with a content URL. Optionally, the limit can be indicated (by default, it is set to 20). Please see following action syntax examples.

The content URL should contain the keywords {OFFSET} and {LIMIT}, which are replaced with the corresponding values. Please see following action syntax examples.