soo_multidoc_pager
Usage
Generates a numbered page navigation widget. Requires individual article context.
<txp:soo_multidoc_pager />
Attributes
limit="integer"
Number of pages to show before and after the current page before inserting theplaceholder
text. Default is0
, no limit (show all).placeholder="text"
Text to show for missing pages (seelimit
). Default is…
(horizontal ellipsis).class="HTML class"
HTML class attribute value for anchor tagsactive_class="HTML class"
HTML class attribute value for thespan
tag for the current pagehtml_id="HTML ID"
HTML ID attribute value for the wraptagwraptag="tag name"
Tag name (no brackets) for element to wrap the anchorbreak="mixed"
Tag name (no brackets) or text to add between itemswrapclass="HTML class"
HTML class attribute for the wraptagbreakclass="HTML class"
HTML class attribute for the breaktag
Example usage
<txp:soo_multidoc_pager wraptag="table" active_class="this-page" limit="3" />
1 | … | 14 | 15 | 16 | 17 | 18 | 19 | … | 27 |
If wraptag
is table
, ul
, or ol
, the break
value defaults appropriately. This is different from the usual Textpattern behavior.