Post by omgpink on Jun 16, 2013 16:46:01 GMT -8
Hey there! I currently working on a skin that takes advantage of the custom mini profile fields. I want some to appear like
PLAYED BY: NAME
but i want others to appear like
APPLICATION: LINK
But to do this, the user.mini_custom_field cannot be lumped into one structural style. I was wonder if there was a way to turn the default example:
into something like:
so that i can do something like the below for my purposes:
By $[user.mini_custom_field.name.1], i would mean the first created custom profile field, or something that distinguishes it from the others. I would really appreciate the knowledge to know if there is a way to call them all separately! C:
-----
edit: okay, so currently I have this written which is kind of what I want it to do:
but i get this for a miniprofile:
PLAYED BY: NAME
but i want others to appear like
APPLICATION: LINK
But to do this, the user.mini_custom_field cannot be lumped into one structural style. I was wonder if there was a way to turn the default example:
{foreach $[user.mini_custom_field]}
$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span>
{/foreach}
into something like:
$[user.mini_custom_field.name.1]: $[user.mini_custom_field.value.1]
$[user.mini_custom_field.name.2]: $[user.mini_custom_field.value.2]
$[user.mini_custom_field.name.3]: $[user.mini_custom_field.value.3]
so that i can do something like the below for my purposes:
$[user.mini_custom_field.name.1]: $[user.mini_custom_field.value.1]
$[user.mini_custom_field.name.2]: <a href="[user.mini_custom_field.value.2]">LINK</a>
By $[user.mini_custom_field.name.1], i would mean the first created custom profile field, or something that distinguishes it from the others. I would really appreciate the knowledge to know if there is a way to call them all separately! C:
-----
edit: okay, so currently I have this written which is kind of what I want it to do:
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] != occupation}$[user.mini_custom_field.name]: $[user.mini_custom_field.value]{/if}
{if $[user.mini_custom_field.name] != alias}$[user.mini_custom_field.name]: $[user.mini_custom_field.value]{else}{/if}
{if $[user.mini_custom_field.name] != profile}<a href="$[user.mini_custom_field.value]">PROFILE</a>{else}{/if}
{if $[user.mini_custom_field.name] != plotter}<a href="$[user.mini_custom_field.value]">PLOTTER</a>{else}{/if}
{/foreach}
but i get this for a miniprofile: