There doesn't seem to be a way to display an email field in a view as plain text.
I've implemented this feature in a custom module but it seems appropriate to be included in email.module.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 754554-3_plain_email.patch | 1.47 KB | alex_b |
| #2 | 754554.patch | 1.89 KB | roderik |
| email.module-email_formatter_plain.patch | 1.08 KB | travismiller |
Comments
Comment #1
Screenack commented+1
Boy does this scratch my itch. Patched, and it fixed a problem I was about to post. I say add this to the module; brilliant. Thanks!
Comment #2
roderikIssue queues FTW. Succesfully patched.
One comment though. The labels for field formatters are 'local to that particular field type'*. The code seems to suggest that all labels should start with 'Email', which they don't.
What do you say we make the label names more descriptive, before more formatters are added?
Next person please comment and set to RTBC. This patch and the original are equally fine to commit - only the labels are changed.
* See a.o. formatters for Date, which are just named 'Default / Long / Medium / Short'. (And for which I happened to just finish a patch too: #423502: Add plain format without any HTML)
Comment #3
alex_b commentedThe suggestions in #2 are clearly a different issue that we shouldn't meddle in with simple plain text support.
My RTBC for the patch initially posted. Attached the same patch rolled against the latest checkout of the DRUPAL-6--1 branch.
Comment #4
mh86 commentedthis formatter really makes sense, committed patch from #3 - thanks for working on this issue!
further, I ported and committed this formatter to the 7.x branch