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??
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.
ok, i need just one more argument in function, in php template because when i did it from ss something was wrong.