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.

EE formatting my URL in a custom field when I don't want it to

October 05, 2010 2:14pm

Subscribe [2]
  • #1 / Oct 05, 2010 2:14pm

    gmatoso

    5 posts

    I’ve got a custom field with a URL in it and EE sees that it’s a URL and it puts the anchor tags around it. But I don’t want it to, I just want the basic URL string and nothing else. I can’t find any documentation on this behavior to fix it.

    {exp:channel:entries channel="frontfeature" limit="3" orderby="entry_id" sort="asc"}
        
        {feature_URL}
    
    {/exp:channel:entries}

    In my custom field, that field contains something like “http://www.example.com/”, and EE write it out as

    <a href="http://www.example.com/">http://www.example.com/</a>


    Can I just get the URL and no formatting?

  • #2 / Oct 05, 2010 2:18pm

    gmatoso

    5 posts

    I was just about to say also that I had gone to the channel preferences and set to “no” the option to “Automatically turn URLs and email addresses into links?”.

    Then I looked again and I accidentally clicked the wrong channel preferences :red:

    Everything’s ok now. Sorry for the unneeded post.

  • #3 / Oct 06, 2010 2:27am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases