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.

[SOLVED] Expression Engine automatically appending paragraph element URLs into links

July 02, 2010 9:10pm

Subscribe [2]
  • #1 / Jul 02, 2010 9:10pm

    tinyv

    11 posts

    Hi

    Got a weird issue with Expression Engine (v1.6.9) was looking for some help with.
    I added a bunch of entries to a weblog using a plain text Custom Field to store a URL.

    When I display this custom field in a template it automatically wraps the url in the element.
    I’ve come across the proposed solution at http://ellislab.com/forums/viewthread/130544/ , once applied works with any new entries.
    However, I can’t seem to apply this change to previously added entries, and worse if I try to edit this custom field in an existing entry then it still applies the element after saving. It’s cursed!

    For background information, custom field details as follows:

    Field Type: Text input (maximum characters 128)
    Default Text Formatting for This Field: None (+ Hide formatting menu)

    I’ve had a look at the database entries in MySQL.
    From what I can gather the information for this custom field is being stored in its plain text format (so the element is being added at display).

    Any suggestions gratefully received

    Thanks in advance,

    Cole

  • #2 / Jul 03, 2010 2:22pm

    Greg Salt

    3988 posts

    Hi Cole,

    When you changed this field formatting type to ‘None’ did you see a notice and a checkbox at the bottom of the form asking whether you wished to convert all the existing entries?

    Cheers

    Greg

  • #3 / Jul 03, 2010 4:25pm

    tinyv

    11 posts

    Hi Greg

    Thanks for the reply. Had seen that in the post at http://ellislab.com/forums/viewthread/130544/
    The option to apply these changes to past entries didn’t appear.
    Is this a bug?

    Cole

  • #4 / Jul 03, 2010 4:53pm

    Greg Salt

    3988 posts

    Hi Cole,

    You should be able to verify whether it’s working or not. Just go to your custom field manager and select the field in question. Change it’s type to any other and the option to convert existing entries should appear. If it does then go ahead and convert all the fields to something else ‘Auto BR’ for example and then immediately change the formatting back to None and convert them all.

    Cheers

    Greg

  • #5 / Jul 03, 2010 6:03pm

    tinyv

    11 posts

    Brilliant Greg

    Had obviously overlooked the *big red message*.
    Changed the text formatting to Auto
    then back to None and working fine.

    Thanks for the help and sorry apologies for missing the bleeding obvious.

    Cole

  • #6 / Jul 03, 2010 6:28pm

    Greg Salt

    3988 posts

    Hi Cole,

    No problem at all. Glad that’s resolved. Please post back if you have further questions or problems.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases