Tuesday 08 April 2003 2:28:58 am
You can use the generic navigators which are shipped with eZ publish, they require some input variables and will automatically generate the required html.
For instance:
{include name=navigator
uri='design:navigator/google.tpl'
page_uri=concat('/content/view','/full/',$node.node_id)
item_count=$list_count
view_parameters=$view_parameters item_limit=$page_limit}
uri: The template to include, you can also use simple.tpl. It can also be a good idea to look at these templates to so how it is done.
page_uri: The uri to the current page, the offset will be appended to this uri.
item_count: The maximum number of items the list contains
view_parameters: Parameters which are specific to views, contains for instance offset. Might be extended in the future. item_limit: The maximum number of items on this page
--
Amos
Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq
|