For a number of my content types I need an email and/or website field.
When this field is displayed, I'd like the web/email to be displayed as a link.
However, when people are entering email addresses, it seems a clutter to have a ton of dropdown format options etc and additionally I don't want people adding in any formatting etc. Yet choosing "Plain text" in Text Processing means there doesn't seem to be a way to do this. (Which was confusing until I realised that "Plain text" in Text Processing doesn't use the Plain Text filter.)
I just wanted to double check I'm not missing something obvious and my slightly convoluted options are:
- just set the field as formatted text, ignore all the clutter of the format stuff and hope that people don't enter their email between h3 tags - install Better Formats/a custom module to hide the text formats from people (and set them by default to the Plain Text format) - create a preprocess function that works on these fields and converts addresses to links
Have you looked into using: http://drupal.org/project/link http://drupal.org/project/email
Lucas
On Thu, May 17, 2012 at 5:18 AM, DTH david@hartster.org wrote:
For a number of my content types I need an email and/or website field.
When this field is displayed, I'd like the web/email to be displayed as a link.
However, when people are entering email addresses, it seems a clutter to have a ton of dropdown format options etc and additionally I don't want people adding in any formatting etc. Yet choosing "Plain text" in Text Processing means there doesn't seem to be a way to do this. (Which was confusing until I realised that "Plain text" in Text Processing doesn't use the Plain Text filter.)
I just wanted to double check I'm not missing something obvious and my slightly convoluted options are:
- just set the field as formatted text, ignore all the clutter of the
format stuff and hope that people don't enter their email between h3 tags
- install Better Formats/a custom module to hide the text formats from
people (and set them by default to the Plain Text format)
- create a preprocess function that works on these fields and converts
addresses to links
[ Drupal support list | http://lists.drupal.org/ ]