? No Code Attached Yet
avatar EricdeWaal
EricdeWaal
15 Nov 2019

My first post here, sorry if the format I used is wrong!

I'm looking for a search function on users custom fields, like the one present in articles custom fields.
Would it be possible?
I'm sure there is a need for it, especially if it's possible to search each custom field individually.

avatar EricdeWaal EricdeWaal - open - 15 Nov 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Nov 2019
avatar alikon
alikon - comment - 17 Nov 2019

I don't understand the difference between users custom fields vs articles custom fields
can you explain in more detail what is missing ?
maybe with a screenshoot or whatever ?
thx

avatar EricdeWaal
EricdeWaal - comment - 17 Nov 2019

If you add custom fields to articles, the Joomla standard search function looks at the contents not only of the articles, but of the related custom fields as well.
This does not happen in custom fields that are related to users, the users search ignores the content of coupled custom fields.

avatar brianteeman
brianteeman - comment - 17 Nov 2019

There is no search plugin for com_users

avatar EricdeWaal
EricdeWaal - comment - 17 Nov 2019

I see, confused the search field above the users list with a real search.
But would it not be a great idea to have a real search on users+user custom fields?
It could be the start of a mini CRM, membership registration, just to name a few!

avatar mbabker
mbabker - comment - 18 Nov 2019

It sounds like you're mixing two separate things here? You can't filter in the admin list views for items matching a custom field value (the backend has never had "real" search, "real" being very subjective here), the frontend search is the only bit that matches this. And since com_users has no frontend views, obviously you can't search for anything there matching the component.

This sounds like another case of "I thought custom fields worked as a CCK", which has been a recurring opinion since the component was merged, and annoys people when they're told "no, it doesn't work this way".

avatar EricdeWaal
EricdeWaal - comment - 18 Nov 2019

Probably I did mix 2 different things.
Obviously the front-end search as we have now for articles does exist for users.
So to make my idea ever possible the search engine should be extended to users + their custom fields?
And frontend views should be made for users. I guess that's far off, right?

avatar AndySDH
AndySDH - comment - 23 Nov 2019

Frontend views for users can already be done, they need to be coupled to a Contact. Convoluted I know, but that's how it works. With the "Contact Creator" plugin, a new Contact is automatically created for each new user.

avatar Hackwar Hackwar - labeled - 19 Feb 2023
avatar Hackwar Hackwar - change - 19 Feb 2023
Labels Added: ? No Code Attached Yet
Removed: ?

Add a Comment

Login with GitHub to post a comment