Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] CB Progress in Module

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 11 months ago - 9 years 11 months ago #257393 by fribse2011
[SOLVED] CB Progress in Module was created by fribse2011
J3.3.6, CB 2.0.4
In CB 1.9 I had a CB Content module that showed the progress plugin for the logged in user.
It doesn't seem to output anything after the upgrade.
CB Content module just holds:
[cb:userfield field="cb_status" /]
But it seems to be empty always?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
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 #257394 by tc_charly
Replied by tc_charly on topic CB Progress in Module
Hi,

I have solved on this way :

www.joomlapolis.com/forum/153-professional-member-support/228153-cb-progress-field-in-a-modul

An its work ...
The Code is in the Tread ...



Sry my BAD English ...
I an Swiss Man and English not my Language ;)
Attachments:
The following user(s) said Thank You: fribse2011

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 11 months ago #257396 by fribse2011
Replied by fribse2011 on topic CB Progress in Module
Yes of course, I had to recreate it, so I wrong the wrong cb_field :-o
It works with the right one in it, thankyou!

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 11 months ago #257406 by fribse2011
Replied by fribse2011 on topic CB Progress in Module
Hmm, it's still putting up a tease it seems.
I wanted to create it like this:
Code:
[cb:if cb_progress!=""]<a href="/personlig/din-profil">[cb:userfield field="cb_progress" /]</a>[/cb:if]
And the progress field is set to be empty if it's complete.
This keeps showing the module (the module is set to be hidden if empty).
But if I remove the link stuff, and just place the field itself ([cb:userfield field="cb_progress" /]) it WILL hide the module, so then it seems to be empty, so why doesn't the if statement work as I think it should?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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 #257407 by tc_charly
Replied by tc_charly on topic CB Progress in Module

fribse2011 wrote: (the module is set to be hidden if empty).


Sry for my question ... how make i this ???

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

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 11 months ago #257409 by fribse2011
Replied by fribse2011 on topic CB Progress in Module
Using Advanced Module Manager from NoNumber.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
The following user(s) said Thank You: tc_charly

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

Moderators: beatnantkrileon
Powered by Kunena Forum