Re: [tw] Re: Creating a breadcrumb list of tags
Thanks for this very helpful example, Joshua! Regards, Jim On Monday, December 9, 2013 2:49:47 AM UTC-5, Joshua wrote: Sorry, I didn't say this, but my previous post was just an explanation for Jim. On Monday, December 9, 2013 1:47:32 AM UTC-6, Joshua wrote: I have a TW5 which includes a tiddler for Class 01 and Class 02. Class 01 has a field named classdate and one named classnum. Each class has readings which are documented in tiddlers such as Readings 01 and assignments with tiddlers such as Assignments 01 or Assignments 02. Tiddler Readings 01 has field named classnum whose value is 01. Readings and assignment tiddlers always have the classnum field with a number to the appropriate class. I want to create a class schedule from a list rather than retyping everything so I created the following nested list. $list filter=[has[classdate]sort[title]] $list filter=[classnum{!!classnum}scheduleorder[2]]$transclude //$list /$list The first line's list filter finds all tiddlers that have a field named classdate and lists them in alphabetical order. The second line's list filter finds all tiddlers that have the same classnum as the current tiddler. Specifically in this case, the first line returns Class 01 as the first tiddler and the second line then determines what classnum that tiddler has and returns those tiddlers nested under Class 01. The key part is [classnum{!!classnum}]. Tiddler Class 01 has a classnum of 01 so [classnum[01]]. The following is the resultant list: Class 01 - Readings 01 - Assignments 01 Class 02 - Readings 02 - Assignments 02 My class schedule list code looks like this in its entirety: $list filter=[has[classdate]sort[title]] ''$view field=title /''br /Class Number: $view field=classnum / -- Class Date: $view field=classdate /ulli Topic: $list filter=[classnum{!!classnum}scheduleorder[1]]$transclude / /$list/lili Readings$list filter=[classnum{!!classnum}scheduleorder[2]] $transclude / /$list/lili Assignments Due$list filter=[classnum{!!classnum}scheduleorder[3]] $transclude / /$list/lili Thinking Ahead$list filter=[classnum{!!classnum}scheduleorder[4]] $transclude / /$list/li/ul /$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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
I have a TW5 which includes a tiddler for Class 01 and Class 02. Class 01 has a field named classdate and one named classnum. Each class has readings which are documented in tiddlers such as Readings 01 and assignments with tiddlers such as Assignments 01 or Assignments 02. Tiddler Readings 01 has field named classnum whose value is 01. Readings and assignment tiddlers always have the classnum field with a number to the appropriate class. I want to create a class schedule from a list rather than retyping everything so I created the following nested list. $list filter=[has[classdate]sort[title]] $list filter=[classnum{!!classnum}scheduleorder[2]]$transclude //$list /$list The first line's list filter finds all tiddlers that have a field named classdate and lists them in alphabetical order. The second line's list filter finds all tiddlers that have the same classnum as the current tiddler. Specifically in this case, the first line returns Class 01 as the first tiddler and the second line then determines what classnum that tiddler has and returns those tiddlers nested under Class 01. The key part is [classnum{!!classnum}]. Tiddler Class 01 has a classnum of 01 so [classnum[01]]. The following is the resultant list: Class 01 - Readings 01 - Assignments 01 Class 02 - Readings 02 - Assignments 02 My class schedule list code looks like this in its entirety: $list filter=[has[classdate]sort[title]] ''$view field=title /''br /Class Number: $view field=classnum / -- Class Date: $view field=classdate /ulli Topic: $list filter=[classnum{!!classnum}scheduleorder[1]]$transclude / /$list/lili Readings$list filter=[classnum{!!classnum}scheduleorder[2]] $transclude / /$list/lili Assignments Due$list filter=[classnum{!!classnum}scheduleorder[3]] $transclude / /$list/lili Thinking Ahead$list filter=[classnum{!!classnum}scheduleorder[4]] $transclude / /$list/li/ul /$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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
Sorry, I didn't say this, but my previous post was just an explanation for Jim. On Monday, December 9, 2013 1:47:32 AM UTC-6, Joshua wrote: I have a TW5 which includes a tiddler for Class 01 and Class 02. Class 01 has a field named classdate and one named classnum. Each class has readings which are documented in tiddlers such as Readings 01 and assignments with tiddlers such as Assignments 01 or Assignments 02. Tiddler Readings 01 has field named classnum whose value is 01. Readings and assignment tiddlers always have the classnum field with a number to the appropriate class. I want to create a class schedule from a list rather than retyping everything so I created the following nested list. $list filter=[has[classdate]sort[title]] $list filter=[classnum{!!classnum}scheduleorder[2]]$transclude //$list /$list The first line's list filter finds all tiddlers that have a field named classdate and lists them in alphabetical order. The second line's list filter finds all tiddlers that have the same classnum as the current tiddler. Specifically in this case, the first line returns Class 01 as the first tiddler and the second line then determines what classnum that tiddler has and returns those tiddlers nested under Class 01. The key part is [classnum{!!classnum}]. Tiddler Class 01 has a classnum of 01 so [classnum[01]]. The following is the resultant list: Class 01 - Readings 01 - Assignments 01 Class 02 - Readings 02 - Assignments 02 My class schedule list code looks like this in its entirety: $list filter=[has[classdate]sort[title]] ''$view field=title /''br /Class Number: $view field=classnum / -- Class Date: $view field=classdate /ulli Topic: $list filter=[classnum{!!classnum}scheduleorder[1]]$transclude / /$list/lili Readings$list filter=[classnum{!!classnum}scheduleorder[2]] $transclude / /$list/lili Assignments Due$list filter=[classnum{!!classnum}scheduleorder[3]] $transclude / /$list/lili Thinking Ahead$list filter=[classnum{!!classnum}scheduleorder[4]] $transclude / /$list/li/ul /$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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
On Fri, Dec 6, 2013 at 11:21 PM, Joshua jlambert.lis.t...@gmail.com wrote: Great, I figured out how useful [{!!parent}] can be. Using your example above of [{!!parent}], am I correct in assuming there can be only one parent? Yes, that's right; we're using a field for the parent relationship because that gives us a one-to-one relationship. Using tags to model children gives us the required one-to-many relationship. Best wishes Jeremy Joshua On Friday, December 6, 2013 1:36:40 AM UTC-6, Jeremy Ruston wrote: @Jeremy: Are there any features in TW5 (or in planning) that will support recursive navigation of parent (and child) tiddlers? I'm hoping that a fair amount of what's needed is already there. The key to displaying potentially recursive graphs is to use click-to-reveal to expand child nodes, rather than trying to expand the whole tree in one go. All child tiddlers of the current tiddler (ie tiddlers tagged with the current tiddler): [is[current]tagged[] Parent tiddler of the current tiddler (ie tiddler title in the parent field): [{!!parent}] Best wishes Jeremy Thanks, Jim On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote: As Joshua said, *IF* you have a strictly arborescent structure of tags (no tiddler with 2 or more tags), you may try to replace the content of the $:/core/ui/ViewTemplate/tags shadow tiddler by this: div class=tw-tags-wrapper$list filter=[is[current]tags[]] $list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate//$list/div This is designed for maximum 3 levels of tags + final tiddler, as for your LatvianGambit tiddler. It's only a starting idea with my limited knowledge of the filters, it can certainly be improved. PS. If you want a tag map tiddler, you may try : ! MyTagRoot1 $list filter=[tag[MyTagRoot1]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list ! MyTagRoot2 $list filter=[tag[MyTagRoot2]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit : I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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 post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
I'm not following the [{!!parent}] idea. Are you saying that the parent field already exists and just has to be used in this manner, or a parent field has to be added? I've tried both, but am too inexperienced with TW5 to have succeeded in making either work. Can you please include a bit more instruction? Thanks, Jim On Friday, December 6, 2013 2:36:40 AM UTC-5, Jeremy Ruston wrote: @Jeremy: Are there any features in TW5 (or in planning) that will support recursive navigation of parent (and child) tiddlers? I'm hoping that a fair amount of what's needed is already there. The key to displaying potentially recursive graphs is to use click-to-reveal to expand child nodes, rather than trying to expand the whole tree in one go. All child tiddlers of the current tiddler (ie tiddlers tagged with the current tiddler): [is[current]tagged[] Parent tiddler of the current tiddler (ie tiddler title in the parent field): [{!!parent}] Best wishes Jeremy Thanks, Jim On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote: As Joshua said, *IF* you have a strictly arborescent structure of tags (no tiddler with 2 or more tags), you may try to replace the content of the $:/core/ui/ViewTemplate/tags shadow tiddler by this: div class=tw-tags-wrapper$list filter=[is[current]tags[]] $list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate//$list/div This is designed for maximum 3 levels of tags + final tiddler, as for your LatvianGambit tiddler. It's only a starting idea with my limited knowledge of the filters, it can certainly be improved. PS. If you want a tag map tiddler, you may try : ! MyTagRoot1 $list filter=[tag[MyTagRoot1]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list ! MyTagRoot2 $list filter=[tag[MyTagRoot2]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit : I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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 javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
Great, I figured out how useful [{!!parent}] can be. Using your example above of [{!!parent}], am I correct in assuming there can be only one parent? Joshua On Friday, December 6, 2013 1:36:40 AM UTC-6, Jeremy Ruston wrote: @Jeremy: Are there any features in TW5 (or in planning) that will support recursive navigation of parent (and child) tiddlers? I'm hoping that a fair amount of what's needed is already there. The key to displaying potentially recursive graphs is to use click-to-reveal to expand child nodes, rather than trying to expand the whole tree in one go. All child tiddlers of the current tiddler (ie tiddlers tagged with the current tiddler): [is[current]tagged[] Parent tiddler of the current tiddler (ie tiddler title in the parent field): [{!!parent}] Best wishes Jeremy Thanks, Jim On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote: As Joshua said, *IF* you have a strictly arborescent structure of tags (no tiddler with 2 or more tags), you may try to replace the content of the $:/core/ui/ViewTemplate/tags shadow tiddler by this: div class=tw-tags-wrapper$list filter=[is[current]tags[]] $list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate//$list/div This is designed for maximum 3 levels of tags + final tiddler, as for your LatvianGambit tiddler. It's only a starting idea with my limited knowledge of the filters, it can certainly be improved. PS. If you want a tag map tiddler, you may try : ! MyTagRoot1 $list filter=[tag[MyTagRoot1]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list ! MyTagRoot2 $list filter=[tag[MyTagRoot2]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit : I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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 javascript:. To post to this group, send email to tiddl...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
On Thursday, December 5, 2013 4:10:18 AM UTC+1, James Weaver wrote: Thanks Jonas. Will it work with TW5? nope -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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
@Jeremy: Are there any features in TW5 (or in planning) that will support recursive navigation of parent (and child) tiddlers? I'm hoping that a fair amount of what's needed is already there. The key to displaying potentially recursive graphs is to use click-to-reveal to expand child nodes, rather than trying to expand the whole tree in one go. All child tiddlers of the current tiddler (ie tiddlers tagged with the current tiddler): [is[current]tagged[] Parent tiddler of the current tiddler (ie tiddler title in the parent field): [{!!parent}] Best wishes Jeremy Thanks, Jim On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote: As Joshua said, *IF* you have a strictly arborescent structure of tags (no tiddler with 2 or more tags), you may try to replace the content of the $:/core/ui/ViewTemplate/tags shadow tiddler by this: div class=tw-tags-wrapper$list filter=[is[current]tags[]] $list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$list filter=[is[current]tags[]]$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate/ /$list$transclude tiddler=$:/core/ui/TagTemplate//$list/div This is designed for maximum 3 levels of tags + final tiddler, as for your LatvianGambit tiddler. It's only a starting idea with my limited knowledge of the filters, it can certainly be improved. PS. If you want a tag map tiddler, you may try : ! MyTagRoot1 $list filter=[tag[MyTagRoot1]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list ! MyTagRoot2 $list filter=[tag[MyTagRoot2]] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link $list filter=[tag{!!title}] * $link to={{!!title}}$view field=title//$link /$list /$list /$list Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit : I'm using tags to represent a hierarchy, for example each of these are tags: games, board-games, chess In addition, board-games is tagged games, and chess is tagged board-games The LatvianGambit tiddler is tagged chess As a result, I'd like the LatvianGambit tiddler to display the following near the top, with each segment of the breadcrumb being a link for navigability to the tiddler that represent the tag: games - board-games - chess This would seem to require recursion, and I'm not versed enough in the Way of TiddlyWiki5 to figure out how to accomplish that. Any ideas? Thanks, Jim Weaver -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Creating a breadcrumb list of tags
I am not sure about that coz I haven't tried it in TW5. So... S.O.S to fellow TW fans here! :) On Thu, Dec 5, 2013 at 11:10 AM, Jim Weaver james.l.wea...@gmail.comwrote: Thanks Jonas. Will it work with TW5? Regards, Jim Weaver On Dec 4, 2013, at 10:01 PM, Jonas Susara jlcsus...@gmail.com wrote: Hello, James. Maybe you'd like to try TagsTreePlugin? It can be found here: http://visualtw.ouvaton.org/VisualTW.html It will show your tags in a tree-like structure on the left side. Gah, I've been using it awhile. :) --Jonas -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/VTVnzy5I1LE/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/VTVnzy5I1LE/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.