Craig from Calgary said this (you must have clicked "reply to author"
instead of "reply"):


Dave,

> in it, the "showReminders" macro will not pick it up until I open the
> tiddler to edit, but then it picks it up after I close the edit
> tiddler.

The beauty of external tiddlers is that they do not load until needed,
i.e. your TiddlyWiki is smaller and loads faster. The downside is that
your TiddlyWiki will not know anything about the contents of an
external tiddler until you open it. For systemConfig tiddlers this
means you can "load on demand". If you include an external tiddler in
[[DefaultTiddlers]] it will load with your TiddlyWiki.

You could use http://www.tiddlytools.com/#LoadTiddlersPlugin and
http://www.tiddlytools.com/#TemporaryTiddlersPlugin to load external
tiddlers when your TiddlyWiki is loaded and *not* save them with your
TiddlyWiki when you save it. In this reminders should work alright.

But if you really want to maintain those tiddlers through
ArchivePlugin, I think you could create a tiddler in your TiddlyWiki
that references the archived tiddler and put your reminder on it. You
will still have the extra step of loading (and executing, if
applicable) the archived tiddler but the local tiddler will handle the
reminder behavior for you.

I'm keen for a more elegant solution. Not being a fan of redundant
content, I do not like having two of something when one should
suffice. TiddlyWiki is an excellent framework for good information
architecture and design. I use it to help keep me on the best
practices "straight and narrow". YMMV.




Thanks Craig,

I tried putting the Archived tiddler and the tiddler with the
<<tiddler reminders.txt>> statement in the default tiddler and that
didn't work.  The LoadTiddlersPlugin doesn't load an individual text
file as far as I can tell.  I also tried loading the Archived tiddler
from itself (i.e. referencing the current TW) to load it that way, and
that didn't work either.

Re the suggestion about putting a reminder on another tiddler that
references the Archived tiddler, that kind of defeats the point:  The
goal is to be able to add a line like

<<reminder day:25 month:12 year:2009 title:"Christmas Day">>

to the end of a text file called reminders.txt while the TW is not
open, then have all the reminders in that file read when I go to open
the TW 3 hours later.


I'm wondering if there's a way to make an inline script that
essentially does the same thing that opening up a tiddler for editing,
and closing it again does.  That would "activate" the Archived tiddler
so that it could be ready for the reminder macro to read it.  It could
even be a script in a tiddler tagged "systemConfig" so that it would
happen on loading.


I guess the first question is:  What actually is changing in the TW
when an edited archived tiddler is closed again?  I'll try looking at
the ArchivePlugin to see if there's anything apparent.


Dave

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to