Is there a way to theme pagers? I'm fairly new to Drupal, so I hope this isn't a dumb question. Specifically, I've designed a themed pager that would augment the pager used by the views module, but not sure what to use to implement my theme- a theme hook? theme hook suggestion? template file?
Also, in a similar question: what would be the best approach to create a pager like object? I'd like to have a picture on either side of a body of content that a person could press to flip through the pages of the content, using AJAX or AHAH. It would be much like Amazon's "Look Inside!" functionality, the way that when you look inside the book you can thumb through it using arrow buttons. I assume this would be a module, but thought I'd see if anyone knows of a module like this that has already been contributed.
Thanks in advance for any advice or tips.
Comments
Google...
Google is your friend :)
Search for "drupal theme pager" or more specific "drupal 6 theme pager" / "drupal 7 theme pager".
How to customize pager theme in Drupal 6.x -> http://drupal.org/node/794848 looks a good starting point.
Most importantly don't forget to post your solution back here so others can learn from your discoveries.
Override theme_pager
You can try to overriding theme_pager - http://api.drupal.org/api/drupal/includes--pager.inc/function/theme_pager/6.
copy the current function to MYTHEME_pager, to your theme's template.php file, and make whatever modifications required.
This is a tried and tested thing, this should work for you.
Vaibhav Jain