It is theme type module. I want to use theme_pager() for createing paging in my modules. But Don't know where to write the function. When i write the fuction as theme_pager('pager',array(1,2,3,),10, 5, $t); It doesn't work. I am new in drupal. Can any one tell me how to use it and where i call the function.

Thaning
Arun kumar

Comments

Gurpartap Singh’s picture

Status: Active » Fixed

API: http://api.drupal.org/api/5/function/theme_pager

Usage: theme_pager($tags = array(), $limit = 10, $element = 0, $parameters = array())
The way to use: theme('pager', $tags = array(), $limit = 10, $element = 0, $parameters = array())
Theme[theme('example')] function is helper for calling all theme_example functions. Although this question isn't Paging's feature, but still pose any more questions you have. Paging module is just an example of using theme_pager(which is provided in Drupal core). If you have doubt, reopen the issue.

killes@www.drop.org’s picture

Status: Fixed » Closed (fixed)