Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Contributor FARAZFRANK

    (@farazfrank)

    Hi javiprada1,

    Send file to me, i will check.
    Mail- [email protected]

    Thanks…

    [email protected]

    (@molesina13hotmailcom)

    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 https://www.alventosapsicologa.com/terapia-online/

    [email protected]

    (@molesina13hotmailcom)

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

    Plugin Contributor FARAZFRANK

    (@farazfrank)

    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

    Thread Starter javiprada1

    (@javiprada1)

    You can try replacing:

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

    for

    firstDay: 1,

    Regards!

    [email protected]

    (@molesina13hotmailcom)

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

    [email protected]

    (@molesina13hotmailcom)

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

    Thread Starter javiprada1

    (@javiprada1)

    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!

    Plugin Contributor Hari Maliya

    (@harimaliya)

    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

    [email protected]

    (@molesina13hotmailcom)

    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!

    Plugin Contributor FARAZFRANK

    (@farazfrank)

    Hi Anna

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

    Thanks…

    Frank

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Monday can be first day of the week in Appointment Calendar’ is closed to new replies.