Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Progress Field in a Modul

  • tc_charly
  • tc_charly
  • OFFLINE
  • Posts: 66
  • Thanks: 3
  • Karma: -1
9 years 11 months ago #257165 by tc_charly
CB Progress Field in a Modul was created by tc_charly
Hello,

I have Install the CB Progress Field.

Now i see it on Profil right.
I look a way this Progress Field look in a Modul of the Home Site.
If the Progress 100% then the Modul is never see on the Home site ...

Any a way to do that ???

THX

Sry my BAD English ...
I an Swiss Man and English not my Language ;)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8303
  • Karma: 1446
9 years 11 months ago - 9 years 11 months ago #257200 by krileon
Replied by krileon on topic CB Progress Field in a Modul
Substitute it into a CB Content Module. See the below tutorial for substitution usage information.

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

If you want it to display with HTML then use [cb:userfield field="FIELD_NAME" /]. If you just want the completeness of the profile in % then use [FIELD_NAME]. To try and hide it if the profile is complete you could try the below (I've no idea if this will work).

Code:
[cb:if FIELD_NAME!="100"] <div class="cb_template"> [cb:userfield field="FIELD_NAME" /] </div> [/cb:if]

Replace FIELD_NAME with the name of your progress field.


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.
Last edit: 9 years 11 months ago by krileon.

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

  • tc_charly
  • tc_charly
  • OFFLINE
  • Posts: 66
  • Thanks: 3
  • Karma: -1
9 years 11 months ago #257210 by tc_charly
Replied by tc_charly on topic CB Progress Field in a Modul
OK THX ...

I have Testing ...

Make a Modul : Empty Modul (use HTML)
I put codes in this Modul :

Your Code and :
Code:
[cb:cb_geburtsdatum]
Code:
[cb_geburtsdatum]

I see on my Module on Page Follow :
Code:
[cb:if cb_progress="100"] <div class="cb_template"> [cb:userfield field="cb_progress" /] </div> [/cb:if]

This :




How is my error ??? I find nothing :(

Sry my BAD English ...
I an Swiss Man and English not my Language ;)
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8303
  • Karma: 1446
9 years 11 months ago #257217 by krileon
Replied by krileon on topic CB Progress Field in a Modul
You need to use a CB Content Module. Then set the module to Registered access. Substitutions do not work for non-logged in users.


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.

  • tc_charly
  • tc_charly
  • OFFLINE
  • Posts: 66
  • Thanks: 3
  • Karma: -1
9 years 11 months ago - 9 years 11 months ago #257220 by tc_charly
Replied by tc_charly on topic CB Progress Field in a Modul
OK now i confused ...

I find nothing a CB Content Module :(

:S :S :S :S :S :S

OK i have search and Found the File ;)
Now i Testing ;)

Sry my BAD English ...
I an Swiss Man and English not my Language ;)
Last edit: 9 years 11 months ago by tc_charly.

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

  • tc_charly
  • tc_charly
  • OFFLINE
  • Posts: 66
  • Thanks: 3
  • Karma: -1
9 years 11 months ago #257230 by tc_charly
Replied by tc_charly on topic CB Progress Field in a Modul
OK, i have make !=100 then is God ;)

Now o look a way ... Is the progress 100 and display nothing, the Modul is OFF

any idee ???

Sry my BAD English ...
I an Swiss Man and English not my Language ;)

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

Moderators: beatnantkrileon
Powered by Kunena Forum