[drupal-devel] param in middle of url?

Gabor Hojtsy gabor at hojtsy.hu
Sun Oct 2 10:55:45 UTC 2005


Hi,

> I want to do something like this:
> 
> ?q=foo/1/bar
> 
> where "1" in this case is a user id (or rather, I want it to be a param
> into my callback).
> 
> Is there a facility that already exists for doing this?

Well, the easiest way to get your answer is to look at how user.module
does this (user_menu()).

Goba



More information about the drupal-devel mailing list