I solved it with <<tabs

thank for your solutions

TW Tones schrieb am Samstag, 15. August 2020 um 16:33:31 UTC+2:

> Gerald,
>
> As you suggest, you wish the second level to be sorted differently to the 
> first, we must also ask what about the third and forth levels?
>
> I do not recall the standard toc macros being designed to handle this. I 
> have posted a number of occasions on recursive macros which a toc macro is. 
> I have also give examples of level type macros that treat each level 
> differently (a few levels only). For example you could call a macro that 
> sorts in one order and for each of the items below call another that sorts 
> in another order, but then perhaps always, sort levels further below that, 
> in one particular way.
>
> I your example you only need to have one list inside another list, and 
> each can have a different sort order. However unlike the TOC macro it will 
> not drill down into deeper and deeper levels.
>
> One though I had it to make an advanced macro that looks to see if there 
> is a sort filter (field) on each tiddler, and sort the children by that if 
> it exists, otherwise use the default sort. In  which case you would need to 
> set this alternative sort order on all tiddlers at the level you want the 
> different sort.
>
> However you could have your top and second level list's nested, then for 
> the children use the TOC macro to go the rest of the way down.
>
> I can give more details to morrow, but see if this helps you understand 
> the issues.
>
> Regards
> Tones
>
>
>
>
> On Friday, August 14, 2020 at 7:25:52 PM UTC+10, Gerald Weis wrote:
>>
>>
>> Hallo the spezialists
>>
>> i have an problem with sorting the sidebar. i want to sort defferents 
>> level in different modes.
>>
>> i admin my cars with tidlywiki.
>>
>> the cyarname should be sorted in the create field down
>> the carthings in the caption field up
>>
>> example:
>>
>>
>>    - Auto2
>>       - Benzin
>>       - Fahrzeugpflege
>>       - Inspektion und TÜV
>>       - Räder: Reifen und Felgen
>>       - Reparaturen
>>       - Scheibenwischer
>>       - Versicherung 
>>       - Zulassung
>>       - Auto1
>>       - Benzin
>>       - Fahrzeugpflege
>>       - Inspektion und TÜV
>>       - Räder: Reifen und Felgen
>>       - Reparaturen
>>       - Scheibenwischer
>>       - Versicherung 
>>       - Zulassung
>>    - Hilfe
>>    
>> the sorting works in a tiddler but not in the the sidebar.
>>
>> i do it so
>>
>> in tiddler Content
>> <div class="tc-table-of-contents">
>> <<toc-selective-expandable "Inhalt"!sort[created]>>
>> </div>
>>
>> in tiddler Auto1 and Auto2
>>
>> <div class="tc-table-of-contents">
>> <<toc-selective-expandable "Auto1"!sort[caption]>>
>> </div>
>>
>> <div class="tc-table-of-contents">
>> <<toc-selective-expandable "Auto2"!sort[caption]>>
>> </div>
>>
>> what can i do that the sorting works in the sidebar.
>>
>> thanks for help
>>
>>
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fabbe7ba-b89c-4ade-9f0b-ac827f5f456en%40googlegroups.com.

Reply via email to