Hi Mario,
the purpose is to find a way to highlight tiddlers in the
"toc-navigation-tree" even if I just use the search function.
I see that a state tiddler (text: open) is created for every topic in the
toc-navigation I open.
Now I want to change the search mechanism using the linkcatcher widget so
that a state tiddler for every topic/subtopic is created.
My TOC is looking like this (reference no. / title):
01 Topic 1
-> 010 Subtopic
-> 0101 Subtopic
*Tiddler A (tagged 0101 Subtopic)*
Tiddler B (tagged 0101 Subtopic)
-> 0102 Subtopic
....
-> 011 Subtopic
....
02 Topic 2
...
If I can extract the reference no. of the tag of *Tiddler A* I will be able
to extract the reference no. of every upper topic/tag (0101 -> 010 -> 01 ->
TableofContents)
Like this I could created state tiddlers (text:open):
$:/state/toc/TableofContents-01 Topic 1--123124123
$:/state/toc/01 Topic 1-010 Subtopic--123124123
$:/state/toc/010 Subtopic-0101 Subtopic--123124123
Maybe it sounds a bit confusing, sorry about that.
I already tried to use the splitbefore filter operator but I think it won't
fit for my purposes.
Regards,
The Bo
Am Donnerstag, 24. November 2016 10:08:38 UTC+1 schrieb PMario:
>
> Hi,
>
> Can you describe, what you want to achieve instead of code that doesn't
> work.
>
> I can see some facts:
>
> - show a list of tiddler tags
> - shorten the tag names
>
> guessing:
>
> - short names should still link to tag tiddlers?
> - ???
>
>
> The "splitbefore" filter operator is no option?
> http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D
>
> <http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20%28Examples%29%5D%5D>
>
> -m
>
Am Donnerstag, 24. November 2016 10:08:38 UTC+1 schrieb PMario:
>
> Hi,
>
> Can you describe, what you want to achieve instead of code that doesn't
> work.
>
> I can see some facts:
>
> - show a list of tiddler tags
> - shorten the tag names
>
> guessing:
>
> - short names should still link to tag tiddlers?
> - ???
>
>
> The "splitbefore" filter operator is no option?
> http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D
>
> -m
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8e260071-ad86-45a9-a0db-b8cf9d965219%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.