Forum
Blog Turn Paging Off - Pagination / Paginate
Is there a way to set the paging true/false?
I tried the 'paginate' option from the normal perch_content_custom but did not work:
perch_blog_custom(array(
'count' => 6,
'template' => 'post_in_list.html',
'sort' => 'postDateTime',
'sort-order' => 'DESC',
'paginate' => false,
));
I also tried 'paging' as see in post_in_list.html which didn't work either. Many thanks, Nick
Interestingly, when I add another option like 'start' the pagination goes away:
I tired adding
'paginate' => true
but the pagination did not show up.Also I would like to use pagination with Section list and Category list...
But just like the others ^ this doesn't work.
Have you added the markup to your template?
The default markup is still in post_in_list.html I change it slightly so that "previous" comes before the page numbers.
Ok, great. Which version of Blog are you running?
According to Settings > Diagnostics I have perch_blog (4.1). I also still have
define('PERCH_PRODUCTION_MODE', PERCH_DEVELOPMENT);
in my config file, if that happens to make a difference.Ok, I'll see if I can reproduce it next week.