Custom Profile Fields Clarification

Daedalus's Avatar
Daedalus · in Support
2 replies 182 views

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.

0

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.

0

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.

Theme: FS 2.0
Create Your Community with ForumSpark

ForumSpark is a modern community platform built on custom software. It combines the familiar feel of classic forums with a fast, simple experience designed for today’s communities.