29 Mar
2005
29 Mar
'05
6:34 p.m.
Maykel Moya wrote:
I'm trying to make the glossary have a page per letter 'glossary/a', 'glossary/b' etc...
I'd even like to have every link available before hand, even if isn't content to a given letter.
So a need glossary/[0-9a-z]. Is there other way to achieve this than to have a very big array with every case inside the hook_menu?
Regards, maykel
yes - you just need a handler for 'glossary'. additional arguments get passed automatically. so your function might be: function glossary_page($letter = NULL)