Hello,
I saw a great example on how to add tiddler header/footer stuff based on
its tags: http://tb5.tiddlyspot.com/#Conditional%20ViewTemplate%20Section
Now I'm trying to make a template for all my tiddlers tagged with
"projects" tag that should contain list of uncompleted tasks for the
project and a button to create a new associated task.
And I'm stuck with two moments here:
1. How to reference current tiddler in a tag list for a "tasks" item to
exclude current "projects" tiddler from shown tags?
2. How to reference current tiddler in action-sendmessage to make created
"tasks" tiddler tagged with current "projects" tiddler?
<$list filter="[all[current]tag[projects]]">
<ul>
<$list
filter="[all[current]tagging[]tag[tasks]!tag[done]sort[created]]">
<li>
<$checkbox tag="done"> <$link to={{!!title}}><$view
field="title"/></$link></$checkbox>
<$list filter="[all[current]tags[]sort[title]]-[[tasks]]-*?????*"
template="ShowTagTemplate"/>
</li>
</$list>
</ul>
<$button>
<$action-sendmessage $message="tm-new-tiddler" title="New task"
tags="tasks *?????*"/>
New Task
</$button>
</$list>
I guess this is a very basic knowledge, but I can't find any tutorial on
such things.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.