1

enter image description here

Or, Is there any way to modify the recent entries widget and display user history in the same widget

2
  • What exactly would you expect to appear in user history? A list of recently created users?
    – Ben Croker
    Commented Aug 21, 2023 at 6:34
  • Yes, I want recently created, updated and deleted users history. Commented Aug 21, 2023 at 7:07

1 Answer 1

2

For something like the Entries widget, you'll need to code your own custom widget. There's instructions you can dig into here:

https://craftcms.com/docs/4.x/extend/widget-types.html

The queries you'll need to run to get users are here:

https://craftcms.com/docs/4.x/users.html#querying-users

here's where you can add a User's widget to your dashboard. This will show user numbers in a line graph. Once you make a new widget type, it will show up in this menu too.

enter image description here

Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.