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.

Stop links being clickable when printed in channel entries tags?

January 26, 2012 8:14am

Subscribe [3]
  • #1 / Jan 26, 2012 8:14am

    JamesBrighton

    146 posts

    Im importing tweets into a channel in my site. By looking at the entries (in the admin interface) I can see they come in as plain text. They have links in them, but not the mark up to make them into clickable links.

    An example would be:
    This is my first tweet. Come to mysite.com for more!

    Im printing these in a template with:

    {exp:channel:entries channel="twitter" limit="10" orderby="date" sort="desc" status="open" dynamic="no"}
    {field_name}
    
    {/exp:channel:entries}

    I want the text to be plain text but currently the links are turned into actual clickable links. How can I stop this happening?

    Thanks

  • #2 / Jan 26, 2012 8:51am

    Boyink!

    5011 posts

    If these are coming in as a channel entry there is a configuration in your channel/posting preferences that says “Automatically turn URLs and email addresses into links?”

    Try setting that to no.

  • #3 / Jan 26, 2012 9:00am

    JamesBrighton

    146 posts

    Fixed! Thanks

  • #4 / Jan 27, 2012 2:34pm

    Shane Eckert

    7174 posts

    Hi James,

    Looks like Mike helped you out. Thanks Mike!

    Thank you for using the forums.

    Cheers!

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

ExpressionEngine News!

#eecms, #events, #releases