Hi,

I've made an update following the suggestion by Andrew. It allows to use a 
filter when you select "List of days" (when you want to give a style to a 
list of days). Just enter the filter in the edit area (like [tag[MyTag]]), 
and press the Eval filter button. The filter is evaluated and the list of 
days is created.
Warning : 
- there is no error checking at the moment. If the filter returns an error 
it will appear in the item tiddler (navigate to it by clicking the up 
chevron button)
- make sure the filter evaluates to a list of days in the right format.

Tell me how it works ...
The new version is at the same address : 
http://simplecalendar.tiddlyspot.com/

Regards

FrD

Le lundi 15 mai 2017 08:31:38 UTC+2, FrD a écrit :
>
> Hi Andrew,
>
> For now it's not possible to use a filter expression (or a list 
> expression) as an argument to the css functions. But I agree it would be an 
> improvement.
> I'll see what I can do to process a filter before feeding the js css 
> function.
>
> Regards
>
> FrD
>
> Le lundi 15 mai 2017 08:09:03 UTC+2, Andrew a écrit :
>>
>> I just discovered TiddlyWiki today, so pardon if my question has an 
>> obvious solution.
>>
>> I've created a tiddlers titled 2017-05-15 and 2017-05-26 and tagged them 
>> Calendar so that I can list them using <$list filter="[tag[Calendar]]" />. 
>> I was hoping to be able to drop this in as my "List of days" and color the 
>> two days in the calendar, but no such luck!
>>
>> Is there a way for me to have TW process that macro before it's sucked in 
>> as a string in the $:/simplecalendar/Item json? Or could 
>> calendarCellCSSFunctions.js somehow be adjusted to allow situations like 
>> this? Or, maybe there's a trivial solution to indicating which dates have 
>> associated tiddlers that I'm not aware of -- any pointers would be 
>> appreciated!
>>
>> Thanks,
>> Andrew
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c53c7b1a-1438-4803-afb9-299023573286%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to