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?

  • Have you republished the entry? – Johnathan Waters Aug 21 '14 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? – Tidy Aug 22 '14 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. – Jelle Dijkstra Oct 21 '14 at 17:03
0

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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