Task for today on journal tiddler

53 views
Skip to first unread message

David Beijinho

unread,
Aug 16, 2021, 7:40:47 AM8/16/21
to TiddlyWiki
Hi everyone,
I'm trying to create a template to show all the tasks for today, I use the journal title as YYYY-0MM-0DD
and i would like to filter something like this [sameday:schedule[<currentTiddler>search-replace:g[-],[]]]
if I hardcode the title it works [sameday:schedule[20210816]]

TW Tones

unread,
Aug 16, 2021, 8:05:28 AM8/16/21
to TiddlyWiki
Dasvidb

Without giving and testing a solution try a minor edit

schedule[<currentTiddler>

should read;
schedule<currentTiddler>
Which possibly means
g[-],[]]]

should read
g[-],[]]


Regards
Tones

David Beijinho

unread,
Aug 16, 2021, 9:01:20 AM8/16/21
to TiddlyWiki
I believe that the problem is with the replacement part

I'm trying to use the same example as the documentation
https://tiddlywiki.com/#search-replace%20Operator%20(Examples)

<$wikify name="result" text="{{{ [[The quick brown fox jumps over the lazy dog]search-replace[dog],[cat]] }}}" >
 <$text text=<<result>> />
</$wikify>

but it's not working, I'm missing something with the search-replace
Message has been deleted

PMario

unread,
Aug 16, 2021, 9:22:23 AM8/16/21
to TiddlyWiki
Hi,
I deleted my first post, since I didn't read your post good enough.

Try this:

<$set name=expression filter="[<currentTiddler>search-replace:g[-],[]]">
<ul>
<$list filter="[sameday:scedule<expression>]"><li><$link/></li> </$list>
</ul>
</$set>

-mario

PMario

unread,
Aug 16, 2021, 9:25:16 AM8/16/21
to TiddlyWiki
"scedule" needs to be schedule

Not being able to edit really sucks.
-m

David Beijinho

unread,
Aug 16, 2021, 10:33:04 AM8/16/21
to TiddlyWiki
thanks, i also notice that i was using version 5.1.22 after updating to 5.1.23 its working
Reply all
Reply to author
Forward
0 new messages