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.

Can't stop "Automatically turn URLs and email addresses into links" in Playa relationship

October 12, 2010 1:05pm

Subscribe [4]
  • #1 / Oct 12, 2010 1:05pm

    Shanan

    38 posts

    I have cross posted this over at Pixel & Tonic, but it references a native EE function, so I am also reposting here.


    I have a channel “Sponsors” with an URL that is related via Playa to another channel “Events”. The Sponsors custom fields include an URL. When populating pages with sponsor data, I cannot turn off the automatic link preference. The page renders with a full <a>Text</a> tag set where I would like it to only insert the URL into the HREF. This is repeatable across multiple browsers (Chrome, Safari, FF, IE). The automatic link preference is turned off for both the Sponsors channel and the Events channel. Any thoughts on what I might be missing?

    Using EE 2.1.0 and Playa 3.0.9.

  • #2 / Oct 13, 2010 3:50am

    John Henry Donovan

    12339 posts

    Shanan,

    Can you please confirm that with the automatic link preference is turned off in both channels that it works without Playa involved.

    It would be best to test in a new blank template and only add something like the following to test

    {exp:channel:entries channel="sponsors" limit="15" dynamic="no"}
    
    <h3>{title}</h3>
    
    <p>{field_which_contains_a_url}</p>
    
    <p>{/exp:channel:entries}<br />
    <hr><br />
    {exp:channel:entries channel="events" limit="15" dynamic="no"}</p>
    
    <h3>{title}</h3>
    
    <p>{field_which_contains_a_url}</p>
    
    <p>{/exp:channel:entries}

  • #3 / Jan 26, 2011 12:19pm

    julie p

    282 posts

    I am having this problem as well. I can confirm that this works properly:

    {exp:channel:entries channel="team" limit="1" disable="categories|member_data|pagination" }
      <li><a href="http://{team_twitter}" class="twitter" target="_blank" rel="noopener">Twitter</a></li>
    {/exp:channel:entries}

    and this does not:

    {exp:channel:entries channel="team_page" limit="1" disable="categories|member_data|pagination" }
      {team_members}
       <li><a href="http://{team_twitter}" class="twitter" target="_blank" rel="noopener">Twitter</a></li>
      {/team_members}
    {/exp:channel:entries}

    I have Automatically turn URLs and email addresses into links? set to “no” in both Channels.  I have both URLs and Email addresses turning into links

    I’m using EE v2.1.0, build 20100810

    Thanks for any help!!

  • #4 / Jan 27, 2011 2:38am

    John Henry Donovan

    12339 posts

    julie,

    It looks like it works fine without Playa involved so. You will need to use the support over at Pixel & Tonic for this issue.

    It is recommended you upgrade to the latest version of EE also. It also wouldn’t harm upgrading your version of Playa too

  • #5 / Jan 27, 2011 3:03am

    Shanan

    38 posts

    It looks like it might be a cache issue in EE. See this post on P&T support.

  • #6 / Jan 27, 2011 3:07am

    John Henry Donovan

    12339 posts

    Shanan,

    It’s not really an issue. All relationships are cached in EE. Playa uses this same cache.You can set it so your cache is cleared when you create a new entry. Julie might be in the same both and created her template and relationships before turning off the channel setting.

    Regardless does clearing your cache help you julie?

  • #7 / Jan 27, 2011 10:25am

    julie p

    282 posts

    yep. worked for me. thanks

  • #8 / Jan 27, 2011 3:53pm

    Ingmar

    29245 posts

    Very glad to hear it. Post again as needed, please.

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

ExpressionEngine News!

#eecms, #events, #releases