You create many menu item. I think you must only one menu item.

see the patch.

CommentFileSizeAuthor
contact_forms.patch1.44 KBpp

Comments

behindthepage’s picture

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

pp’s picture

Status: Needs review » Closed (fixed)

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