[development] ugly ?page=1 from theme_pager()

Robert Douglass r.douglass at onlinehome.de
Sun May 21 20:38:12 UTC 2006


The first part of your path, "mylisting", is actually part of the q 
parameter... q=mylisting. This gets hidden with the rewrite rules in 
.htaccess. If you wanted page=1 to go away, you'd have to add them to 
the q param as well, q=mylisting/page/1. The module that does the work 
for the mylisting callback would have to implement its own paging system 
that bypasses the built in Drupal pager. What module does handle 
mylisting? Something you wrote?

Cheers,
Robert

Dmitry Gukov wrote:
> Hello, all
>
> Calling theme_pager results in www.mysite.com/mylisting/?page=1
> addition to the url. How is  it possible to make it like this: www.mysite.com/mylisting/page/1 ?
> Please - any ideas or just "right directions" :)
>
> I use Drupal 4.7rc3 and pathauto
>
> -- Dmitry
>
>
>   



More information about the development mailing list