yii2fullcalendar icon indicating copy to clipboard operation
yii2fullcalendar copied to clipboard

How to change the configuration?

Open pedroriverove opened this issue 6 years ago • 3 comments

Hello, I would like to duplicate this jquery configuration to yii2fullcalendar::widget

$('#calendar').fullCalendar({
    header: {
        left: '',
        center: '',
        right: '',
    },
    editable: true,
    views: {
        settimana: {
            type: 'agendaWeek',
            duration: {
                days: 7
            },
            title: 'Apertura',
            columnFormat: 'dddd', // Format the day to only show like 'Monday'
            hiddenDays: [0, 6] // Hide Sunday and Saturday?
        }
    },
    defaultView: 'settimana',
});

This shows only Monday - Friday http://jsfiddle.net/w11xw5gt/1/

pedroriverove avatar Jul 04 '18 05:07 pedroriverove

Hi @Pedro25 , this need new changes in the code. The next pull request #128 solve this.

metola avatar Jul 04 '18 12:07 metola

Hi @metola, i think the extraction has a syntax error on line 191 in the yii2fullcalendar.php file

pedroriverove avatar Jul 06 '18 23:07 pedroriverove

@philippfrenzel Hello, is there an update on this? It is quite limiting that you can't set options...

dsdobrzynski avatar Jun 12 '23 21:06 dsdobrzynski