Thursday 02 November 2006 9:58:03 am
Hi Thomas,
You are probably using fetch( content , list ) to display your folders. http://ez.no/doc/ez_publish/technical_manual/3_7/reference/modules/content/fetch_functions/list If that's the case, you need to deal with the <b>offset</b> parameter of this function and ezpublish view_parameters system http://ez.no/doc/ez_publish/technical_manual/3_8/templates/basic_template_tasks. A quick example :
{def $my_folders=fetch( content , list , hash( parent_node_id , 2 , offset , $view_parameters.offset , limit , 5 ) )}
{* Here you display your content *}
{* The navigator *}
<a href={concat( $the_path_you_need , '/(offset)/' , 6 )|ezurl}>1</a>
<a href={concat( $the_path_you_need , '/(offset)/' , 11 )|ezurl}>2</a>
So when you'll click on "5", this will display 5 elements from the fifth. Hope it helped. PS : You don't need to be a geek in order to deal with EzPublish. :-)
My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr
|