Sorting order under treeview entries

20 views
Skip to first unread message

Shankar

unread,
Nov 23, 2009, 9:32:47 AM11/23/09
to TiddlyWiki
I have an entry for the parent topic as: "Daily Logs". Under that, I
have tiddlers titled "2006-12-11", "2006-12-15", "2006-12-18" ...

Now the tiddlers appear in the treeview list in that order. But I
would like to reverse that - so that the latest one appears at the top
etc.

Is there a way of doing that? It would be neat, if this order is
customizable to entries under "Daily Logs" only.

Thanks.

Cheers; 'best,

shankar swamy

Måns

unread,
Nov 23, 2009, 10:24:52 AM11/23/09
to TiddlyWiki
Hi Shankar
I'm afraid not - at least I haven't found a way to do that - :
http://twt-treeview.tiddlyspot.com/#MenuOptions
I might use NestedSlidersPlugin and list macro - like this:
+++[Daily Logs +]...
<<list filter [tag[Daily Logs]][sort[-title]]>>
===
To reverse sort order you can write [sort[+title]] instead..

Other options [sort[-modified]] [sort[-created]] - see:
http://tiddlywiki.org/wiki/Filtering

You can even have a popup like this:
@@position:relative;+++^15em^[Daily Logs »]...
<<list filter [tag[Daily Logs]][sort[+created]]>>
===@@

Regards Måns Mårtensson

Shankar

unread,
Nov 23, 2009, 1:11:27 PM11/23/09
to TiddlyWiki


On Nov 23, 7:24 am, Måns <humam...@gmail.com> wrote:
> Hi Shankar
> I'm afraid not - at least I haven't found a way to do that -
>

:-( I was afraid of that ... :-(

Thanks, Måns ...

Cheers; 'best,

shankar

Måns

unread,
Nov 23, 2009, 6:15:06 PM11/23/09
to TiddlyWiki
Hi again

It's Mark S. who developped the treeviewPlugin fo TW. You can follow
his work here:
http://treeview.tiddlyspot.com/

Maybe Mark S. has a fix for sorting with TreeViewPlugin?

Quote from http://treeview.tiddlyspot.com/#TreeviewPluginPlugin2 :
"There's a list of possible options at:
http://www.dynamicdrive.com/dynamicindex1/treeview/index.htm
However, not all settings may actually work under TW."

Regards Måns Mårtensson

Amzg

unread,
Nov 24, 2009, 10:10:56 AM11/24/09
to TiddlyWiki
Maybe it's possible to put a minus sign in front of the dates (i.e
based on the assumptino that they are sorted "in order")?
If that is not possible, maybe you could make it "21000000-'date'"?

Haven't tried it.

(BTW... your "daily logs" don't seem very daily... "2006..")

:-)

Tobias Beer

unread,
Nov 24, 2009, 10:16:21 AM11/24/09
to TiddlyWiki
How about not using treview for that kind of stuff at all? A nice
alternative may be a simple inline-script to fetch your stuff in
whatever order you like and output a list or table... or to use the
quite handy TiddlerListMacro:
http://jackparke.googlepages.com/jtw.html

If you want, you can even put such a list into a standard slider in
you mainmenu.

Tobias.

Shankar

unread,
Nov 24, 2009, 10:45:37 AM11/24/09
to TiddlyWiki


On Nov 24, 7:10 am, Amzg <matiasg...@gmail.com> wrote:
> Maybe it's possible to put a minus sign in front of the dates (i.e
> based on the assumptino that they are sorted "in order")?
> If that is not possible, maybe you could make it "21000000-'date'"?
>

For now I am using a similar scheme since I started using the treeview
based system, which I migrated to recently. But it is a mildly
irritating to be doing so.

>
> (BTW... your "daily logs" don't seem very daily... "2006..")
>

Now that it caught your attention - the Daily Logs is for items that
don't fit into other six files (tiddlywiki's) that I maintain on my
USB drive. And, this one has a total of 989 entries since November
12/2006 when I first started using tiddlywiki!

I ran into Tiddlywiki when I started searching for an alternative to a
note taking software I had written in 1999 in Java, and used extensive
XML/XSLT transformations. When I ran into a bug and did not have time
or the motivation to go back and fix it, I did a google search for
alternatives, and tiddlywiki appreared after a few minutes of search.
I was stunned when I seamlessly could port all my notes of years into
it within about two/three hours!

Today, my 8 GB USB drive that I carry all the time with me, has all
the notes I have made for years! Whether I am at home, at work at an
airport, I have access to all of it. Amazing.

Cheers; 'best,

shankar swamy
Reply all
Reply to author
Forward
0 new messages