Skip to Content Skip to Menu

[#3035] Progress plugin with content plugin

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 11 months ago - 12 years 11 months ago #183381 by fribse2011
Hi, I've put in the very nice progress field, and I've also installed the content plugin, to have it in a module on the front page.
But the content/progress display is kind of weird.
The module for mod_cbcontent has a text field like this:
[cb:usertab tab="51" user="#displayedOrMe" /]

where tab 51 is the tab with the progress field.
The module doesn't see it as content, so it does'n place a nice background for it.
So the module collides with the module below it.



If I place a character like '.' or something else before or after it, it is displayed properly.



The problem is, that I want the module to not display when the progress is at 100%, so I've set the progress field accordingly (a feature in advanced module manager also does this if the module is empty), and if I enter the '.' it will display a '.', ergo it's not empty, and so the module will still be shown.

So how do I make it act properly, and still be able to hide it when at 100%

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

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
12 years 11 months ago #183392 by krileon
Replied by krileon on topic Re: Progress plugin with content plugin
What version of the progress field are you using? Latest is 1.0.5b1. Previous versions used a lot of weird styling. Now it's just DIVs with CSS to give the desired display. Perhaps some of that CSS isn't behaving properly with your template? It may also be better to render the field instead of trying to render the entire tab. You can do this using the below for example.

[cb:userfield field="FIELD_NAME" /]

Replace FIELD_NAME with the actual name of your progress field (e.g. cb_progress).


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.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 11 months ago - 12 years 11 months ago #183407 by fribse2011
Replied by fribse2011 on topic Re: Progress plugin with content plugin
It was 1.04, now it's 1.05, and I've set it to field also, but that didn't change anything.
Very strange...

I also tried adding the '0%' and '100%' to see if that changed anything, but that didn't help either.


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.
Attachments:
Last edit: 12 years 11 months ago by fribse2011.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
12 years 11 months ago - 12 years 11 months ago #183416 by krileon
Replied by krileon on topic Re: Progress plugin with content plugin
Please provide a URL to the page where the progress field is displayed in your module. It would seam there's some sort of CSS conflict.


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

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 11 months ago - 12 years 11 months ago #183424 by fribse2011
Replied by fribse2011 on topic Re: Progress plugin with content plugin
It's at www.dkdb.dk
log in on the top.

Credentials is in PM.

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: 12 years 11 months ago by fribse2011.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
12 years 11 months ago #183482 by krileon
Replied by krileon on topic Re: Progress plugin with content plugin
It's due to CBs template not loading and the cbClr is missing so clear:both; isn't being done. Have made a bug ticket to resolve with next release.

forge.joomlapolis.com/issues/3035


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.

Moderators: beatnantkrileon
Powered by Kunena Forum