Difference between revisions of "Paging Plugin"
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
− | The plugin must be loaded with a content URL. Optionally, the limit can be indicated ( | + | 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.
content:request:interaction:{URL}@http://msx.benzac.de/interaction/paging.html
content:request:interaction:{URL}|{LIMIT}@http://msx.benzac.de/interaction/paging.html
The content URL should contain the keywords {OFFSET}
and {LIMIT}
, which are replaced with the corresponding values. Please see following action syntax examples.
content:request:interaction:http://link.to.content?offset={OFFSET}&limit={LIMIT}@http://msx.benzac.de/interaction/paging.html
content:request:interaction:http://link.to.content?offset={OFFSET}&limit={LIMIT}%7C20@http://msx.benzac.de/interaction/paging.html