I’ve got a calendar I’m building which outputs a set of records in the JSON format.
http://test.richtestani.com/seminars
First, I can’t seem to get the extender dateFilter to work - or I cannot tell if it is working.
var calendar = [[Ditto?startID=`2`&format=`json`&extenders=`dateFilter`&dateSource=`Event_Date`&sortBy=`Event_Date`&sortDir=`ASC`&month=`10`]]
I’m trying to output events only in October, but all events keep being returned. I’m not sure why.
I also realized not all the fields are being included in the entries property - so I thought maybe I need to setup a template - so I did, but the values get placed right before the first bracket:
"entries":[
SeminarAnother Seminar {
"title":"My Event",
"link":"http://test.richtestani.com/12",
"date":"1223834629",
"guid":"http://test.richtestani.com/12",
"author":"Default admin account",
"description":"",
"introtext":"",
}
]
I’m kind of confused here - how should I be formatting my template? why isnt it apart of each entry?
Hope someone can help here.
Rich