Page 8 of 48

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 06 June 2017 22:36
by krizzz
robgeerts wrote:
krizzz wrote: var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'XXXXxx', housenumber:'3X }
You are missing a ' ??
(After 3X)
Sorry for my shitty copy and paste skills. The ' is there. I just replaced the ' with an X accidently.

I just updated to the last beta, and still the same error....


Verzonden vanaf mijn iPhone met Tapatalk

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 06 June 2017 22:39
by robgeerts
Could you send me your zipcode and housenumber via pm so i can test with it?

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 06 June 2017 22:42
by robgeerts
Swifty wrote:@robgeerts

Any thoughts on the lack of localisation for pickup day text?

I had a look at some of the code to try and understand - it looks like today and tomorrow are localised, but anything else is hardcoded to NL ? (Trash.js line 335)
Could you try latest version?
Make sure you have the following line in config.js:

Code: Select all

var _ICALENDAR_LOCALE = 'de';
(change de to fr, en, pl or something else ;)

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 07 June 2017 1:09
by Swifty
robgeerts wrote:
Swifty wrote:@robgeerts

Any thoughts on the lack of localisation for pickup day text?

I had a look at some of the code to try and understand - it looks like today and tomorrow are localised, but anything else is hardcoded to NL ? (Trash.js line 335)
Could you try latest version?
Make sure you have the following line in config.js:

Code: Select all

var _ICALENDAR_LOCALE = 'de';
(change de to fr, en, pl or something else ;)
Awesome, many thanks.

Just tested out and working brilliantly :D

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 07 June 2017 21:48
by Eddiever
Hi Rob, great work!

And can you add Hoogeveen?
http://www.areareiniging.nl/home/bewone ... -digitaal/
(really don't know how to see if it uses JSON)

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 07 June 2017 21:54
by Derik
How can i adjust the text to the right for only this block:
ScreenShot011.jpg
ScreenShot011.jpg (99.27 KiB) Viewed 2220 times

And my Klliko is not changing and i use:

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= true;

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= false;
Make no different s...

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 07 June 2017 23:16
by jake
robgeerts wrote:
jake wrote:I updated to the latest beta and I lost the custom names and colors of the garbage types. Also the different font sizes is gone. Settings are still there in config.js and custom.css
Try latest beta version...
Fixed. Thanks again!

Re: Dashticz - Module - Garbage collector

Posted: Thursday 08 June 2017 8:52
by htilburgs
Derik wrote:How can i adjust the text to the right for only this block:
ScreenShot011.jpg


And my Klliko is not changing and i use:

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= true;

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= false;
Make no different s...
Try to add this to your custom.css (modify 15px to your needs):

Code: Select all

.trash .state div.trashrow {
     margin-left: 15px;
}

Re: Dashticz - Module - Garbage collector

Posted: Thursday 08 June 2017 9:36
by Derik
@ htilburgs

Thanks this wil do the trick!! :D

Now the changing colors of the KLIKO left... :oops:

Re: Dashticz - Module - Garbage collector

Posted: Thursday 08 June 2017 17:50
by Yustmenl
Do you have the option to add
http://www.afvalstoffendienst.nl/bewone ... togenbosch ?
thanks!!

Re: Dashticz - Module - Garbage collector

Posted: Thursday 08 June 2017 22:35
by robgeerts
I dont think it has a JSON-source, but do you have an example zipcode?

Re: Dashticz - Module - Garbage collector

Posted: Thursday 08 June 2017 23:37
by krizzz
f.y.i

Rob solved my "LowerCase" error. It had nothing to do with dashticz but only my inferior programming skills :) Thanks Rob!

Re: Dashticz - Module - Garbage collector

Posted: Friday 09 June 2017 9:19
by Yustmenl
robgeerts wrote:I dont think it has a JSON-source, but do you have an example zipcode?
if i go to http://www.afvalstoffendienst.nl/afvalkalender and use 5236sg 160 i get the information.
hopefully that is of some use to you.

Edit: i send the question to the website, hopefully they can give us some good information.

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 13 June 2017 17:55
by Swifty
Is ical trash broken in the current beta? - I am not able to get my calendar to load, it just says 'loading...' permanently.
I added the same ical url as a 'calendar' item` and it loads fine.

Is there somewhere I can view any log or anything relating to this? - I even converted my ical to json and saved it locally, then edited the js to point locally at my own apache server, but still no luck.

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 13 June 2017 20:56
by Derik
perhaps ctrl and F5

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 13 June 2017 20:58
by robgeerts
I've only changed calendar function in last beta... could you send me your trash url via pm?

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 13 June 2017 22:02
by Swifty
@derik, unfortunately a forced refresh doesn't help :(

@robgeerts - I've sent you a PM with my current ical url.

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 14 June 2017 10:08
by robgeerts
I did not receive a PM yesterday but the link you've sent to me a while ago gives me an error.
You can check if it is valid to call this url:

http://ical-to-json.herokuapp.com/conve ... R_ICAL_URL

Example:
http://ical-to-json.herokuapp.com/conve ... /basic.ics

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 14 June 2017 12:02
by Swifty
@robgeerts - Sorry, not sure what happened to my PM yesterday! - I have resent.

Makes sense that the old URL I sent doesn't work, as I regenerated the ical links in Google Calendar when troubleshooting this issue.
New link works fine on ical-to-json though (worked ok when i tried yesterday, but that URL is blocked at the moment as i'm at work) :)

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 14 June 2017 16:12
by raymond
robgeerts wrote:
htilburgs wrote:Currently my Trashcan plugin won't load, it's only saying "Loading......"
Has anybody else this problem right now?
Please send me the piece of code of the trashcan in config.js..
Have the very same problem all of a sudden. It says Loading...

Did this get resolved in the end? And how can I try to fix?

Ray