Skip to Content Skip to Menu

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

Dropdown Zero Width

  • JerryK132
  • JerryK132
  • OFFLINE
  • Posts: 52
  • Thanks: 4
  • Karma: 1
8 years 6 months ago - 8 years 6 months ago #280895 by JerryK132
Replied by JerryK132 on topic Dropdown Zero Width
We have exactly the same problem which started immediately after we upgraded to J3.5.1 from 3.4.8. We were already using CB 2.0.14.

I'll try the approach you suggest, Kyle, but if either of you catch the sneaky extension please advise and I'll do the same.

I do have one extra clue:
If I try to sign up a new user or edit the profile of an existing user the problem occurs. However if I login with a user that has no active subscription or whose Free Reg subscription has expired, DDs are zero width! The only observable difference is that in the cases where the DD works, the user is redirected straight to the edit subscriptions page whereas in the other cases, I have to select that page by going to the user profile and selecting the Subscriptions tab.

Weird, no? Please let us know if this helps your diagnosis.

Just found some more info which sounds relevant but that I cannot understand - but maybe it will help you guys to explain what is happening:

github.com/joomla/joomla-cms/issues/10001

Thanks

Jerry
Last edit: 8 years 6 months ago by JerryK132. Reason: yet more info..

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

  • JerryK132
  • JerryK132
  • OFFLINE
  • Posts: 52
  • Thanks: 4
  • Karma: 1
8 years 6 months ago #280933 by JerryK132
Replied by JerryK132 on topic Dropdown Zero Width
Well I think I've found the problem.

It was indeed a JQuery interaction.

We use WDS Facebook Wall Pro and Slideshow CK.

Although unpublishing the Fbk module did not solve the problem initially, the extension does offer 2 JQuery "tweaks" for the user to change if JQ interactions are noted. Experimenting with those solved the problem. One combination of the two disabled the Slideshow and another (Code 3 and Code 4) led to slideshow and the chzn drop downs working...

I do seem to recall that Slideshow CK was recently updated within the time-frame we are all speaking about, so perhaps that was it. It did seem odd that our setup seemed to go wrong after updating Joomla to 3.5.x whilst Chepp's case went wrong when updating CB to 2.0.14 (J was already 3.5).

The clincher might be if all of us were using the same two modules...

Would still be interested in your comments, especially if my conclusions turn out to be flawed!

Thanks
Jerry

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280961 by krileon
Replied by krileon on topic Dropdown Zero Width
I've no idea what it's coming from, but it's pretty bad practice to just globally convert all select inputs like that. If it's specific to an extension I highly recommend reaching out to the developer and encouraging them to make their jQuery selector more specific to their usage as there's no telling what else it could break.


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.

  • JerryK132
  • JerryK132
  • OFFLINE
  • Posts: 52
  • Thanks: 4
  • Karma: 1
8 years 6 months ago #280986 by JerryK132
Replied by JerryK132 on topic Dropdown Zero Width
Many thanks Kyle. I'll do that.
I guess I can't mail Chepp to find out what extensions he was using. Hopefully he'll read this..
Jerry

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

  • chepp
  • chepp
  • OFFLINE
  • Posts: 20
  • Thanks: 1
  • Karma: 0
8 years 6 months ago #280990 by chepp
Replied by chepp on topic Dropdown Zero Width
I haven't been able to figure out what is loading Chosen. This issue is causing other larger problems on my site. I renamed the chosen JS files to keep them from loading and disabled the non-critical modules on the front-end so the site registration process (more specifically the CB Conditionals plugin) will continue to work. This has cause several elements on the administrator back end to fail, but I figured out some work-arounds to keep the site limping.

I tried all the suggested steps - made sure I was on the latest version of everything, tried different templates, disabled all the plugins and components I could without breaking the site entirely, and uninstalling everything I could. I could not get Chosen to stop loading. On the flip side, I installed a new version of Joomla and installed everything I have on the production site one by one and couldn't get the site to break. I'm obviously missing something, I just have no idea what.

At this point I have three unattractive options. First, wait in hope that Chosen is eventually support with CB Conditionals. Second, blow the site away and rebuild it from scratch. Third is to dump CB and look for something else to manage data collection during registration. Since I don't have time for the second two, I'll just have to wait to see what happens with CB Conditionals.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #281008 by krileon
Replied by krileon on topic Dropdown Zero Width
Support for chosen in CB Conditionals isn't coming anytime soon. If a clean install isn't showing the issue it's something installed or possibly a broken Joomla install somehow. We've a lot of usages for the change event on a select input so I've no idea what else the chosen usage is going to break. You can try using the below in CB Auto Actions to see if it can destroy the chosen usage on CBs selects.

Global
Triggers: onBeforeRegisterFormDisplay, onBeforeUserProfileEditDisplay
Type: Code
User: Automatic
Access: Everybody
Action
Method: jQuery
Code
Code:
$( '.cbRegistration select,.cbEditProfile select' ).chosen( 'destroy' );


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