Closed (fixed)
Project:
Paging
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Apr 2007 at 08:49 UTC
Updated:
11 May 2007 at 12:30 UTC
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
Comment #1
Gurpartap Singh commentedAPI: 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.Comment #2
killes@www.drop.org commented