Hey, thank you so much for your explanation. I hadn't heard of the set widget before, very useful.
Have a great day On Friday, 10 July 2020 22:11:36 UTC+1, si wrote: > > Hi Jay. > > 1) Your problem here is that by default the list widget stores the title > of each tiddler that it lists in the <<currentTiddler>> variable. One > solution is to use the set <https://tiddlywiki.com/#SetWidget> widget to > set a new variable to the title of the /m/performance tiddler *before* > invoking the list widget, like this: > > <$set name="performance" value=<<currentTiddler>> > > <$list filter="[tag[/m/song]]"> > <$checkbox tag=<<performance>> /> <$link to={{!!title}}><$view > field="title"/></$link><br> > </$list> > </$set> > > 2) Here you can use the list-tagged-draggable > <https://tiddlywiki.com/#list-tagged-draggable%20Macro> macro: > > <<list-tagged-draggable tag:"the title of the performance tiddler">> > > If you want to use a variable for the value of the tag (for example > <<currentTiddler>>), you will need to use the Macro Call > <https://tiddlywiki.com/#MacroCallWidget> widget: > > <$macrocall $name="list-tagged-draggable" tag=<<currentTiddler>> /> > > > Hopefully that helps! > > > On Friday, 10 July 2020 10:23:01 UTC+1, jay wrote: > >> Hey >> >> So I'm a musician, I've been using tiddlywiki to keep a record of my >> performances, setlists, practice etc. >> >> Each week I prepare and perform a 30 minute gig. >> >> I have tiddlers for each performance, tagged /m/performance, and tiddlers >> for each song are tagged /m/song >> >> I use the /m/performance tiddler to help me prepare for gigs and as a log >> of songs what I've performed. The naming convention for the title of these >> tiddlers is the date of the show followed by the venue. >> >> There are 2 things i want to do with lists that I can't figure out. >> >> 1) When assembling the setlist for a performance I can generate a list of >> all the songs in my repotoire on the /m/performance tiddler. I want a >> checkbox next to each link tha,t if selected, will tag the song with the >> title of the performance tiddler (or link it with the performance tiddler >> in some other way). This is the code I'm currently using in the template >> for my /m/performance tiddlers but if I check the box the song is tagged >> with its own title (name of the song), not the title of the performance >> tiddler. >> >> <$list filter="[tag[/m/song]]"> >> <$checkbox tag=<<currentTiddler>> /> <$link to={{!!title}}><$view >> field="title"/></$link><br> >> </$list> >> >> 2) I will next create a list of all songs tagged with the performance. >> These will be the pieces that I work on during the week. Thats fine I can >> do that. But I'd also like to be able to drag and drop / rearrange this >> list in view mode, as it becomes the final setlist for the gig. I'd also >> like to be able to preserve that order. Not sure how to make any of this >> happen? >> >> I hope this makes sense, any thoughts on any of these problems would be >> helpful. >> >> >> -- 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/789b9eb3-9e81-4149-8d7f-6d1758c2b73bo%40googlegroups.com.

