Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CB Conditional not working anymore

  • beub
  • beub
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
11 years 2 months ago - 11 years 2 months ago #232116 by beub
Hi!

I'm using CB Conditional for some fields of my website, but it seems it doesn't work anymore.

For example:
I have a Drop Down (single select) called "Area" with some choices: A and E
And depending of the choice, it displays a new Drop Down with more choices.
For A: a1 and a2
For B: b1 and b2
So it works like few days ago, when I was picking A, the Drop Down A was displayed and I could pick a1 or a2.
And if I had picked B, the Drop Down for A was hidden and the Drop Down for B was displayed.

Now, the main Drop Down and both of the sub-Drop Down are displayed, whatever I pick...
It's like the condition is not accepted.

I read this post: www.joomlapolis.com/forum/153-professional-member-support/205319-solved-cb-conditional-not-working-for-some-fields?start=6

Could you help?

beub
Last edit: 11 years 2 months ago by beub.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232119 by krileon
Replied by krileon on topic CB Conditional not working anymore
You've a fatal JS error if it's not working at all anymore or the plugin was unpublished within CB > Plugin Management. Press F12 to open your browsers developer console then check the Console tab and see if any fatal JS errors are present as they'll break CB Conditionals jQuery. Try to recall what you've last installed that could result in this occurring (sometimes a Joomla template, etc..).


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.

  • beub
  • beub
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #232121 by beub
Replied by beub on topic CB Conditional not working anymore
I checked the Plugin Management.
I deleted CB Conditional, installed it again, and I still have the problem.

Btw when I uninstalled it and put it again, conditions were still there. Did I have something more to delete to clean it?

I have nothing when I press F12 (Firefox), but I found a Console and there is no Fatal JS Error.

I sometimes have to change the template, editing it, and the website is currently building so some changes are made on it. These days I worked on Geommunity, Uddeim and the template.
Could it be the problem? How can I solve it?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232128 by krileon
Replied by krileon on topic CB Conditional not working anymore
What did you recently change? Did you install something new? Upgrade a plugin? The only reason for it to not work is your conditions are incorrectly configured and are conflicting with one another, plugin isn't loading, or you've a 3rd party extension conflicting with it. Please switch to default Joomla template and see if issue persists.

When checking for JS errors in Chrome press F12 then refresh the page and see if any errors are present (they'll be in red).


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.

  • beub
  • beub
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #232162 by beub
Replied by beub on topic CB Conditional not working anymore
Recently I worked on Geommunity (Google Map), the template.
I updated Joomla! from 2.5.11 to 2.5.14

On Chrome, with F12, the only problem is about an image which I delete, so the link is an error, but it shouldn't be a problem.

I'm using CB Profile Pro, I used the HTML editor to see what could be the problem, and it seems that when you call a field with a CB Conditional use, there is a CSS id to call in the div.

For exemple:
<div id=cbfr_88>{fld cb_Area}</div>
<div id=cbfr_89>{fld cb_A}</div>
<div id=cbfr_90>{fld cb_B}</div>

Using this, it correctly displays and when I pick A, cb_A is displayed, and same for B.
But for my website, I have like 10 choices, and one of them still doesn't display even if I use this way...
So maybe the problem is not solved...

When I switch to default Joomla! template, the issue persists.

About the way I used with the CSS id, maybe there are id matching with field that I have to use, don't you think? It's still strange.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232171 by krileon
Replied by krileon on topic CB Conditional not working anymore
CB Conditional will not work with CB Profile Pro. CB Profile Pro completely alters CBs output. Issue has nothing to do with CB Conditional, but to do with CB Profile Pro failing to properly output the CBs HTML. Completely disable CB Profile Pro and we can continue to debug if your issue persists otherwise I can't help you any further.


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