[support] Having an email/website field

Lucas D Hedding lucashedding at gmail.com
Thu May 17 10:43:10 UTC 2012


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 at 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/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120517/151b334d/attachment.html 


More information about the support mailing list