[drupal-devel] param in middle of url?

Aaron Stewart aaron at firebright.com
Tue Oct 4 03:22:43 UTC 2005


Perfect.. Thanks to everyone who responded. :)

-+Aaron

Gabor Hojtsy wrote:

>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