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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Pagination not working as it should


Go to End


1056 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?