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.

Custom Profile Data Tag outputting a href?

July 28, 2010 4:06pm

Subscribe [2]
  • #1 / Jul 28, 2010 4:06pm

    maxbato

    42 posts

    Can I somehow disable the way the Custom Profile Data Tag outputs a web address?

    I need to prepopulate a checkout form using Cartthrob and one of my Profile Fields is “website” which ends up like below when using the custom profile tag within my input’s value.

    <input  id="website" type="text" name="website" value="<a href="http://www.site.com">http://www.site.com</a>" >

    Any ideas?

  • #2 / Jul 29, 2010 10:21am

    Boyink!

    5011 posts

  • #3 / Jul 30, 2010 12:17pm

    maxbato

    42 posts

    Did the trick, thanks.

    Should really be built in but the plugin does the job.

  • #4 / Jul 30, 2010 12:43pm

    Boyink!

    5011 posts

    The minute it was built in you’d have people scrambling for plugins to pull it back out..😉

    Glad you got it going.

  • #5 / Jul 30, 2010 12:47pm

    maxbato

    42 posts

    I mean a parameter.

    {exp:member:custom_profile_data}
    {email encode="no"}
    {website encode="no"}
    {/exp:member:custom_profile_data}

    OR

    {exp:member:custom_profile_data encode="no"}
    {email}
    {website}
    {/exp:member:custom_profile_data}
  • #6 / Jul 30, 2010 12:52pm

    Boyink!

    5011 posts

    You’re free log a feature request..😉

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

ExpressionEngine News!

#eecms, #events, #releases