Hi Oroles,
I found your page is password protected.
Thanks
Frank
Thread Starter
oroles
(@oroles)
Scuse me!
This is my page with problem!
Could you please help me!
Thread Starter
oroles
(@oroles)
I cannot pick any date from the calendar. Nothing happens in the date box.
Hi Oroles,
I found the problem.
Check snap here.
Solution: Please remove password protection from page and try date selection.
And let me know If It isn’t work, then we will proceed to another solution.
Thanks
Frank
Thread Starter
oroles
(@oroles)
The page is not password protected. It’s not working!
Hi Oroles,
If small calendar not working properly then we will replace it by new one.
I will post you a new solution within a day.
Thanks
Frank
Thread Starter
oroles
(@oroles)
Thank you very much! I will expect the solution!
Hi Oroles,
I am expecting you are using Appointment Calendar 2.7.1.
Here the instructions:
File: appointment-calendar-shortcode.php
File Path: wordpress-directory\wp-content\plugins\appointment-calendar-v-2.7.1
Find & Comment below code line:
// $myCalendar->writeScript();
Now, find another block of code and un-comment as below:
//jQuery UI date picker on modal for
document.addnewappointment.appdate.value = jQuery.datepicker.formatDate('<?php echo 'dd-mm-yy'; ?>', new Date());
jQuery(function(){
jQuery("#datepicker").datepicker({
inline: true,
minDate: 0,
altField: '#alternate',
firstDay: <?php if($AllCalendarSettings['calendar_start_day'] != '') echo $AllCalendarSettings['calendar_start_day']; else echo "0"; ?>,
//beforeShowDay: unavailable,
onSelect: function(dateText, inst) {
var dateAsString = dateText;
var seleteddate = jQuery.datepicker.formatDate('<?php echo 'dd-mm-yy'; ?>', new Date(dateAsString));
var seleteddate2 = jQuery.datepicker.formatDate('dd-mm-yy', new Date(dateAsString));
document.addnewappointment.appdate.value = seleteddate;
},
});
//jQuery( "#datepicker" ).datepicker( jQuery.datepicker.regional[ "af" ] );
});
And you done. Give a try & let me know if everything is fine.
Thanks
Frank