By alex@mailforspam.com on Monday, 27 November 2017
Replies 15
Likes 0
Views 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
·
7 years ago
·
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.
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
We will move back to the core Joomla calendar date/picker for the next release of JEvents.
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Great to hear that!..
any estimation of "when" that happens?
·
7 years ago
·
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.
·
7 years ago
·
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
·
7 years ago
·
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
·
7 years ago
·
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
·
7 years ago
·
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
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Error on the calendar after applying helper.php + Joomla PR
·
7 years ago
·
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
·
7 years ago
·
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
·
7 years ago
·
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
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello geraint,

Thank you so much for the fix!
Problem solved

rikao
·
7 years ago
·
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
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post