ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

URL's Automatically Wrapped Into Links

August 29, 2007 2:26pm

Subscribe [2]
  • #1 / Aug 29, 2007 2:26pm

    madmanlear

    2 posts

    Here’s a fun one:

    On one of my weblogs there is a text entry field for a URL. The custom field has no formatting, yet when I call the field in a template it comes out as

    <a href="www.domain.com">
    rather than just
    <a href="http://www.domain.com">http://www.domain.com</a>

    Any idea what I can do about this?

  • #2 / Aug 29, 2007 2:44pm

    bluecherry74

    17 posts

    I had the same problem - this is how I fixed it:

    Under Weblog Administration › Weblog Management › Edit Preferences, choose “Weblog Posting Preferences” from the menu on the left and turn off “Automatically turn URLs and email addresses into links?”.

    That will change it for the entire blog, though. I’m not sure if there’s a way to do if for just one field.

  • #3 / Aug 29, 2007 4:04pm

    madmanlear

    2 posts

    Thanks! That’s exactly what I needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases