Former Member
inherit
guest@proboards.com
195518
0
May 12, 2024 2:38:52 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 28, 2013 17:56:16 GMT -8
Forum URL: starfleet-command.proboards.comHello again, Proboards! I have am having really rather irritating issues with the Layout Templates. I want to link to a custom profile field but it doesn't wanna work. Instead it links to the thread I am viewing. Let me give an example: <img src="http://mywebsite.org"> <a href="Profile Index Goes Here">Text Goes Here</a> as you can see I wanna know how to insert custom profile fields into the " Profile Index Goes Here" area. Let me say that my custom profile field is " Favorite Color" how would I insert that? Help is appreciated.
|
|
Former Member
inherit
guest@proboards.com
131621
0
May 12, 2024 2:38:52 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 28, 2013 18:00:35 GMT -8
{foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Favorite color"} <img src="http://mywebsite.org"> <a href="$[user.mini_custom_field.value]">Text Goes Here</a> {/if} {/foreach}
should do it
|
|
Former Member
inherit
guest@proboards.com
195518
0
May 12, 2024 2:38:52 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 28, 2013 18:06:49 GMT -8
did not work.
Nevermind. Thank you. Got it to work. But I had to tweak the code a little.
|
|
Former Member
inherit
guest@proboards.com
131621
0
May 12, 2024 2:38:52 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 28, 2013 20:36:21 GMT -8
Cool.
|
|