XF 2.1 Get part of data from user_field

gaga

Member
Hi to all i need sugesstion how to do this:
In custom user field fill text like anycode/anothertext

In datatable user_filed write same text, but in user profile show separately anothertext and anycode in two differents place e.x:
194511

Thanks to all.

Ps two rows data must be written in one field
 

Mike

XenForo developer
Staff member
You would have to access the field data manually and format it how you want in the template(s) you want to display it. That can be accessed using something along the lines of {$user.Profile.custom_fields.field_name}.
 

gaga

Member
thanks Mike,
Can you give me the e.x how to do that?
I'm learning xenforo yet and don't know Template Conditionals... just one e.x
 
Top