5

I am using drupal 7 and zen theme. And am not able to override the theme_pager using zen_pager function in template.php. Any suggestion pls?

2 Answers 2

12

Implement all/selected of the following theme functions in your template.php:

changing 'theme' in each of these function names to short name of your theme.

1
  • 1
    How to theme differently on different views and displays. Is there some form of theme_pager_view_dispaly? Commented Aug 24, 2013 at 13:50
1

If you are using Zen, you are probably writing a sub-theme. Inside its template.php you will have to prefix the theme_pager function with your sub-theme name, like pretty_pager if yout sub-theme is called "pretty".

Zen will clear the caches for you, but if it doesn't work, try clearing the caches manually. The Devel Themer module will help you check which theme function is being called.

Not the answer you're looking for? Browse other questions tagged or ask your own question.