Great little module! One thing I found immediately confusing was what the URL was to get to the individual contact forms. So, I wrote a little patch which will change the category column into links straight to each category's respective form.
In order to do this, I had to override the menu item for "admin/build/contact" and re-implement that small function, since I could think of no other way to hook in and manipulate it. Since it is unlikely to change in core anytime soon, I think it is an appropriate solution. Plus, it gives us the ability to make that category listing page a little more user friendly.
For instance, I added a " " (space) after each comma in the Recipients column, so that the column will wrap when you have more than 2 or 3 email addresses in one category.
Also, for users with dozens of categories, the table is a bit unwieldy, and there's no way to override the table sorting (not to mention that the table is sorted by weight, but doesn't display the weight in a column). So, I added a weight column, so that it's more clear, and added sorting to this column and the Category column. And, just for kicks, I added a pager and set a limit to show 20 at a time.
I hope you find this patch as useful as I do!
Comment | File | Size | Author |
---|---|---|---|
contact_forms.module.patch | 1.36 KB | joelstein |
Comments
Comment #1
behindthepage CreditAttribution: behindthepage commentedThanks Joel. All good ideas. I will check this out asap.
Regards
geoff
Comment #2
geek-merlingood stuff. any movement here?
Comment #3
behindthepage CreditAttribution: behindthepage commentedHave added most of these features to D7 version. When i get some time and have got git sorted out i will look at adding them to 6.
Regards
Geoff
Comment #4
behindthepage CreditAttribution: behindthepage commented