Hello,
On the homepage, adding pagination and this is my (test) code:
<@ newPagelist { template: 'event', limit: 4, page: @{ ?page | def(1) } @>
<# list events #>
<@ foreach in pagelist @>
<a href="@{ url }">@{ title }</a>
<@ end @>
<# pagination #>
<@ for 1 to @{ :paginationCount } @>
<a href="?<@ queryStringMerge { page: @{ :i } } @>">@{ :i }</a>
<@ end @>
There are 7 events, limited per page to 4, and the pagination shows 1 and 2, but when click on page-2 nothing happen 😖.
Is there a 'simple' example how use the pagination?
Reading the docs, and search for examples, but can't find any examples how use pagination also not in the other themes.
UPDATE: my apologize, finding the theme Baker and example, and try it in my own code, but nothing happen 😖
PS: without pagination it show a list with all the events, so this works perfect.