Adding navigation links to a view

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by firesidelibrarian on December 8, 2013 at 10:43pm

How do you add the list navigation links for 'first', 'last', 'previous', 'next', and the numbers in between to the top of a view? They appear at the bottom by default, but I'm not sure how to add them to the top.
Thanks in advance!

Categories: ,

Comments

view pager on top of page

Posted by vedpareek on December 9, 2013 at 2:06pm

Hello firesidelibrarian you want to show pager on bottom of the view page or block then you should make a view tpl file and use $pager for show the pager.

<?php
print $pager;
?>

Ved pareek
9983537551

Where do I do this?

Posted by firesidelibrarian on December 12, 2013 at 4:19pm

Thanks for the code snippet.
However, my programming skills are limited. Where do I create and put such a file?
Thanks again!

Modify TPL file

Posted by aytee on December 9, 2013 at 6:00pm

Todd,
Like vedpareek stated, make a new tpl file and output the $pager wherever you want it.

Thanks everyone for the ideas!

Posted by firesidelibrarian on December 11, 2013 at 5:47pm

Thanks for the suggestions. My programming skills are a bit rusty, so I will try Pagerer first.
I guess I had been searching under the wrong terms for what I needed ('navigation links' instead of 'pager').

Pagerer did not work

Posted by firesidelibrarian on December 12, 2013 at 4:17pm

Well, Pagerer did not work as I expected. Thanks aytee and vedpareek for the other idea, and the code.

Wisconsin

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /