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.

textinput used as url

November 10, 2010 6:19am

Subscribe [2]
  • #1 / Nov 10, 2010 6:19am

    Thomas Hartmann

    170 posts

    I have following code in my template

    <a href="http://{my_link}">Visit</a>

    “my_link” is a custom field with an url in it.

    if the value of “my_link” is for example: “www.google.com” the link is shown correctly on my website:

    Visit

    if the value of “my_link” is: “http://www.google.com”, which is the standard way to save url’s… then I got following displayed on my site:

    http://www.google.com
    “> Visit

    working with EE 2.1.1
    Firefox

    bug or fail on my site?

    thx!

  • #2 / Nov 10, 2010 4:04pm

    Ingmar

    29245 posts

    My sure {my_link} has “Formatting: None” applied to it. You probably want to disable “Automatically turn URLs and email addresses into links?” in your channel prefs, too.

  • #3 / Dec 06, 2010 5:25am

    Thomas Hartmann

    170 posts

    thank you!
    I was off for 3 weeks, first day back in office and problem solved 😊
    It was disable “Automatically turn URLs and email addresses into links”!

    thx again!

    Thomas

  • #4 / Dec 06, 2010 4:15pm

    Ingmar

    29245 posts

    Excellent! Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases