[tw] [TW5] Selective disabling of WikiLinks
I'd like to know if there is a way to selectively disable wikilinks in a TW5 file similar to the function provided by the DisableWikiLinks plugin for TW Classic. One option is to list the WikiLinks not to be created to in a tiddler (or series of tiddlers grouped by a tag). The other option would be to create a tiddler with the title of the wikilink and attaching a nolink tag to the tiddler. As an Example Option 1: title: NoLink Subject A tag: nowikilink contents: SubjectA SubjectA1 SubjectA2 title: NoLink Subject B tag: nowikilink contents: SubjectB SubjectB1 SubjectB2 In this option, the following terms would not be wikified SubjectA SubjectA1 SubjectA2 SubjectB SubjectB1 SubjectB2 in any of the tiddlers unless a link was explicitly created Option 2: title: SubjectA tag: SubjectA nowikilink title: SubjectB2 tag: SubjectB SubjectB2 nowikilink . . . etc . . . In this option, any potential wikilink that has a tiddler with the matching name that contains the tag nowikilink wouldn't be wikified unless made explicitly. I'd prefer option 1 since it hides the tag that is controlling behavior (nowikilink) from immediate view, doesn't require the creation a tiddler to have nowikilink operate, and puts the entire list in a small number of places. It just seems cleaner to me. Either solution would work however. Thanks, Kevin -- 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/d/optout.
[tw] Re: [TW5] ListWidget values to lower level filters
That looks like what I want. Thank you. Kevin On Friday, August 22, 2014 6:10:19 PM UTC-4, HowardM wrote: Hi Kevin The following code works if placed in a tiddler with a list field containing the tags. ul$list filter =[list[]] variable=mytaglimytag/liul$list filter=[all[tiddlers]tagmytag]li{{!!title}}/li/$list/ul/$list/ul The result is a list of tags and, for each tag, a list of the tiddlers tagged with it. Obviously you can adapt this to print out other information for the tagged tiddlers. Hope this helps. Howard On Thursday, August 21, 2014 7:16:06 PM UTC+1, kccn...@glenevin.com wrote: My apologies in advance for what I am sure is something that's been done many times before but I can't seem to find the answer in the docs or the groups. Very simply, I'd like to achieve a foreach type behavior to create a nested list. At the top level, I want to read the list field from a given tiddler which contains a list of tags and use each entry to create the top level list Then for each entry in the list, I want to find all the tiddlers that have that tag and display them in a sublist The ListWidget docs have the basic framework for what I want, but I can't figure out how to send the current value from the list in the top level tiddler to the filter operator of the child list. I'm pretty sure I need to use the setWidget to save the value, but again, I can't figure out how to dereference the macro inside the filter operator. Is there an example somewhere that might help? Thanks, Kevin -- 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/d/optout.
[tw] Re: [TW5] ListWidget values to lower level filters
Mario: That is the behavior I'm looking for but I'm looking for more control over what is displayed. In my case, I'd like to exclude tiddlers that contain other tags and display fields in the output as well. Having said that, the code of the toc macros is a good example to look at. I think I should be able to massage it into what I'm trying to achieve. Thanks!!! Kevin On Friday, August 22, 2014 5:31:09 AM UTC-4, PMario wrote: Hi Kevin, See if http://tiddlywiki.com/#TableOfContentsMacro will help you? -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/d/optout.
[tw] [TW5] ListWidget values to lower level filters
My apologies in advance for what I am sure is something that's been done many times before but I can't seem to find the answer in the docs or the groups. Very simply, I'd like to achieve a foreach type behavior to create a nested list. At the top level, I want to read the list field from a given tiddler which contains a list of tags and use each entry to create the top level list Then for each entry in the list, I want to find all the tiddlers that have that tag and display them in a sublist The ListWidget docs have the basic framework for what I want, but I can't figure out how to send the current value from the list in the top level tiddler to the filter operator of the child list. I'm pretty sure I need to use the setWidget to save the value, but again, I can't figure out how to dereference the macro inside the filter operator. Is there an example somewhere that might help? Thanks, Kevin -- 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/d/optout.
[tw] Re: [TW5] ListWidget values to lower level filters
I meant to add that it looks like the variable parameter of the ListWidget would help, but I couldn't find any examples of how to utilize it. Thanks, Kevin -- 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/d/optout.