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.

Archive /

Our old forums are still available as a read-only archive.

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

Pagination_a lot of it here but can't find


Go to End


2 Posts   2434 Views

Avatar
kusi

Community Member, 21 Posts

13 August 2008 at 2:41am

I have small news template, very similar to tutorial, and my question is how to set $limit form..$var to $var because I can't do pagination when I'm showing for example 3 first pages sorted by date...i want to have simple navigation with next and prev links...(0..3,4...7,etc.).I know it's somwhere in documentation but it's no a piece of cake for me now. Could somebody help me??

Avatar
kusi

Community Member, 21 Posts

13 August 2008 at 3:20am

ok, i need just one more argument in function, in php template because when i did it from ss something was wrong.