FoxSecrets
Active member
I'm trying to use custom fields in my add-on and i've implemented the class successfully, however I don't know how to call back the fields. I'd like to understand better this functionality.
Basically I've got the fields created under the display group "my-addon" (added by me) and recorded in the table "my_addon_custom_fields".
I took a look at the "contact" implementation, tried changing the "arg-group" to "my-addon" but didn't work.
How can I call back my own custom fields?
Basically I've got the fields created under the display group "my-addon" (added by me) and recorded in the table "my_addon_custom_fields".
I took a look at the "contact" implementation, tried changing the "arg-group" to "my-addon" but didn't work.
How can I call back my own custom fields?
Code:
<xf:contentcheck>
<xf:macro template="custom_fields_macros" name="custom_fields_edit" arg-type="users" arg-group="contact" arg-set="{$xf.visitor.Profile.custom_fields}" />
</xf:contentcheck>
Last edited: