1

I am woking on drupal 7 I want to change link text and replace them with image. How can I achieve following:

  • Is there any function in template.php to do so?
  • Is there any way to overridden template to pager in custom theme?
  • 1
    Just use CSS and hide the text. Much better for accessibility. – Alex Gill Sep 10 '12 at 12:40
1

In template.php

function THEMENAME_pager($tags = array(), $limit = 10, $element = 0, $parameters = array()) {

}

http://api.drupal.org/api/drupal/includes!pager.inc/function/theme_pager/7

For api please check above link you can overridden. also check below link.

In drupal 7, How to override theme_pager?

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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