Share » Forums » Developer » Problem with sub items and google...

Problem with sub items and google navigator pagination

Problem with sub items and google navigator pagination

Tuesday 09 June 2009 12:29:18 am - 1 reply

Modified on Tuesday 09 June 2009 8:26:26 am by Pierre SCALFATI

Author Message

Pierre SCALFATI

Tuesday 09 June 2009 9:12:11 am

I found finally what was wrong with my pagination. It came from my fetch function which did not indicate the limits. Here is what I changed:

  {def $rubriques = fetch('content', 'list', hash('parent_node_id', $node.node_id, 'depth', 0, 'language', $node.object.current_language, 'offset', $view_parameters.offset, 'limit', $page_limit, 'sort_by', array( 'name', true() )))}

What was missing was the following parameter


'limit', $page_limit

$page_limit is defined with a value of 5 (for 5 items maximum displayed for each page).

Best Regards.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu