WordPress.org

Ready to get started?Download WordPress

Forums

Appointment Calendar
Monday can be first day of the week in Appointment Calendar (27 posts)

  1. javiprada1
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/appointment-calendar/

  2. javiprada1
    Member
    Posted 2 years ago #

    Hello!!

    Some solution?

    Thanks!

  3. FARAZFRANK
    Member
    Posted 2 years ago #

    Hi javiprada1,
    Yep but u need edit some code.
    I will post 2moro a code for solution with some instruction how to edit.
    Thanks !!!

  4. javiprada1
    Member
    Posted 2 years ago #

    Thank you very much to you Frank.

    I hope your post, Saludos!

  5. FARAZFRANK
    Member
    Posted 2 years ago #

    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

  6. javiprada1
    Member
    Posted 2 years ago #

    this is!!!

    Very thanks Frank!!

    Saludos.

  7. FARAZFRANK
    Member
    Posted 2 years ago #

    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!!!

  8. javiprada1
    Member
    Posted 2 years ago #

    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!

  9. FARAZFRANK
    Member
    Posted 2 years ago #

    Hi javiprada1,
    We have made some changes with our application
    Now you can test on this URL: Appointzilla

    Thank You...

  10. javiprada1
    Member
    Posted 2 years ago #

    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.

  11. FARAZFRANK
    Member
    Posted 2 years ago #

    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...

  12. a.ankit
    Member
    Plugin Author

    Posted 2 years ago #

    @ 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 :

    Admin Panel for Appointzilla

    Thanks,

  13. Res
    Member
    Posted 2 years ago #

    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:)

  14. javiprada1
    Member
    Posted 2 years ago #

    @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!

  15. javiprada1
    Member
    Posted 2 years ago #

    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!

  16. javiprada1
    Member
    Posted 2 years ago #

    @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!

  17. FARAZFRANK
    Member
    Posted 2 years ago #

    Hi javiprada1,

    Send file to me, i will check.
    Mail- farazfrank777@gmail.com

    Thanks...

  18. molesina13@hotmail.com
    Member
    Posted 1 year ago #

    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/

  19. molesina13@hotmail.com
    Member
    Posted 1 year ago #

    Where should I add the "firstDay: 1," code to make it work?

  20. FARAZFRANK
    Member
    Posted 1 year ago #

    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

  21. javiprada1
    Member
    Posted 1 year ago #

    You can try replacing:

    firstDay: <?php echo get_option('calendar_start_day'); ?>,

    for

    firstDay: 1,

    Regards!

  22. molesina13@hotmail.com
    Member
    Posted 1 year ago #

    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).

  23. molesina13@hotmail.com
    Member
    Posted 1 year ago #

    oh... It didn't work. What a pitty.
    Any other possibilities?

  24. javiprada1
    Member
    Posted 1 year ago #

    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!

  25. Hari Maliya
    Member
    Plugin Contributor

    Posted 1 year ago #

    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

  26. molesina13@hotmail.com
    Member
    Posted 1 year ago #

    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!

  27. FARAZFRANK
    Member
    Posted 1 year ago #

    Hi Anna

    Just try Appointment Calendar Ver2.3, we added this.

    Thanks...

    -Frank

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic