Page information tag
You use the page information tag to display page navigation details in the design of a page navigation element.
This is the format of a page information tag:
[PageInfo value=" " knowntext=" " unknowntext=" " start=" " end=" " ]
To create a page information tag:
-
Click Insert a Tag from a presentation template or element design field. The Tag Helper dialog opens.
-
Select Page Information as the tag type.
-
Select a page information value:
- currentPage
- totalPages
- firstItemOnPage
- lastItemOnPage
- totalItems
- itemsPerPage
- unknownPages The value "unknownPages" is used to display different text when the total number of pages are either known or unknown. When used you must also use the "knowntext" and "unknowntext" parameters.
-
Click OK to add the tag to your navigator design.
Once you add the tag to your design, you can also add the following parameters to the tag:
Tag parameters | Details |
---|---|
knowntext=" " unknowntext=" " |
These parameters are used when value="unknownPages". For example:
|
start=" " end=" " |
The start and end attributes are used to wrap the data that is returned by a tag within other tags, such as HTML. These attributes are not mandatory. |