yes. keep at it!
any suggestions ??
I guess it did. I tested on tiddlywiki.com. Under featured, scalability shows up as the first child.
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/82e8ff5a-cf7f-43ab-8d04-e954b3cca12f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<div class="tc-table-of-contents">
<<toc "Contents" "sort[title]sort{!!fuzzy2}">>
</div>
with a value of "created". I then modified the value of the created field SecondThreeThree, moving it a 1000 years into the past. It still floats in the middle, suggesting that it is being sorted by title.
I guess it did. I tested on tiddlywiki.com. Under featured, scalability shows up as the first child.
On 07-Dec-2016 11:44 PM, "'Mark S.' via TiddlyWiki" <tiddl...@googlegroups.com> wrote:
Hi Riz,--
When I test this, it seems to always sort by title. Did it work on yours?
Have fun,
Mark
On Wednesday, December 7, 2016 at 9:32:14 AM UTC-8, Riz wrote:
Instead of sort[title]sort[fuzzy] if we use sort[title]sort{!!fuzzy} we can set the alternative criteria in the branch that requires it.
eg:
<<toc-selective-expandable TableOfContents sort[title]sort{!!fuzzy}>> will create a normal TOC sorted by title
Now in a tiddler, say features, we create a field named fuzzy and add the value as "created", children of Features will be sorted in the order of creation date.
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 tiddlywiki+...@googlegroups.com.
And then added a fuzzy2 field to
This is because of the limitation I mentioned in the previous comment I guess. Because it is not considering sort by title at all
.
sort[title]sort[fuzzy] if we use sort[title]sort{!!fuzzy}
Maybe that could be implementet in the core PMario??? sould that be a github request?
On Friday, December 9, 2016 at 9:12:39 AM UTC+1, HC Haase wrote:Maybe that could be implementet in the core PMario??? sould that be a github request?
I did already experiment with a mechanism that reads a field from "branch tags" ... but I stopped as Riz has come up with his idea, since it's elegant.
I'm still in favor of the idea, to "merge" different TOCs into one tree, where every TOC also can live on its own. IMO thats necessary, to avoid duplications. And I think it will make the code simpler.
Probably asking a silly question but as I would really like to test your macro (on a copy of my project :) ) : How do I import it?
A tiddler called TableOfContents that has the following:
tags: $:/tages/SideBar
<div class="tc-table-of-contents">
<<toc-selective-expandable 'TableOfContents' >>
</div>
field :
I then tagged accordingly the relevant tidders. Since I want to reorder the Journal tiddler I did the following
tag: TableOfContents
<ol >
<<toc "Journal" sort:"!sort[created]">>
</ol>
it also has a field merge with Journal as value.
The result in the tiddler itself is a correct list of all my tiddlers tagged witrh Journal are listed in reverse order of creation....
But there is something strange. in the side bar some of the item under Journal are repeated (see the picture and sorry for the crude black out!)
Is that a problem or am I doing something wrong?
- a .. tagged: root
- aa .. tagged: a
- bb .. tagged: a field:toc-include:toc-2
- bbb .. tagged bb .. Will not be shown!! toc-include stops the default behaviour <--- I knew, there was a reason, why I wrote this
- x .. tagged: root
yes it had got rid of the duplicated entries.