Hi all,
I'm trying to do a few things which I can get to mostly work the way I want up until I try to create a template for it all. I've created project tiddlers to which I add the following code:
!!Next
<<toc-selective-expandable 'WA#####' tag[#1.Next] sort[title]>>
Every time I paste that over from Notepad++, I have to do a find/replace for the "WA####" bit which is just the name of the project tiddler.
While I was creating Contact tiddlers, I learned about <currentTiddler> and utilized it in a list:
<<list-links "[tag[^1.Project]tag<currentTiddler>tag[##!.Active]!title[TagCloud]]">>
For a while now I've been trying to create a template for the project tiddlers that would automatically display everything the way I want, but I can't seem to get it to recognize the target tiddler. This is the whole block of code I'm working with:
<hr>
!Actions
<$button class="tc-btn-invisible" popup=<<qualify "$:/temp/popup2">> style='border-radius: 12px; width:100%; border: 2px solid #d1e0e0; background-color: #d1e0e0; color: #003300;'>
»/«
</$button>
<$reveal type="nomatch" state=<<qualify "$:/temp/popup2">> text="">
<div class="tc-table-of-contents">
!!Next
<<toc-selective-expandable <currentTiddler> tag[#1.Next] sort[title]>>
!!Waiting
<<toc-selective-expandable <currentTiddler> tag[#2.Waiting] sort[title]>>
!!Future
<<toc-selective-expandable <currentTiddler> tag[#3.Future] sort[title]>>
!!Done
<<toc-selective-expandable <currentTiddler> tag[#4.Done] sort[title]>>
</div>
</$reveal>
and I've done just about every variation I can think of: with the word "tag" before <currentTiddler>, putting apostrophes around <currentTiddler> (with and without the angle brackets), no apostrophes (with and without angle brackets), using square brackets with/without "tag", and even "{{!!title}}.
At some point, I want to figure out how to sticky reveal the sections so that I can open the expandable lists without it closing and having to be reopened. That's why I don't just want to use the list-links, which does work. Am I missing something or is it just not possible in toc? Or is something else mucking it up?
TIA,
ama