Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event #3

Open
rdealmeida12 opened this issue Apr 30, 2017 · 13 comments
Open

Add event #3

rdealmeida12 opened this issue Apr 30, 2017 · 13 comments

Comments

@rdealmeida12
Copy link

concrete 5.8.1 Installed calendar 3.4
when adding event does not display calendar Date picker ( see attached )
It does allow you to put in a date but when the box loses focus it changes to the current date..
Same with the time input box ( see attached )
any ideas ??
Thanks
Bob

timepicker

datepicker

@tigerxy
Copy link
Contributor

tigerxy commented May 1, 2017

Have you tried a different browser or deaktivate addons like adblock? Same result there? Any errors on the console of your browser?

@rdealmeida12
Copy link
Author

didn't even think of adblocker.. whitelisted on domain but no luck
in the console found 11 errors all the same..
Uncaught TypeError: Cannot read property 'dayOfWeek' of undefined
at ddfac585feb556f3a34183068b76d7bfe0968e35.js:3
Thanks for the help

Bob

@rdealmeida12
Copy link
Author

rdealmeida12 commented May 1, 2017 via email

@dszymczuk
Copy link
Owner

Could you disable all addons in Concrete 5 and try again ?
Also change (if it is possible) to default theme and check again.

@rdealmeida12
Copy link
Author

rdealmeida12 commented May 4, 2017 via email

@rdealmeida12
Copy link
Author

I removed , downloaded and reinstalled the block. I noticed that after the block was installed on a page that the " Publish Changes" button changed.. ( view snippet..)
capture

Bob

@tigerxy
Copy link
Contributor

tigerxy commented May 6, 2017

Hey Bob,

It appears that the javascript of the drop-down crashes because jquery.datetimepicker does not support your language. Can you type the following line into the console from the browser and post the response?
Navigator.language || Navigator.userLanguage;

You can also try the examples on this page. These should also not run.
Datetimepicker page

The current version of the plugin is v2.5.4. This addon uses version v2.4.1. If the examples work on the site, you can update the javascript file manually.

@rdealmeida12
Copy link
Author

The examples worked perfectly. I used the defaults..english
timepicker

@tigerxy
Copy link
Contributor

tigerxy commented May 7, 2017

Try to replace this file: packages / dsEventCalendar / js / jquery.datetimepicker.min.js
with the newest you can find here: https://github.com/xdan/datetimepicker/releases/tag/2.5.4
Then clear the cache of concrete5.

@rdealmeida12
Copy link
Author

Nope.. no luck.. Cleared cache.. uninstalled and reinstalled... tried on chrome (v58), Firefox, IE and Edge...
even tried on Ubuntu linux..
Changed language ( no english ... just english GB ) no luck.. All show the same error..
Uncaught TypeError: i.dateFormat is not a function

@dszymczuk
Copy link
Owner

dszymczuk commented May 8, 2017

Is it possible to show this page ?
You can send on mail: I will try to help you.

@rdealmeida12
Copy link
Author

rdealmeida12 commented May 17, 2017 via email

@tom-rice
Copy link
Contributor

This seems to be a problem with changes to variable handling in PHP 7 - the variable variables are no longer working so the $lang_datepicker_dsECS variable is no longer set and lang is empty, causing the error.

This fixed it for me:
controllers/single_page/dashboard/event_calendar/event.php line 108:
CHANGE:
$$s['opt'] = $s['value'];
TO:
${$s['opt']} = $s['value'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants