soo_image user guide Page 11 of 16 « »
Pagination tags
- soo_image_prev
- soo_image_next
- soo_image_page_count
For use when soo_image_select
has a limit
. The first two can be used as single tags or containers. Any of these can be placed anywhere on the page, even before the associated soo_image_select
tag. (Note that if there is more than one soo_image_select
tag on the page, you should use the pagination
attribute to disable pagination in all but one of the tags.)
<txp:soo_image_prev /> <txp:soo_image_next>Next</txp:soo_image_next> <txp:soo_image_page_count />
Attributes
soo_image_prev
and soo_image_next
each accept the following optional attributes:
class
(text)
HTML class name for thea
tag.html_id
(text)
HTML id for thea
tag.link_text
(text)
Link text. Default is “←” forsoo_image_prev
and “→” forsoo_image_next
. It is overriden by the tag contents if it is a container tag.
soo_image_page_count
accepts the following optional attributes:
format
(format string) default"Page {current} of {total}"
Tag will output this string after replacing{current}
and{total}
with page numbersshowalways
(boolean) default0
Whether or not to show output when the list is a single page