[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-19 Thread talha131
I don’t know exactly where, but I seen you earlier, maybe somewhere in the Vim era. I too recall you from somewhere but can’t put my finger on it. ☺️It’s probably from Vim, perhaps #vim irc channel. I used to be active on it couple of years ago. :) ​ -- You received this message because

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread bimlas
Ok, I understand now what you wanted to achieve, the locator is really inappropriate. Thank you for the advice, I will somehow clarify the documentation. I don't know exactly where, but I seen you earlier, maybe somewhere in the Vim era. -- You received this message because you are

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread talha131
What I was looking for See these images I was searching for the word diff and json. These are common words in the programming world and more than one topics have tiddlers on it. I needed a simple way to tell these tiddlers apart with a glance. I didn’t need to narrow down my search via tag

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread bimlas
talha131, Forgive me, but according to your description, this is what you are looking for, but it may not be clear how it works. In a GIF I show you how you can filter the search results by tags. https://i.imgur.com/MPdirls.gif If the description is not really clear, please let me know.

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread talha131
Thank you bimlas. Much appreciated. I did give it a try. It's not the solution I was looking for. -- 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

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mohammad
Added to TW-Scripts On Saturday, June 15, 2019 at 9:02:54 PM UTC+4:30, talha131 wrote: > > Thanks a lot Mat. My issue has been solved. > > <$link to={{!!title}}><$view field="title"/> ><$list filter={{!!tags}}> > <$macrocall $name=tag-pill tag={{!!title}} /> > > > ​ > -- You

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131
Thanks a lot Mat. My issue has been solved. <$link to={{!!title}}><$view field="title"/> <$list filter={{!!tags}}> <$macrocall $name=tag-pill tag={{!!title}} /> ​ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mat
> > you must surround the macrocall with a listwidget so that the macrocall > only deals with one tag at a time. > > Can you point me to any example where listwiget is used in this way? > Didn't test this but should work: <$list filter="my tiddlers of relevance"> <$link/> <$list

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131
<> works fine. It’s the <> macro that is not working. you must surround the macrocall with a listwidget so that the macrocall only deals with one tag at a time. Can you point me to any example where listwiget is used in this way? ​ -- You received this message because you are subscribed

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mat
> > *What I can’t figure out is* how to pass the current tag to the tag-pill > macro. I have tried > > <> > > General note: both the <<..>> syntas and {{..}} are short forms of macrocalls. As such they cannot be nested. > <$macrocall $name="tag-pill" tag=<<__tags__>> /> > > Well, the tag*s*

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131
Thank you Mat for the details. -- I think what I want to do can be achieved by editing $:/core/ui/ListItemTemplate. It reads <$link to={{!!title}}><$view field="title"/> I just need to add <> *What I can’t figure out is* how to pass the current tag to the

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread Mat
Sure, here's the linkwidget and here's the discussion on the update of it. In summary, you can use <$link/> to get a link to the current tid instead of a much longer syntax for 5.1.19. So, in

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131
(BTW, the syntax for this is about to be improved in the very-soon-to-be-released 5.1.20 version.) I am actually using 5.1.20 pre release. Can you please point me to the documentation of the to be release version? ​ -- You received this message because you are subscribed to the Google

[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-14 Thread Mat
Every tiddler consists of fields. One field is the title field. Another is the tags field. They can be transcluded using this form {{!!fieldname}}. Thus inside a listwidget, you could write {{!!title}}, {{!!tags}} See if this achieves your result. Chances are you'll want them to be links also,