Skip to content

Tazzios/cblistmodule

Repository files navigation

Donate

Community Builder user list module

Description

The purpose of this module is to present a Community Builder list of Users with a custom presentation-template with the possibility of using/presenting all user fields from CB and Joomla. This is a fork of https://github.com/magnushasselquist/hqcblistmodule

You can also find it on joomla: https://extensions.joomla.org/extension/extension-specific/community-builder-extensions/community-builder-list/

Examples

Demo website
Example of presentation in front-end:
cblistfront

Back-end configuration: config

Configuration

The only mandatory configuration for the module is selecting a CB list to show the users from. all other settings have default options which you can change.

template examples:

<div class="yourclasstostyle"><p>[firstname] [lastname]<br/>[cb_yourfiled]</p></div>
<div class="yourclasstostyle">[avatar]<br /> <a href="cb-profile/[user_id]">[Name]</a>
<div class="role"><a href="departmens/[cb_department]">[cb_department]</a>,[cb_role]</div>

rule examples;

A basic set of rules will be created when creating the module. When creating custom tags make sure the tags that you are using within always have a value. For example see the avatar rule and show_avatar rule.

You can also show fields only to specific users. For existing databace fields like cb_example you can also create a rule to set autorisation on by creatign the following rule: tag name: cb_example acceslevel: to what you want htmlcode to replace tag with: [cb_example]