Nothing special: <div class="tocP tc-table-of-contents"> <<tocP-selective-expandable histories sortan[content-index]>> </div>
I use the sortan[content-index] just fine in the normal TOC. On Sunday, July 21, 2019 at 4:02:35 PM UTC-7, Aidan Grey wrote: > > Hmm.... What's the exact text of the call? I use tocp sorting on a custom > field in every one of my TWs with no problems.... > > On Sun, Jul 21, 2019, 4:41 PM Damon Pritchett, <[email protected] > <javascript:>> wrote: > >> Nope. Same thing. I even tried using the default parent field as the main >> parameter. It always sorts on the title or caption if present not my custom >> field no matter which sort operator I use. >> >> Damon >> >> On Sunday, July 21, 2019 at 3:32:01 PM UTC-7, Aidan Grey wrote: >>> >>> Use nsort (content-index) >>> >>> Nsort = numeric sort >>> >>> Theres also sortcs (case sensitive), and a few others. >>> >>> On Sun, Jul 21, 2019, 3:08 PM Damon Pritchett, <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> I'm trying out your tocP plugin and I like it a lot. The only trouble >>>> I'm having is in adding a sort option. I have a field entitled >>>> content-index which contains a numeric value indicating the order I would >>>> like things to appear. I tried adding sort[content-index] to the macro >>>> call, but it has no effect. It always sorts on the title (or caption if >>>> there is one). I'm using a custom field in for the TOC generation so am >>>> wondering if this is where the problem might lie. I haven't tried the >>>> default parent field yet, but that's next. >>>> >>>> Thanks, >>>> >>>> Damon >>>> >>>> >>>> On Saturday, May 6, 2017 at 11:00:02 AM UTC-7, PMario wrote: >>>>> >>>>> Hi, >>>>> >>>>> Did you add the new class name as shown below? >>>>> >>>>> <div class="tocp <----- tc-table-of-contents"> >>>>> <<tocP root>> >>>>> </div> >>>>> >>>>> It can be any name you want. ... You just need to set up some style sheet >>>>> settings with your own name. >>>>> This makes it possible, to use different colors for different field names >>>>> and have a much better visual differentiation. >>>>> >>>>> -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 view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tiddlywiki/fab8b9d8-3029-47f6-b55e-4f6b3b65b4b0%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tiddlywiki/fab8b9d8-3029-47f6-b55e-4f6b3b65b4b0%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/4d5f7d0e-6c71-4856-9586-da12b02b2fc5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/4d5f7d0e-6c71-4856-9586-da12b02b2fc5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/4951cab2-e6de-4182-9506-63d97723281f%40googlegroups.com.

