TW5 How to create TOC with no system tiddlers?

97 views
Skip to first unread message

David Gifford

unread,
Nov 29, 2014, 8:28:00 AM11/29/14
to tiddl...@googlegroups.com
Hi all,

I have three system tiddlers tagged 'Contents', because they are skeleton tiddlers for new topic here, new image here, and new note here. They are tagged that way so that the tiddlers created based on those skeletons will be tagged 'Contents' and will appear in a table of content using the toc macro. But I don't want the skeleton tiddlers themselves to appear in the toc.

I looked at the toc macro and don't see a parameter for excluding system tiddlers. There are only tag and sort parameters.The only other options involve modifying the shadow tiddler of the toc macro, which I don't want to do.
 
Is there any other way to do what I want?

Birthe C

unread,
Nov 29, 2014, 10:00:48 AM11/29/14
to tiddl...@googlegroups.com
Hi David Gifford.
I tried the same and ended up with looking into the newherebutton and the use of action-sendmessage

\define newImageHereButtonTags()
[[$(currentTiddler)$]] [[$:/Note]]
\end

\define newImageHereButton()
<$button tooltip="ny billed note her" class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-new-tiddler" title=<<dateTime "YYYY-0MM-0DD 0hh:0mm:0ss">> tags=<<newImageHereButtonTags>> text={{$:/
Template/NewImage}}/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{ $:/Image/newimg.svg }}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text="billed note"/
></span>
</$list>
</
$button>
\end
<<newImageHereButton>>


Not avoiding the use of a template tiddler, but as the tag are set by the button, there are no tag in the template and is does not show up.

I am using your notestorm with tiddlyclip plugin every day and so are a few of my friends who have never used TW before. Notes have never been faster, looking at them I am happy it is not notes on paper piling up any more.


Birthe

David Gifford

unread,
Nov 29, 2014, 10:21:27 AM11/29/14
to tiddl...@googlegroups.com
Hi Birthe,

1. Great to hear your friends are enjoying Notestorm! Actually, what I am trying to do is make Notestorm work for me in 5.1.5 the way I want it to, for me at least anyway.

Thanks, though my case was a little different, since I also needed a new button from another location to do the same thing, and not just a new here button, your answer gave me the spark I needed to find the actual answer for my case. Problem solved!

Dave

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/6gY8s5_dGAk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
David Gifford
Christian Reformed World Missions, Mexico City
Reply all
Reply to author
Forward
0 new messages