Home » Administer » Site building » Contact form

"This page lets you setup your site-wide contact form. To do so, add one or more categories. You can associate different recipients with each category to route e-mails to different people."

Precisely what does "site-wide contact form" mean?

What does "category" mean? Does it mean the same thing here that it means in the Taxonomy module? Is this "category" that "category"? If not, choose a new term.

Also: It should say, "This page lets you set up. . ." (two words).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Paul Natsuo Kishimoto’s picture

Version: 5.0-beta2 » 5.x-dev

Updated to 5.x-dev.

Paul Natsuo Kishimoto’s picture

Version: 5.x-dev » 6.x-dev
keith.smith’s picture

Component: base system » documentation

Moving to documentation component.

keith.smith’s picture

Title: Core: Interface text for contact form -- fogginess in the text » Interface text for contact form -- fogginess in the text
Status: Active » Needs review
FileSize
2.34 KB

This one should be simple -- just swapping a "setup", which should be "set up", into a "configure".

catch’s picture

Status: Needs review » Reviewed & tested by the community

Another good catch.

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Needs review

I kind of agree with O Govinda here that category does not seem to be the right term to use here. What about renaming them to "contact groups" or something along these lines?

keith.smith’s picture

Status: Needs review » Needs work

Yes, it likely needs further work in that regard. Category is somewhat overloaded here.

keith.smith’s picture

Status: Needs work » Needs review
FileSize
5.69 KB

How about something like this, which changes category in the user-facing text to "contact group".

Note that this patch does not change the internals, which still refer to category for these values in bunches of places. Er, I can change them too -- or at least I think I can, with help probably -- to be consistent if that would be A Good Thing(tm).

Dries’s picture

If we change the terminology, we should also change the internals.

Anonymous’s picture

“Contact group” doesn’t work, because it doesn’t match what’s intended.

The label “category” is meant to indicate a form’s purpose or type of content—for example, “website feedback” or “product information,” or “keyboard problem,” “screen problem,” “mouse problem,” and so on.

Reconsidering, I can’t think of anything better than “category.” For this use, its vagueness is a plus. So I’d stick with it.

(My apologies for having taken us around in a circle.)

But, looking further at the terminology, the term “site-wide” is a misnomer, and a misleading one. I’d think it would refer to a form that appears everywhere on the site—that is, on every page. But that’s not the intended idea.

The “personal” contact form is meant to let you get in touch with individual users. The “site-wide” form is really a “Contact us” form, intended to let you get in touch with the managers of the site (or whoever the managers might pass the buck to).

Putting such a form on every page is a good practice, but not a practice every site follows, or wants to follow, and not a practice Drupal requires.

So I’d suggest changing “site-wide contact form ” to something more apt. Perhaps the most plain and obvious name would be “Contact us form.” (Other alternatives would be “official contact form” or “executive contact form,” either of which would contrast fairly well with “personal contact form.” But I like “Contact us” better.)

ON A RELATED MATTER:

The “Help” text for this module stands much in need of improvement. I submitted a revision for it (bundled with revisions for several other help pages) quite a while back. The issue appears here: http://drupal.org/node/101090. Perhaps the revised text could go into 6.x.

In any case, if the label “site-wide” changes, it should change on the help page too.

catch’s picture

I agree that "site-wide" is bad terminology, also "Contact us", it should probably be written Contact us or 'Contact us' in the help text to show it's an example.

Anonymous’s picture

Yes, "Contact us" either in italics or in quotes. Good.

Gábor Hojtsy’s picture

OK, keep "category". (Although I am not sure it is the best choice, I am not a native English speaker).

catch’s picture

Setting back to needs work - for "Contact us" contact us instead of "site-wide", and for reverting to categories since that seems to be the consensus so far.

edit: thanks Gabor for spotting the typo, corrected it.

Gábor Hojtsy’s picture

Status: Needs review » Needs work

You mean reverting to "categories" from "groups", I guess.

Anonymous’s picture

Yes, back to "categories."

Gábor Hojtsy’s picture

So "contact groups" was turned down, so what about getting back to the initial issues and solving those?

keith.smith’s picture

The pressing thing (incorrect use of "setup") from my patch in #4 has already been fixed.

