Correct hook_menu bacause it isn't nice.
pp - November 30, 2008 - 08:07
| Project: | Contact Forms |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
You create many menu item. I think you must only one menu item.
see the patch.
| Attachment | Size |
|---|---|
| contact_forms.patch | 1.44 KB |

#1
Thanks Palócz, I looked at this again and I don't need hook_menu at all!
Because I use arg(1) and arg(2) in hook_form_alter it all works via the standard contact menu item.
Silly me.
Regards
Geoff
#2
You are right! I am so silly! ;)
I deleted the hook_menu. I moved this changes to my block patch. http://drupal.org/node/340737
pp