Share » Forums » General » Stopping article pagination?

Stopping article pagination?

Stopping article pagination?

Sunday 31 July 2005 6:39:22 pm - 5 replies

Author Message

Łukasz Serwatka

Sunday 31 July 2005 11:23:14 pm

Hi Brad,

If other folders in this section will the same template than you can remove code which include google.tpl template

 {include name=navigator
          uri='design:navigator/google.tpl'
           .
           .
           .} 

Remove also "limit" from hash() in your fetch function.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Brad Foggon

Monday 01 August 2005 11:22:17 pm

Where is the fetch function so I can remove the "limit" form hash()? I got the google pagination to disappear, however the articles that would be showing on page 2 are not being moved onto page 1. I'm guessing removing this limit will fix that, or am I mistaken?

David Eriksson

Tuesday 02 August 2005 12:38:06 am

The fetch is usually at the top of the template.

/David

Brad Foggon

Tuesday 02 August 2005 4:29:14 pm

At the top of which template .. and do I just delete the "limit" from the hash() function?

ie. hash(blah, limit, blah, blah) -> hash(blah, blah, blah)?

Łukasz Serwatka

Tuesday 02 August 2005 11:04:01 pm

Prodably this is template
design\base\override\templates\full\folder.tpl, then search for

list_items=fetch_alias( children, hash( parent_node_id, $node.node_id,
                                                             offset, $view_parameters.offset,
                                                             sort_by, $node.sort_array,
                                                             limit, $page_limit ) )}  <- remove this limit

I suggest to take TSCM tutorial, it is very usefull at the beginning. Read also about fetch "function" and "list".

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

36 542 Users on board!

Forums menu