Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Filter users by content of a custom field (using links like the "abc")

9 years 3 months ago
Licenses:
JomSocial Active

ISSUE SUMMARY:

I would like to be able to filter users (in people.browse) by the content of a custom field.
This field have a set number of values, and I would like to create links just like the "abc", "def" links, at the same spot, so the visitor can click and filter to see only users with that specific value.
I can work my way around people.browse.php and add code, if you can provide it for me.
The page I'm referring to is: www.iyengar.com.br/Professores/Membros/
The field is the "Estado" (which in this case will appear beside the city, in the "localização" line), which consists of two letter codes.

Thank you.

Thank you.

9 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jonathan,

Admin can create it from adv. search, as admin go to Adv. search members, try to search your user, and save it.



thank you!

Attachments:
9 years 3 months ago
Licenses:
JomSocial Active

Hi Dimas.

Is there a parameter I can insert in the URL, instead?

My URL is already set like this:
index.php?option=com_community&Itemid=184&lang=pt&profiletype=2&task=browse&view=search

I hardcoded &profiletype=2 to show users only from one specific profile.
Now I need to show users from a specific estate (that custom field), while keeping the specific profile parameter.

Thanks.

9 years 3 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jonathan,

Yes you can do it as well.. this is the eg on my local


and the url will be like this
index.php?field0=username&condition0=contain&value0=abc&fieldType0=text&operator=and&profiletype=1&option=com_community&view=search&task=advancesearch&Itemid=103&key-list=0

I cant test it on your site directly, since the backend is not working for me.

thank you!

Attachments:
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW