CB Progress in Module

9 years 1 month ago #262184 by allenjj
CB Progress in Module was created by allenjj
Is it possible to use the cbprogress field in a module to display a users profile progress with a bar like chart? I know another software solution offers this, but it has crashed my system before and Im not sure its updated for cb2.0.
thanks,
John

John

Please Log in to join the conversation.

9 years 1 month ago #262186 by krileon
Replied by krileon on topic CB Progress in Module
You can display it in a module exactly how it displays on profile using CB Content Module and substituting it in. Please see the below tutorial for substitution usage information.

www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb

Please note you need the "Original Field Value" substitution for it to display with HTML. You'll also need to ensure under CB Content Module advanced parameters that it's configured to load in CBs template CSS. Now you need to be sure the substitution is surrounded by CBs template class. So for example you'd use the below.

<div class="cb_template">
[cb:userfield field="FIELD_NAME" /]
</div>

Note the above CSS class can probably also just be done with module class suffix parameter, but I haven't tested it.


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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.196 seconds

Facebook Twitter LinkedIn