Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#41 | 100577-41.patch | 4.9 KB | keith.smith |
#37 | 100577-35.patch | 5.02 KB | catch |
#36 | 100577-35.patch | 5.02 KB | catch |
#35 | 100577-35.patch | 5.02 KB | keith.smith |
#34 | 100577-34.patch | 5.95 KB | keith.smith |
Comments
Comment #1
Paul Natsuo Kishimoto CreditAttribution: Paul Natsuo Kishimoto commentedUpdated to 5.x-dev.
Comment #2
Paul Natsuo Kishimoto CreditAttribution: Paul Natsuo Kishimoto commentedComment #3
keith.smith CreditAttribution: keith.smith commentedMoving to documentation component.
Comment #4
keith.smith CreditAttribution: keith.smith commentedThis one should be simple -- just swapping a "setup", which should be "set up", into a "configure".
Comment #5
catchAnother good catch.
Comment #6
Gábor HojtsyI 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?
Comment #7
keith.smith CreditAttribution: keith.smith commentedYes, it likely needs further work in that regard. Category is somewhat overloaded here.
Comment #8
keith.smith CreditAttribution: keith.smith commentedHow 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).
Comment #9
Dries CreditAttribution: Dries commentedIf we change the terminology, we should also change the internals.
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commented“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.
Comment #11
catchI 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.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedYes, "Contact us" either in italics or in quotes. Good.
Comment #13
Gábor HojtsyOK, keep "category". (Although I am not sure it is the best choice, I am not a native English speaker).
Comment #14
catchSetting 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.
Comment #15
Gábor HojtsyYou mean reverting to "categories" from "groups", I guess.
Comment #16
Anonymous (not verified) CreditAttribution: Anonymous commentedYes, back to "categories."
Comment #17
Gábor HojtsySo "contact groups" was turned down, so what about getting back to the initial issues and solving those?
Comment #18
keith.smith CreditAttribution: keith.smith commentedThe 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.
Comment #19
Nick Lewis CreditAttribution: Nick Lewis commentedRE: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.
Comment #20
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #21
Anonymous (not verified) CreditAttribution: Anonymous commentedNick--
>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
Comment #22
catchNow 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".
Comment #23
Gábor HojtsyIndeed, "contact us" sounds better.
Comment #24
catchOk 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.
Comment #25
keith.smith CreditAttribution: keith.smith commentedJust 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.
"...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... :)
Comment #26
catchYeah 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.
Comment #27
Anonymous (not verified) CreditAttribution: Anonymous commentedThe 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.
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
Comment #28
catchText looks good, but can you really have more than one "Contact us" form? I thought it was just categories..
Comment #29
Anonymous (not verified) CreditAttribution: Anonymous commentedYou're right, catch. So:
Cordially,
O Govinda
Comment #30
keith.smith CreditAttribution: keith.smith commentedThanks 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.
Comment #31
catchHere's another run at it based on the past couple of posts.
It might be back towards muddying the waters again. This is a tricky one to get right :(
Comment #32
Anonymous (not verified) CreditAttribution: Anonymous commentedHere's an edited version:
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.)
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
Comment #33
keith.smith CreditAttribution: keith.smith commentedThanks 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.
Comment #34
keith.smith CreditAttribution: keith.smith commentedOne more time, to fix an indentation issue in the prior patch.
Comment #35
keith.smith CreditAttribution: keith.smith commentedRerolling after change in help text "For more information" line.
Comment #36
catchchanged a single quoted string with backlash to double quotes. Text looks great!
Comment #37
catcher, and another one.
Comment #38
Anonymous (not verified) CreditAttribution: Anonymous commentedKeith--
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.)
Comment #39
catchO 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.
Comment #40
Gábor HojtsyEeeek, 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.
Comment #41
keith.smith CreditAttribution: keith.smith commented@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:
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.
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.
I just left this part out of the new patch; surely people will know how to enable menu items (hopefully).
Thank you for catching this -- I had this pointing to the wrong link, and it should be corrected in the current patch.
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:
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.
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. :)
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.
Comment #42
Gábor HojtsyCommitted this one, thanks. It is unfortunately too late to modify permissions at this stage.
Comment #43
Anonymous (not verified) CreditAttribution: Anonymous commentedThank 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
Comment #44
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.