By alex@mailforspam.com on Monday, 27 November 2017
Replies 15
Likes 0
Views 2.2K
Votes 0
There is a bug with latest Joomla 3.7.4 (and I believe higher versions also).

The thing is: I'm using integrations, in particular, JTicketing. And I need to be able to use standard Joomla field "calendar". But their script conflicts with your old version. As a matter of fact, your calendar script does not work when Joomla "calendar" field is on the page.
It troughs exceptions when you click calendar button. I've tried to avoid those by disabling the script (put empty calendar.min.js at templatefolder/js/system/fields), so I'm able to open the calendar, but updating the valued doesn't work then.
How can I make your field to work?

Version : 3.4.43 Stable
Hello,

Have you tested with the default Joomla! Template protostar? We have and are using it perfectly fine in all 3.7 and 3.8 versions of Joomla!?

What is conflicting about it?

Many thanks
Tony
·
Monday, 27 November 2017 13:17
·
0 Likes
·
0 Votes
·
0 Comments
·
There are no issues with a template, things work with the current template.
As I mentioned above it's about calendar field.
See attached files: 16-23-03 displays that Joomla native calendar is working correctly.
And 16-24-07 is what I get when clicking on your calendar.

I've also added all calendar scripts load lines to attachments.
·
Monday, 27 November 2017 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
We will move back to the core Joomla calendar date/picker for the next release of JEvents.
·
Tuesday, 28 November 2017 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Great to hear that!..
any estimation of "when" that happens?
·
Tuesday, 28 November 2017 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Within the next couple of weeks I would expect.

p.s. we are using a core Joomla calendar - but it appears Joomla now has 2 clashing versions of the calendar in the code.
·
Thursday, 30 November 2017 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, we'll be waiting.

I guest to use native calendar you should extend Calendar field and not the regular one:
class JFormFieldJeveventcalendar extends JFormField
·
Friday, 01 December 2017 10:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello geraint,

We are facing this same issue.
Is it possible for you to provide temporary fix?
(We need some solution while waiting for the next release of JEvents.)

Thanks,
rikao
·
Monday, 04 December 2017 07:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I have reworked our calendar to use the alternative calendar Joomla provides (note that Joomla provides BOTH so ours it not outdated - but it will be I agree).

BUT there is a problem the newer calendar doesn't have all the functionality we need - in particular the date input field changes as you navigate the popup calendar whereas we could disable this historically. I am going to have to make a change to the Joomla core to fix this properly.

If you want to work with the new code you can unzip and upload this file to components/com_jevents/libraries/helper.php
·
Monday, 04 December 2017 14:14
·
0 Likes
·
0 Votes
·
0 Comments
·
I have implemented a fix for Joomla - waiting for the PR to be tested and accepted.

See https://issues.joomla.org/tracker/joomla-cms/18976 - if you are able to do an official test that would be great, if not just vote for it as being important.

Thanks
·
Monday, 04 December 2017 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Error on the calendar after applying helper.php + Joomla PR
·
Thursday, 07 December 2017 09:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Is that error on a site that I can access so I can take a look at the underlying javascript/HTML?

Please put any URLs/usernames/passwords on the private site details tab below
·
Thursday, 07 December 2017 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello geraint,

Alex is helping us on our site, actually.
So I enclosed the site details below so that you can see the error.

Thanks for your help,
rikao
·
Friday, 08 December 2017 12:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Resolved - I commented out line 25

//JHtml::_('behavior.calendar');

of administrator/components/com_jevents/views/icalevent/tmpl/edit.php
·
Tuesday, 12 December 2017 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello geraint,

Thank you so much for the fix!
Problem solved

rikao
·
Thursday, 14 December 2017 12:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Great - I'm pushing my PR with Joomla so hopefully it will be fixed properly in Joomla version 3.8.4
·
Friday, 15 December 2017 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post