The following is a success! I also have the archives of the preceding
failures if anyone wants to see them.

Good work Eric!!

The following in TiddlyWiki syntax...

Cheers, Andy

!Objective
I want TDWiki to open today's journal without manually setting the //
Current Date// in the [[DefaultTiddlers]] tiddler.
!Exploration
I tried a number of variations on the instructions in
http://tiddlywiki.org/wiki/Automatically_open_today%27s_journal_tiddler_on_startup:
Basically, I could get it to modify DefaultTiddlers, but not with the
requisite brackets to bring up the current journal.
!Solution
But finally, with changing this and that and escaping the brackets I
ended up with the following instructions for [[DefaultTiddlersTweak]]:
* Create a tiddler called [[DefaultTiddlersTweak]]
* Enter the single line
{{{
     config.shadowTiddlers.DefaultTiddlers=new Date().formatString("\[\
["+"0DD MMM YYYY"+"\]\]");
}}}
Note that in addition to the source instructions the key is to
"escape" the bracket characters and use the plus sign (not the
ampersand) for concatenation.
* DO add the {{{systemConfig}}} tag
* Refresh
''THEN''
*TDWiki creates a new [[DefaultTiddlers]] containing {{{[[}}}//the
current date//{{{]]}}} and opens that journal.
Now all we need to do (!) is figure out how to add additional
DefaultTiddler pages. I shall post this to Eric, since he may have
further insights but wait a while to post it to blog.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to