What I would really like is a tiddler that lists the book title (currently put against Source:) and below each book title the tiddlers (as clickable links) related to it.
<$list filter="[tag[book]]">
Source: <$view field=title/><br>
<$list filter="[tag<currentTiddler>]">
<$link/><br>
</$list>
</$list>
<:-)
On Saturday, April 11, 2020 at 5:06:55 PM UTC+2, Peter Buyze wrote:
I have a basic template with in the text area:Author:Source:Remarks:Above Author there is a horizontal line, above which I add info. Each time I want to create a new tiddler I clone this empty one.When the info I add is from a book I add the tag book to the tiddler. I also have a tiddler called Book which lists all the tiddlers (their titles as clickable links) with the tag book.
What I would really like is a tiddler that lists the book title (currently put against Source:) and below each book title the tiddlers (as clickable links) related to it.
How can I achieve that?--Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:
--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 tiddlywiki+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7ea52652-fb7f-40d9-b556-307b208847fe%40googlegroups.com.
Title 1Tiddler ATiddler BTitle 2Tiddler CTitle 3Tiddler Dwhereby Title 1, 2, 3 are book titles, Tiddler A, B, C, D are clickable tiddler titles, Tiddler A, B, C, D all have 1 tag in common: book.Ideally the book titles are in alphabetical order, and the tiddler tiles below each book title too, and the book titles are collapsible.
BTW, I have modified the lay-out below the horizontal empty template tiddler as follows:
Peter Buyze wrote:Title 1Tiddler ATiddler BTitle 2Tiddler CTitle 3Tiddler Dwhereby Title 1, 2, 3 are book titles, Tiddler A, B, C, D are clickable tiddler titles, Tiddler A, B, C, D all have 1 tag in common: book.Ideally the book titles are in alphabetical order, and the tiddler tiles below each book title too, and the book titles are collapsible.
OK, so what is the commonality for 1, 2, 3? Do they share a common tag or how are they distinguishable? There is no commonality between them, they are just titles.And how can you tell that, say, TiddlerA belongs to Title1 and not to Title2? Does A perhaps have the tag Title1. Tiddler A belongs to Title 1 because on Tiddler A, in the Book: field it shows Title 1. No, Tiddler A does NOT have tag Title 1.My spontaneous thought is that it should be 1,2,3 that are tagged "book" because they are books. And A-D should be tagged with the title of the book they belong to. BTW, it is not clear what "tiddler A" refers to in reality. It would be easier to understand if you exemplified your things with actual titles of books, authors etc. Tiddlers A, B, etc. have 1 tag in common, and it is book.
BTW, I have modified the lay-out below the horizontal empty template tiddler as follows:Your tree model does not show how your "horizontal empty template" fits in.<:-)
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a616647f-c8e3-4dfb-af06-74b34943fd46%40googlegroups.com.
OK, so what is the commonality for 1, 2, 3? Do they share a common tag or how are they distinguishable? There is no commonality between them, they are just titles.
And how can you tell that, say, TiddlerA belongs to Title1 and not to Title2? Does A perhaps have the tag Title1. Tiddler A belongs to Title 1 because on Tiddler A, in the Book: field it shows Title 1. No, Tiddler A does NOT have tag Title 1.
My spontaneous thought is that it should be 1,2,3 that are tagged "book" because they are books. And A-D should be tagged with the title of the book they belong to. BTW, it is not clear what "tiddler A" refers to in reality. It would be easier to understand if you exemplified your things with actual titles of books, authors etc. Tiddlers A, B, etc. have 1 tag in common, and it is book.
Example:in text area:The mark of the immature man is that he wants to die nobly for a cause, while the mark of a mature man is that he wants to live humbly for one.below the horizontal line:Author: Wilhelm StekelSource:Book: Catcher in the Rye, p.?Remarks: Stekel is quotedtags of this tiddler: book, life, maturity.
<$list filter="[[Title 1]] [[Title 2]] [[Title 3]] ........"><$list filter="[book<currentTiddler>]">1:<$link to={{!!book}}></$link><br>2:<$link/><br></$list></$list>I support mats suggestions but I read that you are not using fields just text entry. Use tags or actual fields to organise your information and all tiddlywikis features become yours to use.
What you ask is possible as is almost anything, but unadvisable.
Once you move these to fields you can then create a tiddler as a view template that contains how to view such a tiddler. Wrap it in a conditional list to show only on books or using tags.
Fieldname: {{!!fieldname}}
We can give further guidance it you ask.
Regards
Tony
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0721ee46-990c-4ae4-9a0a-1eeb9da9ae16%40googlegroups.com.
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2b1eeaf3-6018-4b53-a19b-6f81ad40fd7d%40googlegroups.com.
Yes, you can type in a new fieldname and add it. Field names have naming rules but single or hyphenated words are fine.
Perhaps you can decide if a tiddler has the author field then its a book and leave the tags for your relationships.
I can share a bundle of example tiddlers if you want a quick answer but you will learn more on your own.
Regards
Tony
Personaly I use a field called object-type for my tiddlers and would give it a value of book or author rather than tags leaving them free for more ad hoc relationships.
Regards
Tony
Peter, I made this for you http://forpeter.tiddlyspot.com/It is probably not exactly how you describe what you want but it hopefully shows a few things.<:-)
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1dbaa79b-9d6d-4a5c-af4b-099f8e32caac%40googlegroups.com.
I created a new tiddler and copy/pasted the code into the text box, but nothing is shown in the read mode.
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4d70e320-6c92-4928-afeb-b8a94797908b%40googlegroups.com.
Last question, if I may: in the top right hand corner of your BookList tiddler there is a double arrow to the right, which gives a preview of the edit mode of the tiddler. Would you mind telling me which plug-in you use for that?
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/693322bf-203d-42af-8729-895a43151334%40googlegroups.com.
Peter Buyze wrote:
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4d70e320-6c92-4928-afeb-b8a94797908b%40googlegroups.com.
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2cc03847-ae0d-4a8c-8775-0e1cade38427%40googlegroups.com.
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/10d4eca3-45d2-4552-b909-eaf510677692%40googlegroups.com.
Birthe, thanks for jumping in. I got the ViewTemplate, and am surprised to see there seems to be relevant code in there already - see screenshot.Please excuse my total ignorance, but what should I do with the ViewTemplate?--Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:
13 Apr 2020, 10:57 by strikk...@gmail.com:
You need the ViewTemplate.Author, Source, Book, Remarks are trancluded from fields in the current tiddler.Birthemandag den 13. april 2020 kl. 09.31.44 UTC+2 skrev Peter Buyze:Mat, would you be willing to tell me how that nice table on the Read mode of the tiddler is done?See screenshot.
--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 tiddl...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b00ea2e4-f075-4118-9826-cc29dac2c271%40googlegroups.com.
In the screenshot below you see a filled in tiddler. In the 2nd screenshot you see the same tiddler in Read mode with the table. But in the box at "Book" there is a link code, which refers to the tiddler with the book name as title. Ideally that should be a clickable link. How can I turn it into one? Like in Mat's example, the tiddler boxes are filled in the same way.
Mat, the Viewtemplate that I pulled up is from within my own TW file. Miraculously, it had your code, I think. How is that possible?
How can I get that link clickable next to the Book box?
Mat, would you be willing to tell me how that nice table on the Read mode of the tiddler is done?See screenshot.
<$list filter="[all[current]tag[passage]]">
<hr>
<table>
<tr><td>Author</td><td>{{!!author}}</td></tr>
<tr><td>Source</td><td>{{!!source}}</td></tr>
<tr><td>Book</td><td><$link to={{!!book}}/>, p.{{!!page}}</td></tr>
<tr><td>Remarks</td><td>{{!!remarks}}</td></tr>
</table>
</$list>
--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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/349640c7-776d-42c4-9076-880809acd942%40googlegroups.com.