While perusing the helpful http://twhelp.tiddlyspot.com I came across
the following piece of Saq's code:

<<forEachTiddler where 'tiddler.title.toLowerCase().startsWith("a")'
sortBy '(tiddler.title.toLowerCase())' ascending write '"|"+(index
+1)+"|[["+tiddler.title+"]] |@@color:#c06;&raquo; &raquo;@@
|"+tiddler.tags+"|\n"'>>

The above codes is just for letter A, but if you
remove .startsWith("a"), it displays all tiddlers.

I tested it and it sorts the tiddlers alphabetically, like I wanted
(A, b, C...), regardless of case, but I'm not sure how to add it to
the code, so that it would always sort that way. Also, I'm not sure
how to limit the display to only tiddlers tagged with a specific tag.

w


On Feb 19, 9:25 pm, PMario <[email protected]> wrote:
> Hi,
> I am on the way, but not finished. I extended the core list macro with
> 2 new commands. <<list noCase>> and <<list numberedText>>. But now
> writing the documentation, heavy brainstorming started ....
>
> regards Mario
>
> On Feb 19, 6:13 pm, whatever <[email protected]> wrote:
>
> > Hey!
> > I tried, but it doesn't work. What it does, however, is mess with the
> > timeline, which is then sorted from the oldest instead of the last
> > tiddler. This same behavior is also visible on your example page,
> > because without the plugin active, the tiddlers are listed like this:
> >     * 19 February 2010
> >     * HiJack_Alphabetization
>
> >     * 10 February 2010
> >     * Explanation
> >     * SiteSubtitle
> >     * SiteTitle
> >     * Thuringia
> >     * Zenda
> >     * dragon
> >     * manticore
> >     * vampire
> >     * Albion
> >     * Cimmeria
> >     * werewolf
> >     * DefaultTiddlers
>
> > But with the plugin active, they're listed like this:
> >     * 10 February 2010
> >     * Explanation
> >     * SiteSubtitle
> >     * SiteTitle
> >     * vampire
> >     * manticore
> >     * dragon
> >     * Zenda
> >     * Thuringia
> >     * werewolf
> >     * Cimmeria
> >     * Albion
> >     * DefaultTiddlers
>
> >     * 19 February 2010
> >     * HiJack_Alphabetization
>
> > w
>
> > On Feb 19, 4:06 pm, Mike <[email protected]> wrote:
>
> > > for the alphabetical sorting 
> > > see:http://groups.google.com/group/tiddlywiki/browse_thread/thread/6c09be...
>
> > > Demonstration 
> > > here:http://www.strm.us/tw/examples_twgg/hijack_alphabetization
>
> > > Mike
> > > P.S. The code is not mine, just packaged as a systemConfig / hijack
> > > and tested.
>
> > > On Feb 18, 2:52 am, whatever <[email protected]> wrote:
>
> > > > Then there's also the alphabetical sorting, which puts lower cases
> > > > after all the upper cases, for example:
> > > > Henry
> > > > James
> > > > door
> > > > house
>
> > > > instead of:
> > > > door
> > > > Henry
> > > > house
> > > > James
>
> > > > w
>
> > > > On Feb 17, 9:30 pm, Alex Hough <[email protected]> wrote:
>
> > > > > Cool idea
>
> > > > > > Was to add a sort field to each and give it a suitable value eg;
> > > > > > Gold 10
> > > > > > Silver 20
> > > > > > Bronze 30
> > > > > > Blue 40
> > > > > > Green 50
>
> > > > > > I'd not thought of using a custom field for indexing myself.
>
> > > > > thanks
> > > > > Alex
>
> > > > > > I used tens to allow future insertions. I then used FET with a sort 
> > > > > > on the
> > > > > > field rather than the title to put the list in correct order. This 
> > > > > > also
> > > > > > allows you to choose when you display the chapter numbers in lists 
> > > > > > etc...
> > > > > > and your links (within one chapter) to another chapter by text name 
> > > > > > only
> > > > > > means it remains valid regardless of the order in which you place 
> > > > > > them.
>
> > > > > > I really like the tiddlerlistmacro myself and use it allot, perhaps 
> > > > > > the
> > > > > > order in the above solution can be specified as "sortfield" or you 
> > > > > > could use
> > > > > > the evaluated field somehow.
>
> > > > > > Although this method is a little more to setup and maintain it may 
> > > > > > avert
> > > > > > the problem of you inserting a new chapter at the beginning because 
> > > > > > you will
> > > > > > not need to rename every subsequent chapter.
>
> > > > > > Hope this gives you something to work with.
>
> > > > > > Tony
>
> > > > > > TonyM
>
> > > > > > If you have not found an easy way to do it with TiddlyWiki, you 
> > > > > > have missed
> > > > > > something.
> > > > > >www.tiddlywiki.com
>
> > > > > > On Wed, Feb 17, 2010 at 08:59, whatever <[email protected]> 
> > > > > > wrote:
>
> > > > > >> Yeah, I checked that, but it didn't work.
> > > > > >> w
>
> > > > > >> On Feb 16, 10:31 pm, PMario <[email protected]> wrote:
> > > > > >> > Hi
> > > > > >> > It was this:
> > > > > >>http://groups.google.com/group/tiddlywiki/msg/ab3e21c675885ed2?hl=en
> > > > > >> > article that I remembered. But it talks about numberd fields. I 
> > > > > >> > am
> > > > > >> > sorry, but I have no other idea at the moment q:(
> > > > > >> > -m
>
> > > > > >> > On Feb 16, 8:14 pm, whatever <[email protected]> wrote:
>
> > > > > >> > > I looked, but I couldn't find anything.
> > > > > >> > > w
>
> > > > > >> > > On Feb 16, 1:17 am, PMario <[email protected]> wrote:
>
> > > > > >> > > > hi,
> > > > > >> > > > I think I have read somewhere at tiddlytools.com that eric 
> > > > > >> > > > sorts
> > > > > >> > > > "numbered" text in the right order. But I can't remember the 
> > > > > >> > > > name of
> > > > > >> > > > the plugin.
>
> > > > > >> > > > -m
>
> > > > > >> > > > On Feb 15, 11:43 am, whatever <[email protected]> wrote:
>
> > > > > >> > > > > In one of my wikis I'm using the TiddlerListMacro (http://
> > > > > >> > > > > jackparke.googlepages.com/jtw.html#TiddlerListMacro) to 
> > > > > >> > > > > display
> > > > > >> the
> > > > > >> > > > > titles of the content tiddlers. The problem is, the content
> > > > > >> tiddlers
> > > > > >> > > > > are named with consecutive chapter numbers like this:
> > > > > >> > > > > 1. First
> > > > > >> > > > > 1.1 First First
> > > > > >> > > > > 2. Second
> > > > > >> > > > > ...
> > > > > >> > > > > 10. Tenth
> > > > > >> > > > > 10.1 Tenth First
>
> > > > > >> > > > > The macro then displays the list like this:
> > > > > >> > > > > 1. First
> > > > > >> > > > > 1.1 First First
> > > > > >> > > > > 10. Tenth
> > > > > >> > > > > 10.1 Tenth First
> > > > > >> > > > > 2. Second
> > > > > >> > > > > ...
>
> > > > > >> > > > > Obviously this is not the desired ordered. Does anyone 
> > > > > >> > > > > have any
> > > > > >> idea
> > > > > >> > > > > how to change this?
>
> > > > > >> > > > > w
>
> > > > > >> --> > > > >> You received this message because you are subscribed 
> > > > > >> to the Google Groups> > >> "TiddlyWiki" group.>> To post to this 
> > > > > >> group, [email protected].> > >> To 
> > > > > >> unsubscribe from this group, send email 
> > > > > >> to>>[email protected]<tiddlywiki%[email protected]>
> > > > > >> .
> > > > > >> For more options, visit this group at
> > > > > >>http://groups.google.com/group/tiddlywiki?hl=en.
>
> > > > > >  --> > > > > You received this message because you are subscribed 
> > > > > > to the Google Groups> > > "TiddlyWiki" group.> To post to this 
> > > > > > group, [email protected].> > > To unsubscribe 
> > > > > > from this group, send email 
> > > > > > to>[email protected]<tiddlywiki%[email protected]>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/tiddlywiki?hl=en.
>
> > > > > --http://www.multiurl.com/g/64

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to