Jump to content

Recommended Posts

Posted

I can not understand why in this case

$yachts = $pages->find("template=newyachts, limit=3, sort=date");
foreach($yachts as $s) {
   ... }

$pagination = $yachts->renderPager();
echo $pagination;

Pagination works well...

In this case

$yachts = $pages->get("$page->path")->find("template=newyachts, limit=1, sort=date");
foreach($yachts as $s) {
   ... }

$pagination = $yachts->renderPager();
echo $pagination;

don't work... In both cases, I have activated the url -> allow pages

where is the mistake? Thank you.

Posted

This has come up a few times, so thinking I should remove that limitation and make it so that you can still paginate with a limit=1. I'll look into this.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...