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!

CommentFileSizeAuthor
contact_forms.module.patch1.36 KBjoelstein
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

behindthepage’s picture

Thanks Joel. All good ideas. I will check this out asap.

Regards
geoff

geek-merlin’s picture

good stuff. any movement here?

behindthepage’s picture

Have 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

behindthepage’s picture

Status: Active » Closed (fixed)