For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2005 > Structurs_Datagrid question regarding the paging links









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Structurs_Datagrid question regarding the paging links
Brent Clements

2005-01-15, 3:57 pm

I was wondering,
How do I change the datagrid paging links to be something else other than file.php?page=#page


Ie what if I wanted to change the default paging links to

myfilename.php?action=module&pagenum=#page

rather than the default links that getPaging() generates which is

myfilename.php?page=#page




I've tried the following

$params = array(
'path' => 'http://www.myserver.com/app_manage/',
'fileName' => 'index.php?module=usermanagement&action=listusers&pagenum=%d');

echo $dg->renderer->getPaging('Sliding', ' |','Prev', 'Next', '8', $params);

But the url that each page link creates is still

index.php?page=1 and so on and so on.

How do I do what I want to do?

Thanks,
Brent


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com