Jump to content

Recommended Posts

Posted

Hello, sure there is something stupid im doing here but cant seem to get the pagination to work. The page list appears but clicking on any of the next

template has Allow URL segments? checked and contains:

$results = $page->children("limit={$limit}");

$pagination = $results->renderPager();
$out .= "<section class='blog-posts'>";
foreach($results as $result) {
    $out .= "<h3><a href='{$result->url}'>{$result->title}</a></h3>";
}
$out .= $pagination;

 

Posted
3 hours ago, Soma said:

Template has to allow pagination not url segments, that two different things.

AHHHH IM SOOO stupid! thank you, hidden away I missed it.

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
×
×
  • Create New...