Kit the Human 759 Share Posted January 6, 2019 (edited) Like it says on the tin. How would I go about displaying a particular custom profile field of the record's author in the recordrow template? Edited January 6, 2019 by Kit the Human PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Admin Morrigan 1,826 Admin Share Posted January 7, 2019 {expression="$row->author()->profileFields()['core_pfieldgroups_10']['core_pfield_23']"} The group is the like category it sits in and the field is the field ID. @Kit the Human 1 Profile set made by myself and original Artwork by Fae Merriman, my daughter. Link to comment Share on other sites More sharing options...
Kit the Human 759 Author Share Posted January 7, 2019 That works thanks! But it's also insisting on rendering things like line breaks as HTML. Adding |raw has no effect on it. Anything I'm missing? PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Admin Morrigan 1,826 Admin Share Posted January 7, 2019 Screenshot love @Kit the Human Profile set made by myself and original Artwork by Fae Merriman, my daughter. Link to comment Share on other sites More sharing options...
Kit the Human 759 Author Share Posted January 7, 2019 (edited) bam! (the ipsGrid etc is just my dummy text) EDIT: field type is Select Box Edited January 7, 2019 by Kit the Human PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Kit the Human 759 Author Share Posted January 7, 2019 {expression="$row->author()->profileFields()['core_pfieldgroups_5']['core_pfield_9']" raw="true"} is the solution! 1 PSI: an Occult Investigations RP Roleplay Architects: Grab a friend (or many friends!) and just write. You can also find me at: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now