Re: [tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Eskha
Thank you Mohammad for your answer. I can confirm that it is working on TiddlyWiki. However it is not exactly the behavior I was expecting. Indeed when using the list-search macro, the filter option is different from the text input. You define the filter in the macro-call, for instance

Re: [tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Mohammad Rahmani
On Thu, Feb 25, 2021 at 1:24 AM History Buff wrote: > Mohammad, Hi Damon, > > Love this macro. I was wondering how I could use this with dynamic tables > such that I could say display only 10 rows at a time and page through them. > > Sure, you should be able to hack dynamic tables and add

[tw5] Re: What is the best way to approach tweaking shadow tiddlers?

2021-02-24 Thread Sven Drion
How about (automatically) tagging changed tiddlers in the editor?? [[is[shadow]] contains all the automatic tiddlers, $:/config/AutoSave etc. $/tags/ModifiedShadow from the editor would not. Or include a comparison in the plugin display. Just happened to tinker, might look something like this

[tw5] Re: was MPTW ever updated to the newest version?

2021-02-24 Thread Hardware Consultant
Is there any recent update on this? MPTW with tagglyTagging is amazing useful. Can the current standard TW achieve this behavior yet? It's not clear from the link what still applies to the latest version. On Thursday, June 2, 2016 at 10:21:01 PM UTC-6 Mat wrote: > Yes, Tobias made a version >

Re: [tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread History Buff
Mohammad, Love this macro. I was wondering how I could use this with dynamic tables such that I could say display only 10 rows at a time and page through them. Thanks, Damon On Wednesday, February 24, 2021 at 9:24:53 AM UTC-7 Mohammad wrote: > Eska, > > In tiddlywiki.com give a try for the

[tw5] Re: Just realized what was tripping me up with tags (I think it was the UI, thanks Soren!)

2021-02-24 Thread Osin
"Tags in TW can be whatever you want them to be." (I don't know how to quote in Google groups). I know! :) That statement is too broad for someone just starting out, though. It's like "everything is a tiddler" or "everything is a list". The lines get blurred really quickly and I'm

[tw5] Re: Just realized what was tripping me up with tags (I think it was the UI, thanks Soren!)

2021-02-24 Thread Mat
Interesting interpretations. Tags in TW can be whatever you want them to be. It is probably most common to use them for hierarcies and categories but it can really be arbitrary keywords. A cool aspect, which I guess we see in many other tools as well these days, is that tags can also be

Re: [tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Mohammad Rahmani
Eska, In tiddlywiki.com give a try for the code below. I assume you have you have already the list-pages working in tiddlywiki.com \define list-search-pages() <$edit-text tiddler="some-tiddler" type="search" tag="input" default=""/> ><$macrocall $name=list-pages filter={{some-tiddler}}

Re: [tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Mohammad Rahmani
Hi Eshka, There is a similar macro in Shiraz! To have a list-search like behavior, you can call list-pages as below <$macrocall $name=list-pages filter={{some-tiddler}} ... Then having a edit-text like below <$edit-text tiddler="some-tiddler" type="search" tag="input" default="" That's

[tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Eskha
Hello Mohammad, Thank you for this useful macro. I was wondering if it was possible to integrate it with Tobias list-search macro (see below) since it would be a very powerful combination? Best regards, Eskha \define list-search( filter:"[tags[]]", search:"search:title",

[tw5] Just realized what was tripping me up with tags (I think it was the UI, thanks Soren!)

2021-02-24 Thread Osin
I'm a TW noob, I "know" about all these different TW pieces, but when it comes to putting it together and "thinking" in a TW manner, then putting something together, I tend to freeze up. Tags are something fairly simple to grasp, but I didn't realize they needed more preparation, and how they

Re: [tw5] Re: Writing Recommendations

2021-02-24 Thread David Gifford
There is nothing wrong with my tiddler, I just dragged it to tiddlywiki.com and it works fine. So you may have made some prior changes to your file that interferes? The dropdown itself is tagged " $:/tags/EditToolbar" - if you have disabled the toolbar, you also disable this dropdown. The

[tw5] Re: New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Mohammad Rahmani
In the call to *qualify *the xx$/state is used on purpose to see the stateTid Remove xx after test! Best wishes Mohammad On Wed, Feb 24, 2021 at 3:55 PM Mohammad Rahmani wrote: > I have developed a* list-pages* macros similar to list-links, but it is a > little lengthy > > \define

[tw5] New macro list-pages: Looking for a simpler solution

2021-02-24 Thread Mohammad Rahmani
I have developed a* list-pages* macros similar to list-links, but it is a little lengthy \define list-pages(filter, entries-per-page:5, template, stateTid:"pagingTid") <$vars stateTid=<> > <$vars total-entries={{{ [subfilter<__filter__>count[]] }}} page-number={{{[get[text]] ~[[1]]}}} > <$vars

Re: [tw5] Re: [Question] filter start with [all[current]]

2021-02-24 Thread Mohammad Rahmani
Thank you Saq! Now, I got the point with your detailed explanations! Much appreciated! Best wishes Mohammad On Wed, Feb 24, 2021 at 2:09 PM Saq Imtiaz wrote: > [all[current]subfilter{tiddler-with-filter}] > > works when filter in tiddler-with-filter is something like: > > [tag[myTag]] > >

Re: [tw5] Re: [Question] filter start with [all[current]]

2021-02-24 Thread Saq Imtiaz
[all[current]subfilter{tiddler-with-filter}] works when filter in tiddler-with-filter is something like: [tag[myTag]] *which tests conditions on its input (i.e. selection modifiers).* However if the filter applied by your subfilter is of the form: HelloThere (i.e. selection constructor) It is

Re: [tw5] Re: [Question] filter start with [all[current]]

2021-02-24 Thread Mohammad Rahmani
Hi again Saq! On Wed, Feb 24, 2021 at 11:28 AM Saq Imtiaz wrote: > Have you tried something like this (without using a set widget) > > [all[current]subfilter{tiddler-with-filter}] > > where the filter in tiddler-with-filter is something like: > > [tag[myTag]] > Tested above solution works but

Re: [tw5] Re: Menu Bar questions

2021-02-24 Thread The Scribe
Thank you. That worked like a charm. Sent from my iPad > On 24 Feb 2021, at 1:26 am, strikke...@gmail.com > wrote: > >  > 3. How do I make an image called icon.png link to https://www.testsite.com? > > https://www.testsite.com/; target="_blank">{{icon.png}} > >> tirsdag den 23. februar

Re: [tw5] Re: [Question] filter start with [all[current]]

2021-02-24 Thread Mohammad Rahmani
On Wed, Feb 24, 2021 at 1:10 PM Saq Imtiaz wrote: > You don't need it, but it limits the input to the subfilter to a single > tiddler which is much faster than evaluating it for all tiddlers. > Furthermore this obviates the need for the match part. > Thank you! Let's give a try this new

Re: [tw5] Re: [Question] filter start with [all[current]]

2021-02-24 Thread Saq Imtiaz
You don't need it, but it limits the input to the subfilter to a single tiddler which is much faster than evaluating it for all tiddlers. Furthermore this obviates the need for the match part. On Wednesday, February 24, 2021 at 10:16:51 AM UTC+1 Mohammad wrote: > Hi Saq, > > > > On Wed, Feb

Re: [tw5] Re: [Question] filter start with [all[current]]

2021-02-24 Thread Mohammad Rahmani
Hi Saq, On Wed, Feb 24, 2021 at 11:28 AM Saq Imtiaz wrote: > Have you tried something like this (without using a set widget) > > [all[current]subfilter{tiddler-with-filter}] > While subfilter is a selection constructor why we need all[current]? > > where the filter in tiddler-with-filter