Skip to Content Skip to Menu

[SOLVED] Show progress field styled layout in CB Content Module

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
2 years 7 months ago - 2 years 7 months ago #328678 by 3by400Inc
Hello!

I'm trying to load a cb progress field, with its fully configured bar display, in the CB Content Module but I'm only getting the numerical value displayed (eg. "50").

Is there a way to display the progress field styled as the bar in the cb content module? I currently have all options enabled on the module's "Load" tab in my troubleshooting.
Last edit: 2 years 7 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
2 years 7 months ago #328679 by 3by400Inc
In addition to the display of the progress field not being in html, the CB Core Ajax plugin isn't loading in the CB Content module either. I do have the ajax config set with "Strict" disabled so the ajax features should display outside of the profile.

Please Log in or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
2 years 7 months ago #328682 by 3by400Inc
I've figured out the ajax plugin portion. I changed userdata to userfield in the substitution and now inline field editing in the CB Content Module is working.

I still have the issue of the progress bar now displaying, however.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
2 years 7 months ago #328690 by krileon

I'm trying to load a cb progress field, with its fully configured bar display, in the CB Content Module but I'm only getting the numerical value displayed (eg. "50").

You're likely using a userdata or [FIELD_NAME] substitution, which always outputs a fields raw value and the raw value for a progress field is between 0-100 representing the % complete. Use the below usage for HTML output.

[cb:userfield field="FIELD_NAME" /]

See our substitution tutorial below for further usage information.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb


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 or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
2 years 7 months ago #328693 by 3by400Inc
Weird, I know I tried that once I discovered it resolved the Ajax field editing for the other fields. I must have had a typo or something.

It worked this time. Thanks!
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum