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.

Comments

Screenack’s picture

+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!

roderik’s picture

StatusFileSize
new1.89 KB

Issue 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)

alex_b’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.47 KB

The 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.

mh86’s picture

Status: Reviewed & tested by the community » Fixed

this 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

Status: Fixed » Closed (fixed)

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