[TW5] Tiddler visible between two dates

82 views
Skip to first unread message

Philippe Renders

unread,
Jan 14, 2016, 2:37:01 PM1/14/16
to TiddlyWiki
Hi,

Is there a way I could  have a tiddler visible after a specified date and possibly disappearing after another date ?

Tobias Beer

unread,
Jan 15, 2016, 12:43:59 AM1/15/16
to TiddlyWiki
Hi Philippe,
  
Is there a way I could  have a tiddler visible after a specified date and possibly disappearing after another date ?
  1. "visible" (for a period of time)
    1. how / where?
    2. why?
  2. "disappearing" (after a period of time)
    1. how / where?
    2. why?
Best wishes,

Tobias.

Philippe Renders

unread,
Jan 15, 2016, 4:35:39 AM1/15/16
to tiddl...@googlegroups.com

Hello Tobias,

The tiddlers displayed at startup are all tagged 'News'. My idea is to have the possibility to prepare  non visible 'News' (maybe with a '$' prefix ?)  and have them published in the news even if I am not present at work.

Regards.

Philippe.

Tobias Beer

unread,
Jan 15, 2016, 4:58:18 AM1/15/16
to tiddl...@googlegroups.com
Hi Philippe,

The tiddlers displayed at startup are all tagged 'News'. My idea is to have the possibility to prepare  non visible 'News' (maybe with a '$' prefix ?)  and have them published in the news even if I am not present at work.

Ah, now this makes things much clearer.
For one, you can use filter expressions in default tiddlers.
So, what you really need is a filter expression that gives you the desired list.

I would not use any shadow tiddlers for news, unless you just have
one News tiddler that lists them without ever showing their titles
or navigating to them.

I take it, you only want to show news no older than x days:
So the new days operator appears to be your best bet.

You could simply have a News tiddler that you put in your default tiddlers,
and then use that to list all your news according to that filter,
alongside a template that also shows a specified published date,
which is not necessarily either of modified or created.

Best wishes,

Tobias.

Philippe Renders

unread,
Jan 16, 2016, 3:33:42 AM1/16/16
to TiddlyWiki
Thank you Tobias.

I didn't know the day operator and will try to use it in filters.

Regards
Reply all
Reply to author
Forward
0 new messages