Page 4 of 4

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Sunday 20 December 2020 14:47
by Lokonli
HansieNL wrote: Saturday 19 December 2020 9:50 @Lokonli Due to Covid-19 my calendars are now empty. Is it possible to have a custom message of in the calendar block when it’s empty?
If not, can that option be added?
Thanks again.
Implemented in latest beta.

You can set a custom text via the block parameter 'emptytext'

Only implemented in the new calendar block (type: 'calendar')

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Sunday 20 December 2020 19:55
by HansieNL
Lokonli wrote: Sunday 20 December 2020 14:47
HansieNL wrote: Saturday 19 December 2020 9:50 @Lokonli Due to Covid-19 my calendars are now empty. Is it possible to have a custom message of in the calendar block when it’s empty?
If not, can that option be added?
Thanks again.
Implemented in latest beta.

You can set a custom text via the block parameter 'emptytext'

Only implemented in the new calendar block (type: 'calendar')
Thanks. Didn't expect the addition that soon. I'm trying to add a text, but I still got an empty block (except the icon).
This is the code I'm using. Am I missing something?:

Code: Select all

calendars.concerts = {
	type: 'calendar',
	layout: 0,
	startonly: true,
	maxitems: 5,
	emptytext: 'No upcoming concerts or festivals',
	image: '../custom/img/rock.svg',
	icalurl: 'http://192.168.2.14:3000/kalenders/concerts.ics',
}
It’s working on my iPad. I think I have to clean my cache :oops:

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Monday 28 December 2020 16:24
by HansieNL
When using the url parameter to load a page I got a message in the popup frame that loading the page is not allowed. Is it possible to load in a new window like the parameter newwindow for a normal block?

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Monday 25 January 2021 22:45
by Jaccovr
hi, im not a newbe but i just cant figer out wy my calander wil not show my apointments,

i have read all logs and look into (F12 and look for error) if i use outlook. i receive thiss error:
Exception: DateTimeZone::__construct(): Unknown or bad timezone (Customized Time Zone) in /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php:260
Stack trace:
#0 /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php(260): DateTimeZone->__construct('Customized Time...')
#1 /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php(131): om\IcalParser->parseRow('TZID:Customized...')
#2 /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php(47): om\IcalParser->parseString('BEGIN:VCALENDAR...', NULL)
#3 /var/www/html/vendor/dashticz/ical/index.php(71): om\IcalParser->parseFile('https://outlook...')
#4 {main}
and if i use hotmail i receive thiss error:
{ }

if i look in the pi i cant find anny folders in :
/var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src//vendor/dashticz/ical/vendor/om/icalparser/src/

folder structure stops @
/var/www/html

my popup calander works good? (use v3.7.3 beta)

anny help wil be good!
Marcel

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Monday 01 February 2021 13:43
by HansieNL
@Lokonli If you have an all day calender (for example a birthday calender) and you don't want the time table data cell you have to do that by add code to config.css:

Code: Select all

[data-id='calendar_id'] .agenda-time,
    display: none;
}
Another layout option without the time table data cell would be great.
Thanks in advance.

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Tuesday 09 March 2021 21:06
by GuidoP18
the block of an public iCloud calendar shows events from the past. Even when maxitems is set to 1.

does anyone knows how to fix this?

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Wednesday 10 March 2021 16:42
by TroisSix
Hi HansieNL
Your calendar is working great on my side, and I have a few questions:
- is it possible to have only the titles in bold like the old calendar?
- on my side, the google calendar is displayed slowly only after a few sec, is there a reason?
- I wanted to use a popup and display a calendar layout=2 in full screen, but cause it is very long to load, I abandoned it

Here is my code:
Spoiler: show
blocks['calendrier_Google'] = { type: 'calendar', layout: 1, maxitems: 7, color: 'blue', emptytext: '-',
icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics',
holidayurl: 'https://.../scolar-calendar.ics',
icon: '', dateFormat: 'dd D.MM', startonly: true, lastweek: false, isoweek: true, width: 12 }
Thx for your help

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Wednesday 10 March 2021 19:22
by HansieNL
TroisSix wrote: Wednesday 10 March 2021 16:42 Hi HansieNL
Your calendar is working great on my side, and I have a few questions:
- is it possible to have only the titles in bold like the old calendar?
- on my side, the google calendar is displayed slowly only after a few sec, is there a reason?
- I wanted to use a popup and display a calendar layout=2 in full screen, but cause it is very long to load, I abandoned it

Here is my code:
Spoiler: show
blocks['calendrier_Google'] = { type: 'calendar', layout: 1, maxitems: 7, color: 'blue', emptytext: '-',
icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics',
holidayurl: 'https://.../scolar-calendar.ics',
icon: '', dateFormat: 'dd D.MM', startonly: true, lastweek: false, isoweek: true, width: 12 }
Thx for your help
For the only the titles in bold you can add the following code to your custom.css:

Code: Select all

.calendar .agenda-title {
	font-weight: bold !important; 
}
Can download your google calendar .ics and try to load it local?

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Thursday 11 March 2021 9:41
by TroisSix
Thanks HansieNL for the css part, it was so simple :D

For the loading in local I put the file in /home/pi/dashticz/ical/
Then in config.js I call it with

Code: Select all

icalurl: 'http://127.0.0.1/dashticz/ical/basic.ics'
And yes it is loaded twice faster, it takes 3-4 secs to be displayed in local instead of 7-8secs from the web
Is there a way to reduce the content of this file in order to get it faster? cause I only take the next 7 items, and I think it downloads the whole agenda?

edit: tested with 127.0.0.1 but is there a way to point on /home/pi/dashticz/ical.basic.ics ?

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Friday 12 March 2021 12:44
by gielie
Its been awhile but i started my dashticz hobby again and i have a problem with the new way of the calendar.
is use to have this code that worked fine.



Its working again, must have had a typo, tanks for this great project

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Saturday 10 April 2021 14:35
by TroisSix
Hi,
Could it be possible to personalize the name "entire day" by something specific?
Cause it certain language, it can be very long ;-)
Thanks

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Monday 03 May 2021 20:24
by HansieNL
GuidoP18 wrote: Tuesday 09 March 2021 21:06 the block of an public iCloud calendar shows events from the past. Even when maxitems is set to 1.

does anyone knows how to fix this?
I got the same problem with my calendars.
I added the parameter lastweek: false to my calendar block and the problem seems to be solved.

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Tuesday 10 August 2021 1:02
by Derik
Hi guys

Thanks for the GREAT wokr V3...
Did have time and wil give dashicz a other try so...
See nice new stuf..

Perhaps for the calendar part.
When tab on the calandar.
Open a new windowand then a option to choose. num 1 or 2 or 3 etc. [ like some other blocks has ]
Adjustable for size and color etc.

Looks a great feature for the smal screens so you kan save spade onyour dash, and when you wil see the detais
tab on the calendar part.

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Friday 08 October 2021 16:23
by mwehrens
I have a small issue with the calendar functionality. Everything works fine except my training scheme does not show the work-out of that day. I suspect that the time indication, or the lack of it (00:00 -00:00), is the reason as it is in the past as soon as the day starts.. Is there a work around that items without a time indication are shown until end of day instead of beginning of day?

Thanks in advance.
Spoiler: show
blocks['my_calendar_sport'] = {
title:'Sport',
type: 'calendar',
maxitems: 5,
layout: 0,
url: '*',
icalurl: '*',
holidayurl: '*',
weeks: 5,
lastweek: false,
isoweek: false,
width: 12
}

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Friday 08 October 2021 17:07
by Lokonli
mwehrens wrote: Friday 08 October 2021 16:23 I have a small issue with the calendar functionality. Everything works fine except my training scheme does not show the work-out of that day. I suspect that the time indication, or the lack of it (00:00 -00:00), is the reason as it is in the past as soon as the day starts.. Is there a work around that items without a time indication are shown until end of day instead of beginning of day?

Thanks in advance.
Spoiler: show
blocks['my_calendar_sport'] = {
title:'Sport',
type: 'calendar',
maxitems: 5,
layout: 0,
url: '*',
icalurl: '*',
holidayurl: '*',
weeks: 5,
lastweek: false,
isoweek: false,
width: 12
}
Can you mark the work-out as a full day event? Then it will probably show.

In the mean I will check whether I can reproduce the problem.

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Friday 08 October 2021 17:21
by Lokonli
mwehrens wrote: Friday 08 October 2021 16:23 I have a small issue with the calendar functionality. Everything works fine except my training scheme does not show the work-out of that day. I suspect that the time indication, or the lack of it (00:00 -00:00), is the reason as it is in the past as soon as the day starts.. Is there a work around that items without a time indication are shown until end of day instead of beginning of day?

Thanks in advance.
Spoiler: show
blocks['my_calendar_sport'] = {
title:'Sport',
type: 'calendar',
maxitems: 5,
layout: 0,
url: '*',
icalurl: '*',
holidayurl: '*',
weeks: 5,
lastweek: false,
isoweek: false,
width: 12
}
I've created some test events in my google calendar from 0:00 - 0:00 (0 minutes). They display just fine.
Can you send me your ical file, or an url, then I'll check your file as well. You can do it by PM.

What is your Dashticz version? You could try latest beta.

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Saturday 09 October 2021 17:29
by mwehrens
Thanks for the help.. I'm on V3.8.0.2 master branch. As newby I'm not allowed to PM you. (Feels weird to write that down...) Does the ICS file contain 'personal information'? I can not see anything specific but it contains a UID, so iḿ a bit hesitant to post it here.. I will try to create all day events and see what happens.

I clipped some information out of the ICS files:
Spoiler: show
** Original event as in garmin ICS file)

BEGIN:VEVENT
DTSTAMP:20211009T152457Z
SUMMARY:FTP TEST
DTSTART;VALUE=DATE:20211009
UID:******
END:VEVENT

** duplicated the original in google calendar
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211009
DTEND;VALUE=DATE:20211010
DTSTAMP:20211009T155750Z
UID:***
CREATED:20211009T155606Z
DESCRIPTION:
LAST-MODIFIED:20211009T155606Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:FTP TEST
TRANSP:OPAQUE
END:VEVENT

** Created an event in google calendar.
BEGIN:VEVENT
DTSTART:20211008T220000Z
DTSTAMP:20211009T155750Z
UID:***
CREATED:20211009T155515Z
DESCRIPTION:
LAST-MODIFIED:20211009T155515Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:testje
TRANSP:OPAQUE
END:VEVENT
Look at the DTSTART of the last item. It shifted to GMT+0 zone. (I entered: 20211009T000000Z) and is also not shown in dashticz

Re: Dashticz Calendar - Features, Fixes & Updates

Posted: Tuesday 12 October 2021 8:44
by mwehrens
I solved this issue by pointing directly to the training peaks calendar. At first, Training Peaks updated my Garmin Calendar which I imported in Google. This google calendar was than accessed by dashticz. I cut out all the 'middleman', and everything goes smoothly..