Download & Extend

Correct hook_menu bacause it isn't nice.

Project:Contact Forms
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

see the patch.

AttachmentSize
contact_forms.patch1.44 KB

Comments

#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

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