0

I have a custom URL member field - "Twitterhandle" that contains a link to the member's twitter page. I use the field on single entry template page, within the channel entries tag with the following html:

<a href= "{Twitterhandle}">
    <img src= "/images/blog/twitter%20teal.png" width= "24px" height="24px">
</a>

The goal is to have a clickable image. I have turned off "Automatically turn URLs and Email Addresses into Links" feature for the Channel, but the link still displays the full text of the url and then the image, not as a clickable image.

Any thoughts on why this is happening and how I can get the result I'm looking for?

3
  • Have you republished the entry? Commented Aug 21, 2014 at 20:35
  • That template code should work. Can you just put {Twitterhandle} on its own nearby in your template and confirm the output of that?
    – Janine
    Commented Aug 22, 2014 at 8:14
  • What's the field type? i suggest you use a text input, with formatting to set to none. After you've done that, reopen the entry, confirm the input is as should be, and re-save. Commented Oct 21, 2014 at 17:03

1 Answer 1

0

There is nothing wrong with the code that you posted in your questions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.