Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,
    translations are included but not activate.

    Add this 2 Lines in dans-gcal.php in function gcal_enqueue_script() after ‘wp_enqueue_script( ‘fullcal-js’, plugin_dir_url( __FILE__ ) . ‘js/fullcalendar/fullcalendar.js’, array(‘jquery’), false );’

    wp_enqueue_script( 'fullcal-js-locales', plugin_dir_url( __FILE__ ) . 'js/fullcalendar/lang-all.js', array('jquery'), false );
    
    wp_enqueue_script( 'fullcal-js-locales-de', plugin_dir_url( __FILE__ ) . 'js/fullcalendar/lang/de.js', array('jquery'), false );
    

    And change the eventRender to:

    eventRender : function(event, element) {
                        // Add qTip for each event.
    					var start = moment(event.start).format(\"H:mm\");
    					var end = moment(event.end).format(\"H:mm\");
    
                        element.qtip({
                            content: {
                                text    : start +' bis '+end+' Uhr<br>Wo?: '+event.location,
                                title   : {
                                    text    : event.title,
                                }
                            },
Viewing 1 replies (of 1 total)