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

345 Views

Avatar
Gumblee

10 June 2013 at 10:35am Community Member, 1 Post

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?