Closed (fixed)
Project:
Contact Forms
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2007 at 12:53 UTC
Updated:
6 Sep 2007 at 15:20 UTC
Seeing as you are making separate contact pages for each category, wouldn't it be a good idea to remove the Categories drop-down from the main contact page? If others are interested in that, I am attaching a simple patch. If some people want to keep that, then maybe make it an option in the settings?
| Comment | File | Size | Author |
|---|---|---|---|
| contact_forms_remove-categories.patch | 442 bytes | davemybes |
Comments
Comment #1
behindthepage commentedIf you unset the $form['cid'] the form won't send to anybody. You need to replace the drop down menu with a hidden Form['cid'] value for the person you want it to go to. The code below (may work) gets the cid of one of the contact categories (should really be "order by weight") and uses that to replace the drop down menu.
I will leave it to you to see if this or any variation is of practical use for you.
Thanks for your input. Keep it coming
gpdinoz
Comment #2
davemybes commentedCool, thanks. I'll give that a try.
Comment #3
behindthepage commented