I've created a custom view for a page called views-view--projects-landing-page.tpl.php and I want to include pagination within the page.
I'm currently displaying all content within the page but would like to paginate this to 8 items.
Please can someone point me in the right direction.
Than开发者_StackOverflow社区ks
On the edit page for the view, make sure you're on the Page display tab. Then look under the Basic settings subsection and look for the Use pager option.
thanks for the help you pointed me in the right direction by chaning the view however due to my custom template I needed to add
<?php print $pager; ?>
to get it to display in the page.
Thanks
精彩评论