inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Nov 18, 2016 16:22:26 GMT -8
{if $[user.mini_custom_field.name] == "Link to Partners Profile"}<a href="$[user.mini_custom_field.value]">{if $[user.mini_custom_field.name] == "Partners Name"}$[user.mini_custom_field.value]{/if}</a>{/if}
How do I do this properly so if the user inserts the link that the partners name shows up as a link?
|
|
inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Nov 18, 2016 21:36:52 GMT -8
Nevermind. I figured it out if anyone else wants to use it:
{foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Link to Partners Profile"} <a href="$[user.mini_custom_field.value]">{/if}{/foreach}{foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Partners Name"}$[user.mini_custom_field.value]</a> {/if} {/foreach}
|
|