custom user attribute
Permalink
Please, can anyone help me to create a custom user attribute.
I have found this page in documents but it does not go into code detail.
https://documentation.concrete5.org/editors/dashboard/users-and-grou...
It shows adding a 'handle' but there is no info as to what these 'handles' are?
What I'm aiming for is to show user login dates on the user page so I can see when users have logged in, rather than just the amount of times.
I have found this page in documents but it does not go into code detail.
https://documentation.concrete5.org/editors/dashboard/users-and-grou...
It shows adding a 'handle' but there is no info as to what these 'handles' are?
What I'm aiming for is to show user login dates on the user page so I can see when users have logged in, rather than just the amount of times.
thanks for all replies!
Adding an attribute isn't going to track when a user has logged in, that would take quite a bit more code.
thanks for the info.
Thanks for your reply, but the page you linked to is all code and doesn't make any sense to me sadly.
The handle needs to be lowercase and words need to be separated by underscores.
So if your custom attribute is named "My Custom User Attribute" you could use a handle like "my_custom_user_attribute".