Template Option for Event Calendar?
Sorry, rookie mistake. Looks like I can do this by specifying |?Title=title (all my Event: namespace pages have a Title property). While this very much gives the desired output, I'd still like to modify the display color depending on the condition of another property (Property:Complete). This can be done with the calendar format and a template, but not sure if it's possible here. Maybe with a compound query, but that's probably a ways off.
Well, I'm posting in the wrong place (I should be at the extension talk page, not the help page).
Now that I think I understand the docs, just about everything I wanted to do is totally possible. Setting the color can be accomplished by setting the event article with a text type property that contains a color, and specifying that with |?Pages color property=color in the call. Pretty cool. It's not perfect because the color is also dependent on the current date (which is why a template option would help). I'll have to find a way to refresh a certain set of pages via routine with SMW_refreshdata.
Weird that there's talk about the eventcalendar format using subobjects... I don't seem to see how they're needed in the semanticInternalObjects sense.
> I don't seem to see how they're needed in the semanticInternalObjects sense.
Not sure what you mean by the above statement but using a subobject allows for each event the be represented as an individual entity within the same page source which enables to separate source from data.
SemanticInternalObjects has nothing to do with the EventCalendar.
> Template Option for Event Calendar?
It is not supported but of course if you want to add such feature the community would welcome such effort.
Ahhhh. I get it. I didn't realize the difference between using #subobject (now in the SMW core) and the internal objects extension. I thought they were totally different (well, I guess the used to be). Also didn't understand it was referring to multiple events set on the same page... I should have gotten that from the example.
Will see how good I get at this php business. I'm still awestruck with how you guys managed to work in the objects stuff without (from what I've seen) doing anything crazy to the content stored in articles, but having it all query just the same. Clever!