GHengeveld |
|
---|---|
Yes it is. You can make custom fields with that module but it only makes a tag for the field. With my code it will also make a tag for the description of each field.
For example, I could make an extra input field named 'firstname', with description 'First name'. The module would make a tag {USERS_PROFILE_FIRSTNAME}, which in users.profile.tpl will be replaced by the HTML code for an input field. What is missing here is the tag {USERS_PROFILE_FIRSTNAME_TITLE}, which would be replaced by the description for this field, so 'First name'. My 3 lines of code will do exactly that. It would be nice to see this fixed in the next Cotonti release. |