There's a lot of discussion here about the use of "site-wide". This usage doesn't bother me really, but I can see why it is not optimal. I'll try to roll a patch in the next day or so.

Nick Lewis’s picture

RE:Terms

My only problem with "site-wide contact form" is that "site-wide" is unnecessary. A "*Personal* contact form" requires that addition clarification. Where as a "contact form" is a "contact form". If you took "site-wide" literally, you'd understand it to be on every page.

Really, the terminology should simply be "Contact page". There are not multiple contact pages, and I don't believe the form can live outside of that page by default.

As for "categories", I think the simpler, more generic "title => group of recipients" terminology would suffice.

Anonymous’s picture

Anonymous’s picture

Nick--

>My only problem with "site-wide contact form" is that "site-wide" is
>unnecessary. A "*Personal* contact form" requires that addition
>clarification. Where as a "contact form" is a "contact form". If you
>took "site-wide" literally, you'd understand it to be on every page.
>
>
>Really, the terminology should simply be "Contact page". There are
>not multiple contact pages, and I don't believe the form can live
>outside of that page by default.

Sorting this out:

We have two kinds of contact pages: one for contacting "just plain folks" (individual users), another for contacting "the management," the people who run the site.

Calling the one for the management a "contact page" could get confusing because the ones for "just plain folks" are also a kind of contact page (which each user has). That's why I suggested calling the one for "the management" a "contact us" form.

"Contact us" is so widely used on the web as a link label for contacting the management that I think the term will work for us; a "contact us" page will be instantly recognized for what we mean it to be.

And for "just plain folks" that leaves "personal," which to me seems clear enough. Every user has a "personal contact form" (enabled or disabled).

>As for "categories", I think the simpler, more generic "title =>
>group of recipients" terminology would suffice.

That's what I thought too. But then when I looked at what the module means by "category" I saw it means the type of content the form is meant for (example: 'website feedback' or 'product information').

Who the recipients are of a message sent by such a form is a different matter. You could have Jack, Jill, and John as recipients of the "website feedback" form and later subtract Jill or add Tim. But the category will still stay the same: "website feedback."

That's why I figured we're probably best off sticking with "category."

Cordially,
O Govinda

catch’s picture

Now category is no longer used to describe anything the taxonomy module does (within Drupal anyway) it's slightly less confusing in this context.

I still reckon the main improvement here would be "Contact us".

Gábor Hojtsy’s picture

Indeed, "contact us" sounds better.

catch’s picture

FileSize
7.12 KB

Ok this just changes it to Contact us from "site-wide contact form". I tried to standardise it everywhere I found it, including the code comments. Would be good to get some eyes on the wording - there's a few places where calling it "Contact us" felt a bit awkward. Leaving as needs work since if we agree on the wording this still needs a permissions change and upgrade path for that.

keith.smith’s picture

Just as a note, I think this will conflict with http://drupal.org/node/197297 -- which isn't a problem, I'm just adding this to remind myself to do rerolls upon either commit... I think the only thing in that patch was dropping the "thereby" or something similar.

+      $output = '<p>'. t('The contact module enables a <em>Contact us</em> form, and the use of personal contact forms for users, thereby facilitating easy communication within the community. Personal contact forms allow users to contact each other by e-mail. The <em>Contact us</em> from allows users to contact the site administration from a central location. Users can specify a subject and message in the contact form, and also request that a copy of the e-mail be sent to their own address.') .'</p>';

"...and the use of personal contact forms for users" sounds odd. And, while we're here, can we lose the "thereby" in this too, since its unnecessary. "The Contact Us from" should be "form" maybe?

On a very quick run-through, the rest of this looks basically fine to me! Thanks catch! I know this wasn't up for review, but I was here anyway... :)

catch’s picture

and the use of personal contact forms for users" sounds odd

Yeah that's the bit I had trouble with. Because "Contact us" has the word 'contact' in it, it's harder to combine "site-wide and personal" in those sentences. Might required a ground-up rewrite of those sections rather than hacking at what's there to make it work.

Anonymous’s picture

The text now says, "The Contact us from allows users to contact the site administration
from a central location."

Note: "from" should be "form."

But here's what I think is an improved version of the text.

+      $output = '<p>'. t('The contact module lets you post <em>Contact us</em> forms and also gives each user a personal contact form, for easy communications. The <em>Contact us</em> forms let users contact the site administration. Personal contact forms allow users to contact one another by e-mail. Users can specify a subject and message, and also request that a copy of their e-mail be sent to their own address.') .'</p>';

This fixes the typo, makes "Contact us" forms plural (since you can have more than one), and gets rid of some needless words. I also reversed The explanations of "personal contact form" and "Contact us" forms, putting "contact us" first, since that's the order in which they appear in the first sentence.

Cordially,
O Govinda

catch’s picture

Text looks good, but can you really have more than one "Contact us" form? I thought it was just categories..

Anonymous’s picture

You're right, catch. So:

+      $output = '<p>'. t('The contact module lets you post a <em>Contact us</em> form and also gives each user a personal contact form, for easy communications. The <em>Contact us</em> form lets users contact the site administration. Personal contact forms allow users to contact one another by e-mail. Users can specify a subject and message, and also request that a copy of their e-mail be sent to their own address.') .'</p>';

Cordially,
O Govinda

keith.smith’s picture

Thanks for working on this!

+ $output = '<p>'. t('The contact module lets you post a <em>Contact us</em> form and also gives each user a personal contact form, for easy communications. The <em>Contact us</em> form lets users contact the site administration. Personal contact forms allow users to contact one another by e-mail. Users can specify a subject and message, and also request that a copy of their e-mail be sent to their own address.') .'</p>';

"post" here, though we are using it differently, may be confusing given how we most often use "posts" as content. Perhaps "provide".

And, not to muddy the water, but the Contact us form can actually be used for a number of purposes depending on the category, as in the original example of directing "website feedback" to site administrators, but "product information" to a sales team.

Edit: I left out a word or three in the sentence above.

catch’s picture

Here's another run at it based on the past couple of posts.

+      $output = '<p>'. t('The contact module provides a <em>Contact us</em> form and also gives each user a personal contact form, for easy communication. The <em>Contact us</em> form lets users contact admin defined recipients, (these can be grouped in one or more categories, for example "site administrators", "sales team"). Personal contact forms allow users to contact one another by e-mail. Users can specify a subject and message, and also request that a copy of their e-mail be sent to their own address.') .'</p>';

It might be back towards muddying the waters again. This is a tricky one to get right :(

Anonymous’s picture

Here's an edited version:

+      $output = '<p>'. t('The contact module provides a
<em>Contact us</em> form and also gives each user a personal contact
form, for easy communication. Personal contact forms allow users to get in touch with one another by e-mail. Your <em>Contact us</em> form lets users send messages to the people who run your site.') .'</p>';
      $output = '<p>'. t('On your <em>Contact us</em> form you can define various "categories," or types of messages--for example "website feedback" or "product information"--and for each you can specify who you'd like the messages to go to (for example, "support@example.com" or "sales@example.com," or several addresses) .'</p>'; 
      $output = '<p>'. t('Users can specify a subject, write their message, and also request that a copy of their e-mail be sent to their own address.') .'</p>';

Tried to make the "Contact us" options clearer. Divided the text into paragraphs (hope I got the coding right).

But now I notice:

Elsewhere, the help text for this module has lots of little problems with the grammar and clarity of its English. And they've all been solved here:

http://drupal.org/handbook/modules/contact.

Here's the text from that page, updated to replace "sitewide" with "contact us." (That page also documents points about the module that the module's core documentation does not.)


     $output .= '<p>'. t('The contact module helps people get in touch with one another and with you or the people running your site. ') .'</p>';
     $output .= '<p>'. t('Through <em>personal</em> contact forms users can send one another e-mail. And through <em>Contact us</em> forms users can send e-mail to the people in charge of your site. ') .'</p>';
     $output .= '<p>'. t('With either form, users can specify a subject, write their message, and also have a copy of their e-mail sent to their own address. ') .'</p>';
     $output .= '<p>'. t('Through contact forms, users allow themselves to be contacted yet keep their own e-mail addresses private. ') .'</p>';
     $output .= '<p>'. t('You can enable the contact module on the <em>menus</em> page (administer >> menus). ') .'</p>';
     $output .= '<p>'. t('Users (in their account settings) can turn their personal contact forms on or off. When their form is turned on, a <em>contact</em> tab appears in their user profile, for everyone to see. (Privileged users such as site administrators can contact even users who have turned their forms off.) ') .'</p>';
     $output .= '<p>'. t('When users view their own profiles they won't see their contact tab. Only other users will see it, if it's turned on. ') .'</p>';
     $output .= '<p>'. t('Your navigation menu can show a link to your <em>Contact us</em> form. Just enable the "contact" link on your <em>menus</em> page (administer >> menus). You can add that link to any other menu as well. (Click "add menu item," and when you fill in the "path" field on the dialogue page just enter "contact.") ') .'</p>';
     $output .= '<p>'. t('On the <em>contact</em> administration page (administer >> contact form) you can set up "categories" of contact you'd like to receive. For example, one category might be "website feedback," and another might be "product information." ') .'</p>';
     $output .= '<p>'. t('For each category, you can specify whom you'd like to have receive your user's e-mail. The mail could go to one person or many. You can also specify whether or not the user will receive an automatic reply. ') .'</p>';
     $output .= '<p>'. t('The <em>settings</em> portion of the <em>contact</em> administration page offers you other options. You can specify what message you'd like to show on your <em>Contact us</em> page. And you can limit how many times a user can contact you in an hour. This is also where you can set whether users should have their <em>personal</em> contact forms turned on or off by default. ') .'</p>';
     $output .= '<p>'. t('For more information, please read the configuration and customization handbook page for the contact module. ') .'</p>';

By the way: As discussed in a thread on the documentation mailing list (sorry I don't have the URL handy), the use of "you" in software help text is not only acceptable but professionally standard.

Also by the way: I've tried to do a quick and good job above with the coding. But coding is not my expertise. Someone should of course check it.

Cordially,
O Govinda

keith.smith’s picture

Status: Needs work » Needs review
FileSize
5.93 KB

Thanks O Govinda. I had never looked at the handbook page for contact module, and its text was very helpful.

I've tweaked it a good bit to be more in line with what is typically found in other module help texts, and attached a patch for review. I'm sure it isn't perfect, but I think it covers most of the bases, while making a distinction between personal contact forms and THE contact page.

keith.smith’s picture

FileSize
5.95 KB

One more time, to fix an indentation issue in the prior patch.

keith.smith’s picture

FileSize
5.02 KB

Rerolling after change in help text "For more information" line.

catch’s picture

FileSize
5.02 KB

changed a single quoted string with backlash to double quotes. Text looks great!

catch’s picture

FileSize
5.02 KB

er, and another one.

Anonymous’s picture

Keith--

I appreciate the work you've done to bring the help text more in line with the text for other modules. And you've renamed some of the pages mentioned to what they should be. Much needed.

Still, the text on the "contact" handbook page is grammatically clean, free of any errors I can detect. The newest patch has quite a few problems with grammar, syntax, and overuse of passive voice.

I would suggest, as far as possible, using the handbook text as is, just renaming pages where needed, rearranging sections if need be, and subtracting sections not in line with the help texts for other modules.

But I leave the matter up to you.

I don't know how much more I can help. My web access this month is limited. (I'm in the Indian countryside, borrowing a connection that's slow and costly.) But I'm on e-mail, and feel free to get in touch with me through (of course) my personal contact form.

Thanks again for all the great attention you've given to this and other patches.

Cordially,
O Govinda

PS:

The last section of text added in the patch still has "side-wide contact form."

In paragraph 3, last line, will the relevant permission still be called "access site-wide contact form"? Seems like the names for the two permissions on the permissions page deserve to be updated.

In paragraph 4, I think "navigation menu settings page" should be "navigation menu administration page." (Some modules have distinct "settings" pages, marked "Settings.")

In paragraph 5, the link for contact form settings page needs to go one level deeper. (Should be: ?q=admin/build/contact/settings.)

catch’s picture

Status: Needs review » Needs work

O Govinda, we definitely need an upgrade path for the permission. I don't have time to look at this today, but will try to get on it the next couple of days if Keith doesn't beat me to it.

Gábor Hojtsy’s picture

Eeeek, I would not like to have a permission change so late :| Contrib modules might build on permission names and we are so much into the release cycle.

keith.smith’s picture

Status: Needs work » Needs review
FileSize
4.9 KB

@O Govinda,

Thank you for your thoughtful and lengthy reply. You point out some valid concerns with the latest patch, and I've attempted to correct them as far as I am able.

In particular, you note that the new patch has "quite a few problems with grammar, syntax, and overuse of passive voice". No doubt, it was certainly passive; after rereading it, I quite agree with you. Perhaps this new patch will be a bit more active voice. If you have an opportunity to review it, that would be great.

You also write:

The last section of text added in the patch still has "side-wide contact form."

I absolutely believe you that this is the case, however, I'm not sure I saw the exact place you mention. site-wide contact form is in the permission, but surely that isn't what you are referring to? In any event, again, I just did a search for "site-wide" (found it in the permission) and found no instances of "site wide" or "sitewide" in the new patch. No doubt I'm missing it somewhere, though.

In paragraph 3, last line, will the relevant permission still be called "access site-wide contact form"? Seems like the names for the two permissions on the permissions page deserve to be updated.

Very valid point, although I'm not certain how much time we have available for this. It is likely out of scope for this issue, in any case.

In paragraph 4, I think "navigation menu settings page" should be "navigation menu administration page." (Some modules have distinct "settings" pages, marked "Settings.")

I just left this part out of the new patch; surely people will know how to enable menu items (hopefully).

In paragraph 5, the link for contact form settings page needs to go one level deeper. (Should be: ?q=admin/build/contact/settings.)

Thank you for catching this -- I had this pointing to the wrong link, and it should be corrected in the current patch.

I would suggest, as far as possible, using the handbook text as is, just renaming pages where needed, rearranging sections if need be, and subtracting sections not in line with the help texts for other modules.

I took your text from #32, above, pasting it into the appropriate place in contact.module, and went to admin/help/contact so that I could read through it. That text, and the text on the handbook page is fine, and has arguably better grammar and syntax than this patch. I see that in December and January last, you edited the contact handbook page (and that is much appreciated!) and the text you propose borrows in large part from that.

As I say, I started from there, and edited to account for:

  • My feeling that the first sentence was misleading in that it suggested the only use for the contact page was to contact the "people running your site."
  • I feel that the contact form is distinct enough from personal contact form without renaming it to Contact us, or whatever. Site-wide contact form was clunky though, and like you, I'm glad to be largely rid of that.
  • A great number of non-developers who read Privileged users such as site administrators... will misinterpret that sentence (or at least have to read it twice).
  • As you mention, many of the menu options, field descriptions, and other bits and pieces on the interface have been renamed and no longer fit that text. This is not a criticism -- simply that documentation is static until changed, and the world often shifts around it.

But yes, the text you propose is fine, as long as these items are addressed. The patch in #33 was what I came up with to do that, and it largely drew on your suggestions. This is, thankfully, an iterative process.

But I leave the matter up to you.

There we disagree. I am a citizen in a meritocracy (led by a benevolent dictator and his trusted lieutenants). The extent to which this matter is up to me is proportional to my ability to present good ideas (backed up with well-formed patches or other contributions) accompanied with well-reasoned arguments. This issue is just as much up to you. :)

I don't know how much more I can help. My web access this month is limited. (I'm in the Indian countryside, borrowing a connection that's slow and costly.)

Though, of course, I understand the constraints you are working under. That you've given this issue the attention you have with a less than ideal connection to the 'Net is even more notable.

@catch: I had to move some double quotes back to single to account for some possessives and some a href links in the same string. Thanks for those rerolls yesterday.

@all: Oh please, lets debate the permission change in a new issue.

Edit: after all that, I forgot to attach the file.

Gábor Hojtsy’s picture

Status: Needs review » Fixed

Committed this one, thanks. It is unfortunately too late to modify permissions at this stage.

Anonymous’s picture

Thank you again, Keith, for all your work on this. And thank you for the geniality of your reply. Such friendliness in human exchanges lends sweetness to open-source projects, as to life itself.

Best wishes.

O Govinda
www.jswami.info

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.