Hello, congratulations for the plug-in.
My question is simple:
How I can do, that the weeks start with Monday instead of Sunday?
I'm using the latest version of the plug-in.
Thank you very much, I hope your answers.
Hello, congratulations for the plug-in.
My question is simple:
How I can do, that the weeks start with Monday instead of Sunday?
I'm using the latest version of the plug-in.
Thank you very much, I hope your answers.
Hello!!
Some solution?
Thanks!
Hi javiprada1,
Yep but u need edit some code.
I will post 2moro a code for solution with some instruction how to edit.
Thanks !!!
Thank you very much to you Frank.
I hope your post, Saludos!
Hi javiprada1,
Be a coder now, you need to edit 'calendar_shortcode.php' file in 'appointment-calendar' directory.
You can also open this file in dashboard.
Dashboard-->Plugins-->Editor
Select plugin to edit: 'Appointment Calendar'
Select 4th file in list: 'calendar_shortcode.php'
Open file, go to line number 128, and add this line
firstDay: 1,
Then its look like as:
defaultView: '<?php echo $setting_data->cal_view; ?>',
firstDay: 1,
selectable: true,
selectHelper: false,
And you done, We cares our plugin users.
Thank You !!!
Soon !!! We are launching our Self Hosted Simple Appointments Management System
Have a look: AppointZilla
this is!!!
Very thanks Frank!!
Saludos.
Hi javiprada1,
We need some beta user to test our new application
You can book some demo appointments.
Follow this link: AppointZilla - Simple AppointMent Management System
And provide your feedback about it.
Thank You!!!
Thanks Frank.
In AppointZilla when I confirm a date, returns the following error:
PHP error
Non-static method Email::notifyclient() should not be called statically, assuming $this from incompatible context
/opt/lampp/htdocs/appointzilla/beta/demo/appointzilla/protected/views/site/index.php(551)...
Saludos!
Hi javiprada1,
We have made some changes with our application
Now you can test on this URL: Appointzilla
Thank You...
Perfect!
I made the booking without problems.
Congratulations!!!
One question about Appointment Calendar:
How I can make the users can not choose to booking days past to today in my calendar?
Thanks you, very much.
Add this line after line no. 44 in 'booking-form.php'
minDate: 0,
Code As:
$(function() {
$("#datepicker").datepicker({
inline: true,
minDate: 0,
altField: '#alternate',
onSelect: function(dateText, inst) {
var dateAsString = dateText;
var a = $.datepicker.formatDate('yy-mm-dd', new Date(dateAsString));
document.myform.bookdate.value = a;
}
});
});
Thanks for feedback...
@ javiprada1
I guess your question was regarding Appointzilla demo.
Currently we do not support this feature, the system was designed so that a user can book appointment at any future date.
However, you can block dates, block time slots, customize business hours etc to suit your case. I would suggest that you try out the admin panel by going to this link :
Thanks,
I was all set to use this plugin until I looked at the screen shots and the word "Description" is mispelled as "Descritpion". Has that been fixed or is that something I can fix myself from within the plugin? Thanks:)
@Res Hi! I think, all those kinds of things, you can change in the .php directly, simply find the correct and change, p.e. Calendar -> appointment-calendar/calendar_shortcode.php, form -> appointment-calendar/booking-form.php...
@a.ankit Thank you very much for your reply, I was referring to Appointment calendar, but thanks :-) .
@Frank Faraz Thank you very much, I did it and all perfect, but I could not modify the principal calendar (calendar_shortcode.php), any ideas for it?
Thank you very much to all, ¡Saludos!
Hi! One question:
Please, review the method of shortcode.php:
$('li input.email, #tellfriend a.close').click(function() { });
I think it does not work correctly to close the booking form.
Thanks!
@Frank Faraz Thank you very much, I did it and all perfect, but I could not modify the principal calendar (calendar_shortcode.php) for users can not choose previous days, any ideas for it?
Thanks!
Hi, concerning the starting day, I tried applying your advices in the code but it didn't work. I guess it is because my code looks a bit different.
},
editable: false,
weekends: true,
timeFormat: 'h:mm{-h:mmtt }',
firstDay: <?php echo get_option('calendar_start_day'); ?>,
slotMinutes: <?php echo get_option('calendar_slot_time'); ?>,
minTime: <?php echo date("G", strtotime(get_option('day_start_time')));?>,
defaultView: '<?php echo get_option('calendar_view'); ?>',
maxTime: <?php echo date("G", strtotime(get_option('day_end_time')));?>,
selectable: true,
selectHelper: false,
select: function(start, end, allDay) {
$('#AppFirstModal').show();
},
events: [
My site is http://www.alventosapsicologa.com/terapia-online/
Where should I add the "firstDay: 1," code to make it work?
Hi molesina13,
First, Where you want to change first day settings ?
1. In Calendar
2. Or Date Picker(where you select appointment date)
Above Code for option 2
Thanks
-Frank
You can try replacing:
firstDay: <?php echo get_option('calendar_start_day'); ?>,
for
firstDay: 1,
Regards!
Yes, I want to change it in Date Picker.
(Actually I hid the calendar itself because I rather placing a button and client to choose from data picker. Having both, the calendar and data picker is a bit redundant).
oh... It didn't work. What a pitty.
Any other possibilities?
You must be careful with the structure of the plug-in, as it contains more than one datepicker (datepicker-assets /, menu-pages/datepicker-assets /, settings / datepicker-assets /).
Make sure you are changing the correct, or if not, you can change them all xD.
Regards!
Hi Molesina13,
Today we will push an update within few hours. you no need to code with plugin. We added this thing with new updates.
Thanks & Have Fun...
-Hari Maliya
I did search for the word "firstDay" in the "appointment_calendar_shortcode.php' and I just got one result, so there is where I made the code change. Is there any other place where I can do that?
Thanks!
Hi Anna
Just try Appointment Calendar Ver2.3, we added this.
Thanks...
-Frank
You must log in to post.