AlanBCohen
unread,Nov 26, 2009, 8:51:50 AM11/26/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
First, Happy Thanksgiving to the Americans, and belated Thanksgiving
to the Canadians.
My question is how to reference a tiddler's title within a tiddler.
For example; I have tiddlers where the title is a jobnumber/workunit.
The tiddler contains a forEachTiddler macro to list all the tiddlers
with that tag. For example, I have a workunit tiddler 'job12345',
which is also a tag used for journals. This tiddler contains a
forEachTiddler macro with a 'where tiddler.tags.contains
("job12345")'. Currently, to create a workunit tiddler, I copy an
existing workunit tiddler and edit the 'where' clause for the new tag
value. I'd like to simplify the process by using a template where the
'where' clause simply contains a reference to the tiddler.title of the
tiddler containing the macro (not the titles of the listed
tiddlers).
Another identical use in the same application is tiddlers titled by
date (yyyy-mm-dd) listing all the journals (date and timestamp titled)
for that date. currently, I create that tiddler by clicking on a date
from the calendarPlugin display and copy in a forEachTiddler macro
from the previous day and edit the 'where' clause. If I could use a
template for that, I could eliminate the edit 'where' clause step.
Thanks in advance!
Alan