Hello,
I am trying to add pagers at the top of my views (in addition to the default bottom). So far I have discovered that page.tpl.php can be used to organize the page. Unfortunately $content already has the list of nodes and pager block packed together. I have also been able to change the look of individual nodes via node.tpl.php. However, I have not been able to figure out where all the individual nodes followed by pager block get packed into the $content that is passed to page.tpl.php. Any info to point me in the right direction would be much appreciated.
Best regards,
KT

Comments

mikeytown2’s picture

mustafa.ata’s picture

In D6,

To me, the solution of adding the pager at the top of the content alongwith the default pager(bottom), copy the theme file with respect to your view file (In D6, you have to click on the Theme Information of your view and then click on display output to get default code). Now after creating your views template file, look for the variable $pager, copy that code and add it at your desired place in same file. Now remove cache and you are done.

Hope people find this comment helpful.

Cheers :)

Ata ul Mustafa