hook_menu and path/{ARGOUMENTS}/path2
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) ??? Tnx. -- Michel 'ZioBudda' Morelli michel@ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: michel@ziobuddalabs.it JABBER: michel@gmail.com
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@mikeyp.net http://mikeyp.net 949.200.7595 714.356.0168 cell 949.200.7670 fax
participants (2)
-
Davide Michel 'ZioBudda' Morelli -
Michael Prasuhn