HC Haase wrote:
>
>
> Here is a fancy text snippet for fields2table with some counting stuff.
>

I'll look into it, hopefully over the weekend. 


Feature request:
>  
>  * It is nice that you can change the order of the fields just by 
> rearranging the field names. It would be superb if the first column could 
> also be moved at will in this manner. My use case is my reading list. It 
> has tittlers with title:bookTitle and genre:TheGenre. I would like to have 
> the genre in the first collumn in a table of books (genre has no tiddler).
>

I can think of a few ways to do this. I mean, it is easy to do it if one 
accepts a lot more complexity to the code but one idea I have is mostly CSS 
based. At least if you don't demand links for the categories. In short, 
you'd prefix every title link with the genre by means of css (use :before 
{content:"$(category)$"} ). To avoid showing this before every single item 
but instead only when the (category sorted) list goes from one category to 
the next, you can hide all but the first element (basically 
first-of-type(:not) display:none ...I forget the exact syntax). 

Another idea would be to, in the list field, just write "genre title....". 
That gives you an extra title column (but the title is not a link.. and 
note that you must not edit the title there as it changes its identity!). 
Then, tweak the stylesheet to change the original (leftmost) title-links to 
instead appear as some small link icon to the book. 

As I said, you can do it "for real" if you accept a more complexity in the 
actual code.

<:-)

-- 
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 post to this group, send email to [email protected].
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/4d13cd4b-8c46-4d2a-8e17-a22933d8fbe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to