[support] hook_menu and path/{ARGOUMENTS}/path2

Michael Prasuhn mike at mikeyp.net
Fri Mar 28 06:21:34 UTC 2008


Not quite sure what you are asking, but I would recommend checking out  
the hook_menu section of node.module to get some ideas. There should  
be enough examples in there to help you figure out how to parse  
arguments in a callback.

-Mike


On Mar 27, 2008, at 4:07 PM, Davide Michel 'ZioBudda' Morelli wrote:
> Hi all. I'm writing a module and I need to manage a url like this:
>
> module_name/XXX/general
> module_name/XXX/edit
>
> Is this possible, in the hook_menu,  without use of a check on the
> arg(2) ???

__________________
Michael Prasuhn
mike at mikeyp.net
http://mikeyp.net
949.200.7595
714.356.0168 cell
949.200.7670 fax




More information about the support mailing list