Documentation - Custom user fields

smozgur

Well-known member
Documentation says (about Custom user fields):
For advanced actions, you may access fields in templates via {$xf.visitor.custom_fields.fieldId}.


However, custom_fields is only accessible through Profile relation. Following works as intended.
{$xf.visitor.Profile.custom_fields.fieldId}

(I hope I am sending this note in the correct forum. It is not a software bug really but might help developers who relies on the documentation if it is clarified)
 
Back
Top Bottom