Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the configuration? #127

Open
pedroriverove opened this issue Jul 4, 2018 · 3 comments
Open

How to change the configuration? #127

pedroriverove opened this issue Jul 4, 2018 · 3 comments

Comments

@pedroriverove
Copy link

pedroriverove commented Jul 4, 2018

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/

@metola
Copy link

metola commented Jul 4, 2018

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

@pedroriverove
Copy link
Author

pedroriverove commented Jul 6, 2018

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

@dsdobrzynski
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants