By cyaneo on
I generated a view called "animals" with "Use Pager" enabled.
Now the Pager is visible at the bottom of the view.
How can I move (or copy) the pager to the Page->Header Content of the view?
I generated a view called "animals" with "Use Pager" enabled.
Now the Pager is visible at the bottom of the view.
How can I move (or copy) the pager to the Page->Header Content of the view?
Comments
...
The quickest solution is to set the "input format" of the header message to PHP, and to add the folowing code to this message:
<?php print theme('pager', '', 50, 0); ?>. Replace the '50' with the number of nodes per page for this specific view. That's why this method is ugly. There are two more solutions: via Views theming and via hook_views_pre_view().