Skip to Content Skip to Menu

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

Conditionals Failing Since Joomla! 3.5.0 Upgrade

  • chepp
  • chepp
  • OFFLINE
  • Posts: 20
  • Thanks: 1
  • Karma: 0
8 years 6 months ago #280622 by chepp
Sorry - thought I had this figured out, but I don't. Turns out DJ-ImageSlider wasn't to blame. It was just the most visible element to break on the front end when I renamed the chosen.js files. And as you pointed out, it broke elements of the back end.

I know this isn't a CB problem, but I'm at a loss and hoping you can suggest some hints on how to figure it out.

- I tried grep all the .php files on my site for "chosen.jquery.js". Nothing found (but not a big surprise).
- Grepped for "chosen." (added a period). Found the following:
* /administrator/components/com_admin/views/profile/tmpl/edit.php
* /administrator/components/com_templates/views/style/tmpl/edit_options.php
* /components/com_config/view/templates/tmpl/default_options.php
* /components/com_joomgallery/models/favourites.php
* /layouts/joomla/html/formbehavior/ajaxchosen.php
* /layouts/joomla/html/formbehavior/chosen.php
* /libraries/cms/html/number.php
These are Joomla core files with the exception of favourites.php, and all that had was a comment with the word "chosen" at the end ("// The list of favourites is filtered now, so that only valid images are chosen.").
- I set up a new instance of Joomla and installed all of my components and plugins one at a time until they were all installed (I might have missed some minor plugins), but I couldn't get it to fail.

Any recommendations on how to determine what is loading Chosen?

Thanks

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 #280635 by krileon
It would have to be a 3rd party extension doing it or the template. Chosen by default doesn't load on the frontend and doesn't load with such an aggressive jQuery selector in backend either. I've no idea what you've installed that's doing this and the only way to find out is to just disable 3 party extensions 1 by 1 until it resolves.


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