I'm currently setting up Community Builder for our club. We have different teams. I created these as user groups in Joomla and added members to these groups. I would now like to create a list in which the team members are displayed, sorted by team. What's the easiest way to do this?
You should be able to make a userlist per team in that case. Within CB > List Management make a userlist for each team and set the teams usergroup within "Usergroups" parameter which will ensure only users with the selected usergroups will be visible in the list.
If you want all of the teams on 1 userlist, but sorted by team it's a bit more complicated. You'd need to toggle on Advanced under the Sorting tab and write the necessary SQL for the ORDER BY clause of the query (this parameter will directly add to the ORDER BY of the query) to sort them by usergroup. This is a bit easier if you used a field to designate usergroups since you'd be able to just select the field during Basic sorting configuration.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Thank you for the qucik response! I chose now the option to make lists for every joomla user group. People can then switch with the list selector between the teams.