Calendar module maxTitleLength is not working



  • Hi !
    So long story short:
    I’m using the default Calendar module. Because I’m using a small display i cannot have long Entries. Therefore i am using “maxTitleLength” but it’s not working…
    This is my configuration:

    {
    			module: "calendar",
    			header: "xx",
    			position: "top_right",
    			config: {
    				colored: true,
    					calendars: [
    					
    						{
    							url: 'xxxxxxxxxxxxx',
    							symbol: 'graduation-cap',
    							color: "#F05203",
    							maximumEntries: '5',
    							maximumNumberOfDays: '2',
    							maxTitleLength: '10',
    						},
    						
    								],
    					}		
    		},```
    
    Thank You.. :)

  • Moderator

    maxTitleLength should be an option inside config, not inside the calendars array. Try moving it to the same level as colored.



  • Ok that worked, but the Problem changed… now the calendar module is going over my weather modul.
    They are top_left and top_right but they don’t auto adjust… any clue?