Quote from: jbjones at Dec 19, 2007, 02:46 AM
Excellent. The calendar seems to be working.
I was now wondering if you had done any work to modify the blog post form to also put dates into the StarTime and EndTime TVs. I worked on it a little, but apparently you can’t just copy and paste from the Pub_Date field already on the blog publishing form.
I guess posting to a TV is a little different because I haven’t been able to figure out how to rename things to get it to work.
If you’re wanting Kalender to indicate when your blog posts were published, without manually punching in a date for StartTime, I’m afraid that’s beyond the scope and purpose of this snippet. This snippet is created for scheduling, not historical documentation.
I would imagine that someone has created a calendar specifically for the purpose you’re wanting it for. If you don’t find anything in the resource library, modifying the original Kalender script to do this should be pretty simple, because it already uses a field directly from the document properties in the database (instead of a TV which is more complicated), so changing it to do what you’re wanting would be as simple as changing the name of the field that it gets its start date value from. You’ll also need to change the name of the folder "Kalender", and change the folder path in the snippet code to reflect your name change, if you want to run my enhanced version and the original version on the same instance of MODx.