xombycraft
Forum Replies Created
-
Forum: Plugins
In reply to: [Search & Filter] Results not working & no obvious way to contactWhat plugin did you end up using? I’m having issues with this one and not entirely sold yet.
Forum: Plugins
In reply to: [Granular Controls For Elementor] Scheduled Content on MobileFound a fix!
In the file:
/var/www/html/mbc_hunterdontechsupport_com/wp-content/plugins/granular-controls-for-elementor/modules/scheduled-content/module.phpChange line 121 and 122 to the following:
var startDate = new Date(settings.start.replace(‘ ‘, ‘T’));
var endDate = new Date(settings.end.replace(‘ ‘, ‘T’));
The iOS bug is due to the date string not being in a format specified to work with new Date on iOS. The only format in iOS’s ECMAScript specifications is a simplified version of ISO-8601. If we change the space to a T, it is in spec, and functions on iOS.sources:
ECMAscript language specification
Javascript Date Invalid on iOSnote* if you’re still having issue on android, check to see if jquery is being properly loaded on the page, and that $ is functional as a caller for jquery. if not, replace the
document.ready()
to utilizejQuery(document).ready()
instead of$(document).ready
- This reply was modified 5 years, 11 months ago by xombycraft.
Forum: Plugins
In reply to: [Granular Controls For Elementor] Schedule Content Not Working?in the file:
/var/www/html/mbc_hunterdontechsupport_com/wp-content/plugins/granular-controls-for-elementor/modules/scheduled-content/module.php
Change line 121 and 122 to the following:
var startDate = new Date(settings.start.replace(' ', 'T')); var endDate = new Date(settings.end.replace(' ', 'T'));
The iOS bug is due to the date string not being in a format specified to work with
new Date
on iOS. The only format in iOS’s ECMAScript specifications is a simplified version of ISO-8601. If we change the space to a T, it is in spec, and functions on iOS.sources:
ECMAscript language specification
Javascript Date Invalid on iOSRequired setting when using GoDaddy economy hosting.
No time to troubleshoot the how/why though. Will post back if discovered.Forum: Plugins
In reply to: [Granular Controls For Elementor] Schedule Content Not Working?I managed to get it working — however there’s an issue with the javascript this plugin uses. despite being “mostly” functional, it’s completely broken on iOS devices.
There’s been no update for this plugin in 9 months, so I doubt we’re going to see any further support by the original author.
I’ll post back if I come up with anything.
Forum: Plugins
In reply to: [Granular Controls For Elementor] Scheduled Content on MobileScheduled content is broken on mobile, especially on Apple products.
I’m currently having to patch this up for a client, will post any updates here.