<v:pagination>
Renders a set of page links for a <v:collection> tag that is being paginated. The CSS class for the current page is set to current.
You may nest a <v:divider> tag inside this tag to specify a divider that is shown after each page number link or after a certain number of page number links. Dividers can also wrap the each page number link.
Required Attributes
-
collection - id of the <v:collection> tag that is being paginated.
Optional Attributes
None.
Sample Usage
<v:collection paginate="10" id="items"> ... </v:collection> <v:pagination collection="items" />
Would render something like:
... <a href="?items_page=1" class="current">1</a> <a href="?items_page=2">2</a> <a href="?items_page=3">3</a>