inherit
13544
0
May 17, 2017 18:51:08 GMT -8
drygnfyre
Mystic
1,946
September 2003
drygnfyre
|
Post by drygnfyre on May 14, 2017 19:37:30 GMT -8
By default, the profile already offers "Location" and "Birthday" fields. I want these values to appear in the mini-profile. I don't see the need to create custom profile fields because they already exist, so is there a way I can merely have the mini-profile check whatever values are already inputted?
|
|
inherit
13544
0
May 17, 2017 18:51:08 GMT -8
drygnfyre
Mystic
1,946
September 2003
drygnfyre
|
Post by drygnfyre on May 14, 2017 19:53:05 GMT -8
Figured out the "Location" field, I needed to add this to my mini-profile template:
{if $[user.location]}<br />Location: $[user.location]{/if}
I assume "Birthday" is using a similar field?
|
|
CJ
New Member
Posts: 31
inherit
218284
0
Mar 17, 2020 15:01:20 GMT -8
CJ
31
January 2015
workerbee
|
Post by CJ on May 17, 2017 10:30:30 GMT -8
Hello! It is the same code for location as it is for birthday, except it is $[user.birthday].
This is what I used:
<br>{if $[user.birthday]}Birthday: $[user.birthday]{/if}
|
|