Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Heosforo Posted February 27, 2018 Posted February 27, 2018 Hello fellas. I'm wondering if there's a way to pull profile fields through designer's mode. Example: <div>{theme="profile_phrase"}</div> But I can't get the entered information, it shows me the same code. I don't know what I'm doing wrong Thanks for any help.
Nathan Explosion Posted February 28, 2018 Posted February 28, 2018 I reckon the field is displaying exactly the default value you applied to it - it's a plain text value so will print what you've put in to it. What are you trying to achieve? There may other ways of doing what you are trying to do.
Heosforo Posted February 28, 2018 Author Posted February 28, 2018 @Nathan Explosion Is just a text field where each member can add their own phrase, nothing fancy. As you well know, it can be done directly in the profile template, but would by great to avoid template editing.
Nathan Explosion Posted February 28, 2018 Posted February 28, 2018 Then it's working as expected - it's printing out the text you've added in. If the intention is to allow each member to add their own phrase, then don't use a default value.
BomAle Posted February 28, 2018 Posted February 28, 2018 try to change ['core_pfield_2|raw'] to ['core_pfield_2']|raw check this guide
Heosforo Posted February 28, 2018 Author Posted February 28, 2018 3 hours ago, Nathan Explosion said: Then it's working as expected - it's printing out the text you've added in. If the intention is to allow each member to add their own phrase, then don't use a default value. I need the default value to pull the profile field, remember the default value is from designer's mode, and the other field is from profiles. Members will choose their own phrase, but I'll controll the group and ID field with deisgner's mode. 2 hours ago, BomAle said: try to change ['core_pfield_2|raw'] to ['core_pfield_2']|raw check this guide Thank you but unfortunately it does not work either
Recommended Posts
Archived
This topic is now archived and is closed to further replies.