Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Pagination not working as it should


Reply


404 Views

Avatar
Gumblee

Community Member, 1 Post

10 June 2013 at 10:35am

Hey,

I am strictly following this tutorial:

http://doc.silverstripe.org/framework/en/howto/pagination

The first example, which only contains

<% loop $PaginatedPages %>
<li><a href="$Link">$Title</a></li>
<% end_loop %>

works just fine, but when I extend the menu as they to underneath it, is just doesn't show anything anymore, because apparently all the if-statements return false, even <% if $Link %> does. Can anyone help me?