Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Support for defining the theme_pager()
tags. ie. instead of the default « first
, ‹ previous
, next ›
, last »
from the theme_pager()
function:
$li_first = theme('pager_first', array('text' => (isset($tags[0]) ? $tags[0] : t('« first')), 'element' => $element, 'parameters' => $parameters));
$li_previous = theme('pager_previous', array('text' => (isset($tags[1]) ? $tags[1] : t('‹ previous')), 'element' => $element, 'interval' => 1, 'parameters' => $parameters));
$li_next = theme('pager_next', array('text' => (isset($tags[3]) ? $tags[3] : t('next ›')), 'element' => $element, 'interval' => 1, 'parameters' => $parameters));
$li_last = theme('pager_last', array('text' => (isset($tags[4]) ? $tags[4] : t('last »')), 'element' => $element, 'parameters' => $parameters));
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#3 | smart_paging-custom_theme_pager_tags-2657378-3-d7.patch | 620 bytes | dolphinonmobile |
#2 | smart_paging-custom_theme_pager_tags-2657378-2-d7.patch | 620 bytes | dolphinonmobile |
Comments
Comment #2
dolphinonmobile CreditAttribution: dolphinonmobile as a volunteer commentedCurrently, you need to patch to get the same effect.
Comment #3
dolphinonmobile CreditAttribution: dolphinonmobile as a volunteer commentedThanks