Back to feed

Custom Profile Fields Clarification

Daedalus · 4 months ago · 2 replies · 338

Hello,

I've been playing with the custom profile fields and have been trying to figure out how to add the values from the fields into the mini profile field blocks I've managed to create.

I tried to follow the variable suggestions but nothing is generating from the input fields.

2 replies
prophet · 4 months ago

i don't think there's currently a way to target one in specific to show up on your mini profile field. mine are showing all of them currently.

<div class="pp-mini-expand">{{#each user.custom_fields}}<div class="pp-mini-field"><strong>{{ this.label }}</strong><span>{{ this.value }}</span></div>{{/each}}</div>

this is basically how mine looks, obviously with the css on my stylesheet but yeah. unfortunately wasn't able to target one profile field in specific unless there's another way to do it.

{{#each user.custom_fields}}

this basically tells the template go through every custom profile field this user has.

{{ this.label }}

displays the name of the custom field.

{{ this.value }}

the content the user entered on the profile.

Daedalus OP · 4 months ago

Hmm, well that's unfortunate. I was hoping to use individual profile fields like you could with Jcink to code things to show up in specific spots.

Create a free account to join the conversation.
Sign up free
ForumSpark © 2023 - 2026 · ForumSpark.net · Terms