Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] No Calendar Pop-up After Update to Joomla 3.7

No Calendar Pop-up After Update to Joomla 3.7 03 May 2017 18:24 #15105

  • rholzler
  • rholzler's Avatar
  • Offline
  • Junior Member
  • Posts: 30
  • Thank you received: 1
  • Karma: 0
We upgraded to Joomla 3.7 and got JLoader errors. I recompiled, downloaded the app and reinstalled it. That resolved the JLoader error; however, we still have no calendar popups on filters or date fields. I have tried changing PHP versions, cleared the browser and website cache, but it did not resolve the problem.
The administrator has disabled public write access.

No Calendar Pop-up After Update to Joomla 3.7 08 May 2017 14:39 #15114

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 267
  • Thank you received: 32
  • Karma: 22
Hi Rholzler,

I had the same issue with all my j-cook components under 3.7 (php7.0).
But it's not a j-cook Issue, but a Joomla3.7 CSS issue. The class name has changed, and will be corrected in next release.

In root/libraries/cms/html/behaviour.php => just add a '-' after calendar, :
JHtml::_('stylesheet', 'system/calendar-jos.css', array('version' => 'auto', 'relative' => true), $attribs);
JHtml::_('script', $tag . '/calendar-setup.js', array('version' => 'auto', 'relative' => true));

and j-cook calendar will work :)
Last Edit: 08 May 2017 14:41 by liubov.
The administrator has disabled public write access.
The following user(s) said Thank You: admin

No Calendar Pop-up After Update to Joomla 3.7 09 May 2017 12:15 #15116

  • rholzler
  • rholzler's Avatar
  • Offline
  • Junior Member
  • Posts: 30
  • Thank you received: 1
  • Karma: 0
Rather than editing the behavior.php file, I made copies of the JS and CSS files and renamed them without the dashes (calendarjos.css and calendarsetup.js). That resolved the problem. Thanks for pointing me in the right direction.

When the problem is fixed in the next update, I will have 2 orphan files, but that is better than the possibility of breaking any other apps that may need that file "as-is."
The administrator has disabled public write access.
The following user(s) said Thank You: admin

No Calendar Pop-up After Update to Joomla 3.7 09 May 2017 12:20 #15117

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3701
  • Thank you received: 972
  • Karma: 140
@liubov
K++
Coding is now a piece of cake
The administrator has disabled public write access.

No Calendar Pop-up After Update to Joomla 3.7 11 May 2017 11:26 #15121

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3701
  • Thank you received: 972
  • Karma: 140
Fixed in sandbox

This issue is very strange because the files (JS / CSS) has never been renamed.
So @rholzler, your method is useless. Better to hack the behavior.php file

Sometimes I don't understand if Joomla has incompetent people in its team, or receive conscient attacks for disrupting the project.
I am gonna have a closer look about this.
Coding is now a piece of cake
Last Edit: 11 May 2017 11:32 by admin.
The administrator has disabled public write access.

No Calendar Pop-up After Update to Joomla 3.7 11 May 2017 11:31 #15122

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3701
  • Thank you received: 972
  • Karma: 140
Well, ok I understand.
Datepicker has been improved.
Now it uses a new calendar wich is beautiful.
Cook Is still using the old legacy calendar.

So this is maybe not so obvious because it is a LEGACY function.
Coding is now a piece of cake
Last Edit: 11 May 2017 11:45 by admin.
The administrator has disabled public write access.

No Calendar Pop-up After Update to Joomla 3.7 29 May 2017 20:55 #15161

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3701
  • Thank you received: 972
  • Karma: 140
Coding is now a piece of cake
The administrator has disabled public write access.

No Calendar Pop-up After Update to Joomla 3.7 30 May 2017 12:38 #15165

  • rholzler
  • rholzler's Avatar
  • Offline
  • Junior Member
  • Posts: 30
  • Thank you received: 1
  • Karma: 0
Thanks! I will recompile and try it out. :)
The administrator has disabled public write access.

No Calendar Pop-up After Update to Joomla 3.7 30 May 2017 16:35 #15167

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 267
  • Thank you received: 32
  • Karma: 22
Superb !

Already love it (Dates are important fields for several Tables of JBreeding :P )
The administrator has disabled public write access.
Time to create page: 0.090 seconds

Get Started