2 Pagers on in View - Drupal 6

I am wondering how it would be possible to have a pager at the top and the bottom of my table which I created with Views.

Answers


You can do this by copying the views-view.tpl.php from the views/theme directory, into your theme. Once it is there, edit it, and copy the lines

<?php if ($pager): ?>
  <?php print $pager; ?>
<?php endif; ?>

from below the views-content section, and place another copy above.

Note that this will duplicate the pager for all of your views. If you only need to do this on a very specific view, you can click on the theme information section of the views edit form, and it will show you all the possible templates for a specific view.


Need Your Help

Are data structures in Qt on the heap or on the stack?

qt

I'm wondering if Qt puts things like "version 1" of the below code on the heap? In version 1, would dirStuff be placed on the stack or the heap by Qt? I'm asking because I have a feeling that Jav...

Using properties defined in the Options constructor within custom methods in mootools

javascript mootools raphael options

I'm starting with the Mootools framework. Since I want the code to be reusable, I'm trying to do it with classes.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.