[tw5] Re: How to display yesterday's date? (And n days ago etc.)

2020-02-21 Thread Diego Mesa
Joshua Fontany has also updated that plugin on his own:

https://joshuafontany.github.io/TiddlyWikiFormula/



On Friday, February 21, 2020 at 6:46:47 PM UTC-6, Mark S. wrote:
>
> Looks like you might be able to get it from the github site:
>
> https://github.com/EvanBalster/TiddlyWikiFormula
>
> On Friday, February 21, 2020 at 4:07:48 PM UTC-8, si wrote:
>>
>> Thanks Tony. It seems that Evan's website is dead (
>> http://evanbalster.com/tiddlywiki/formulas.html). Do you have a copy of 
>> his Formula Plugin demo that you could share?
>>
>> On Thursday, February 20, 2020 at 11:46:23 PM UTC, TonyM wrote:
>>>
>>> SI,
>>>
>>> I am having a look a loop, and it may be of some value. I have a 
>>> sophisticated bespoke todo organizer in tiddlywiki and have dates covered, 
>>> so if you have any more specific questions I can answer. 
>>>
>>> To meet your original request you need to use the days operator with 
>>> [-7] against the modified or created dates. 
>>>
>>> I made a great discovery that almost no one seems to understand but on a 
>>> given task/habit tiddler I only ever apply a date stamp ie; now, when I do 
>>> something and it is the list widget that determines if they should appear 
>>> in a list either for the past or the future. So if the monday tiddler was 
>>> last date stamped more than -7 days it appears for this monday.
>>>
>>> The picaday plugin is important, and sophisticated date calculations are 
>>> available in Evans Formulae plugin however I can do all I want without it.
>>>
>>> Regards
>>> Tony
>>>
>>> On Friday, February 21, 2020 at 7:18:27 AM UTC+11, si wrote:

 Hi all,

 I'm aspiring to build a habit tracker with TiddlyWiki with similar 
 functionality to the Android app Loop 
 
 .

 The first thing I wanted to do was list every date for the last week, 
 which I thought would be easy, but immediately hit a wall.

 Can anyone point me in the right direction?

 Thanks for your help.

>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e1b63d9b-92b9-4775-be6a-a66f30b87917%40googlegroups.com.


[tw5] Re: How to display yesterday's date? (And n days ago etc.)

2020-02-21 Thread 'Mark S.' via TiddlyWiki
Looks like you might be able to get it from the github site:

https://github.com/EvanBalster/TiddlyWikiFormula

On Friday, February 21, 2020 at 4:07:48 PM UTC-8, si wrote:
>
> Thanks Tony. It seems that Evan's website is dead (
> http://evanbalster.com/tiddlywiki/formulas.html). Do you have a copy of 
> his Formula Plugin demo that you could share?
>
> On Thursday, February 20, 2020 at 11:46:23 PM UTC, TonyM wrote:
>>
>> SI,
>>
>> I am having a look a loop, and it may be of some value. I have a 
>> sophisticated bespoke todo organizer in tiddlywiki and have dates covered, 
>> so if you have any more specific questions I can answer. 
>>
>> To meet your original request you need to use the days operator with [-7] 
>> against the modified or created dates. 
>>
>> I made a great discovery that almost no one seems to understand but on a 
>> given task/habit tiddler I only ever apply a date stamp ie; now, when I do 
>> something and it is the list widget that determines if they should appear 
>> in a list either for the past or the future. So if the monday tiddler was 
>> last date stamped more than -7 days it appears for this monday.
>>
>> The picaday plugin is important, and sophisticated date calculations are 
>> available in Evans Formulae plugin however I can do all I want without it.
>>
>> Regards
>> Tony
>>
>> On Friday, February 21, 2020 at 7:18:27 AM UTC+11, si wrote:
>>>
>>> Hi all,
>>>
>>> I'm aspiring to build a habit tracker with TiddlyWiki with similar 
>>> functionality to the Android app Loop 
>>> 
>>> .
>>>
>>> The first thing I wanted to do was list every date for the last week, 
>>> which I thought would be easy, but immediately hit a wall.
>>>
>>> Can anyone point me in the right direction?
>>>
>>> Thanks for your help.
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6c6e04ba-ad31-492a-91fa-5bf62d2bb5a3%40googlegroups.com.


[tw5] Re: Passing color around in macro

2020-02-21 Thread T. E. Sanders
H... I tried non-quoted and quoted versions of this:

  <$set name="col" filter="[all[current]get[color]]">
  <$vars foregroundColor=<
> T E
>
> The $param$ format is only valid in macros
> \define macroname(param)
> $param$ valid here however since you set the variable you can use $(col)$ 
> here in the macro
> \end
>
> You may also find using the macro call widget is an easier way to pass 
> parameters to a macro
>
> I know this is not a full answer, I would only give that if I tested it 
> first, but I hope it helps
>
> Regards
> Tony
>
>
> On Saturday, February 22, 2020 at 10:22:41 AM UTC+11, T. E. Sanders wrote:
>>
>> This is probably another example of me not understanding the syntax. 
>> This...
>>
>> <$set name="col" filter="[all[current]get[color]]">
>>
>> <$vars foregroundColor=<> fallbackTarget:"""$fallbackTarget$""" ...
>> ...
>>
>> Though I can transclude "col" and see it's the correct color, I can't 
>> figure out how to get it into this <> I put <> getting the var into properly. My col variable fixed my background issue. I 
>> can use it there with no problem, just not this <>
>>
>> On Friday, February 21, 2020 at 4:18:07 PM UTC-6, T. E. Sanders wrote:
>>>
>>> Sorry guys, I know I have a lot of questions. I've gotten pretty far on 
>>> what I'm trying to do. I have a macro where the main one that is called 
>>> calls another in the way the tag pill macro works.
>>>
>>> So I have colour={{{ [<__tag__>get[color]] }}} being passed to a 2nd 
>>> where I do some manipulation and whatnot. 
>>> This doesn't give me a variable like "#ff4455" but a list of parameters 
>>> with colors. One of them is "primary" and I can see this is the color from 
>>> the tiddler.
>>>
>>> alert-background: #ffe476
>>> alert-border: #b99e2f
>>> alert-highlight: #881122
>>> alert-muted-foreground: #b99e2f
>>> background: #ff
>>> blockquote-bar: <>
>>> button-background:...
>>> ...
>>> primary: #ff4455
>>> ...
>>>
>>>
>>> SO this code:
>>> <$vars foregroundColor=<>> fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" 
>>> colourB:"""$colourB$""">>
>>> backgroundColor="""$colour$"""  >
>>>
>>> won't work with this. I hardcoded a test color and it does work that 
>>> way, which leads me to believe colour={{{ [<__tag__>get[color]] }}}. is 
>>> indeed giving me something
>>> other than a usable hex color.
>>>
>>> How can I get a usable $colour$ variable into this macro from the color 
>>> field in the tiddler?
>>>
>>> Thanks again!
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/09cf9e7c-896c-468f-aaa1-6c4f7fe6f211%40googlegroups.com.


[tw5] Re: How to display yesterday's date? (And n days ago etc.)

2020-02-21 Thread si
Thanks Tony. It seems that Evan's website is dead 
(http://evanbalster.com/tiddlywiki/formulas.html). Do you have a copy of 
his Formula Plugin demo that you could share?

On Thursday, February 20, 2020 at 11:46:23 PM UTC, TonyM wrote:
>
> SI,
>
> I am having a look a loop, and it may be of some value. I have a 
> sophisticated bespoke todo organizer in tiddlywiki and have dates covered, 
> so if you have any more specific questions I can answer. 
>
> To meet your original request you need to use the days operator with [-7] 
> against the modified or created dates. 
>
> I made a great discovery that almost no one seems to understand but on a 
> given task/habit tiddler I only ever apply a date stamp ie; now, when I do 
> something and it is the list widget that determines if they should appear 
> in a list either for the past or the future. So if the monday tiddler was 
> last date stamped more than -7 days it appears for this monday.
>
> The picaday plugin is important, and sophisticated date calculations are 
> available in Evans Formulae plugin however I can do all I want without it.
>
> Regards
> Tony
>
> On Friday, February 21, 2020 at 7:18:27 AM UTC+11, si wrote:
>>
>> Hi all,
>>
>> I'm aspiring to build a habit tracker with TiddlyWiki with similar 
>> functionality to the Android app Loop 
>> 
>> .
>>
>> The first thing I wanted to do was list every date for the last week, 
>> which I thought would be easy, but immediately hit a wall.
>>
>> Can anyone point me in the right direction?
>>
>> Thanks for your help.
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9adaeadf-ccb5-415c-9741-13638bd5da72%40googlegroups.com.


[tw5] Re: Passing color around in macro

2020-02-21 Thread TonyM
T E

The $param$ format is only valid in macros
\define macroname(param)
$param$ valid here however since you set the variable you can use $(col)$ 
here in the macro
\end

You may also find using the macro call widget is an easier way to pass 
parameters to a macro

I know this is not a full answer, I would only give that if I tested it 
first, but I hope it helps

Regards
Tony


On Saturday, February 22, 2020 at 10:22:41 AM UTC+11, T. E. Sanders wrote:
>
> This is probably another example of me not understanding the syntax. 
> This...
>
> <$set name="col" filter="[all[current]get[color]]">
>
> <$vars foregroundColor=< fallbackTarget:"""$fallbackTarget$""" ...
> ...
>
> Though I can transclude "col" and see it's the correct color, I can't 
> figure out how to get it into this < I put < getting the var into properly. My col variable fixed my background issue. I 
> can use it there with no problem, just not this <
>
> On Friday, February 21, 2020 at 4:18:07 PM UTC-6, T. E. Sanders wrote:
>>
>> Sorry guys, I know I have a lot of questions. I've gotten pretty far on 
>> what I'm trying to do. I have a macro where the main one that is called 
>> calls another in the way the tag pill macro works.
>>
>> So I have colour={{{ [<__tag__>get[color]] }}} being passed to a 2nd 
>> where I do some manipulation and whatnot. 
>> This doesn't give me a variable like "#ff4455" but a list of parameters 
>> with colors. One of them is "primary" and I can see this is the color from 
>> the tiddler.
>>
>> alert-background: #ffe476
>> alert-border: #b99e2f
>> alert-highlight: #881122
>> alert-muted-foreground: #b99e2f
>> background: #ff
>> blockquote-bar: <>
>> button-background:...
>> ...
>> primary: #ff4455
>> ...
>>
>>
>> SO this code:
>> <$vars foregroundColor=<> fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" 
>> colourB:"""$colourB$""">>
>> backgroundColor="""$colour$"""  >
>>
>> won't work with this. I hardcoded a test color and it does work that way, 
>> which leads me to believe colour={{{ [<__tag__>get[color]] }}}. is indeed 
>> giving me something
>> other than a usable hex color.
>>
>> How can I get a usable $colour$ variable into this macro from the color 
>> field in the tiddler?
>>
>> Thanks again!
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f0bed369-2a9a-4b00-81d4-cbb45043dc4e%40googlegroups.com.


[tw5] Re: Passing color around in macro

2020-02-21 Thread T. E. Sanders
This is probably another example of me not understanding the syntax. This...

<$set name="col" filter="[all[current]get[color]]">

<$vars foregroundColor=<
> Sorry guys, I know I have a lot of questions. I've gotten pretty far on 
> what I'm trying to do. I have a macro where the main one that is called 
> calls another in the way the tag pill macro works.
>
> So I have colour={{{ [<__tag__>get[color]] }}} being passed to a 2nd where 
> I do some manipulation and whatnot. 
> This doesn't give me a variable like "#ff4455" but a list of parameters 
> with colors. One of them is "primary" and I can see this is the color from 
> the tiddler.
>
> alert-background: #ffe476
> alert-border: #b99e2f
> alert-highlight: #881122
> alert-muted-foreground: #b99e2f
> background: #ff
> blockquote-bar: <>
> button-background:...
> ...
> primary: #ff4455
> ...
>
>
> SO this code:
> <$vars foregroundColor=< fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" 
> colourB:"""$colourB$""">>
> backgroundColor="""$colour$"""  >
>
> won't work with this. I hardcoded a test color and it does work that way, 
> which leads me to believe colour={{{ [<__tag__>get[color]] }}}. is indeed 
> giving me something
> other than a usable hex color.
>
> How can I get a usable $colour$ variable into this macro from the color 
> field in the tiddler?
>
> Thanks again!
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb19cd02-5a3c-4ecc-967b-c69e76a83c6a%40googlegroups.com.


[tw5] Re: Showing sections matching a list of values

2020-02-21 Thread TonyM
Eric,

Nice code. Using match after the possible values is economical, and works 
when only one value can be valid.

Regards
Tony

On Friday, February 21, 2020 at 8:19:14 PM UTC+11, Eric Shulman wrote:
>
> On Friday, February 21, 2020 at 12:28:34 AM UTC-8, Luis Gonzalez wrote:
>>
>> I have a section, <> that I want to show when the field 
>> "status" is fold or partial or order. Now I repeat the code three times:
>> Is there any way to make it easier?
>>
>
> You can use the $list widget to check to see if the status field matches 
> any a set of possible values.  Something like this:
> \define my-macro()
> <$list filter="[[fold]]   [[partial]] [[sort]] +[match{!!status}]"> <<
> simple-list>> 
> <$list filter="[[unfold]] [[unsort]]   +[match{!!status}]"> 
> <>   
> \end
>
> enjoy,
> -e
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a9b40ed9-eecb-4a84-8b7e-1f8bcd25259c%40googlegroups.com.


[tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread bimlas
Added more examples, but renamed the tiddler, because it's not a "Very 
quick tutorial" anymore, but a "Walk-through":
https://bimlas.gitlab.io/tw5-locator/#Walk-through

Did you think of such short examples? You think those who first see the 
plugin will understand it based on these (of course, once I've written all 
the features in the walk-through)?
https://bimlas.gitlab.io/tw5-locator/#README:README%20Walk-through%20%5B%5BHow%20to%20build%20the%20filter%20expression%20graphically%5D%5D

I am thinking of deleting these descriptions because they are too talkative 
and take a long time to read and that is why they are avoided. What do you 
think?
https://bimlas.gitlab.io/tw5-locator/#View%20items%20with%20different%20templates%2C%20mindmap%20features:%5B%5BView%20items%20with%20different%20templates%2C%20mindmap%20features%5D%5D%20%5B%5BLocator%20search%20and%20fields%20tabs%5D%5D%20%5B%5BLocator%20view%3A%20Table%20of%20contents%20macro%5D%5D

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63d05c90-6ae1-451e-aed8-87b510fa49f3%40googlegroups.com.


[tw5] Re: Tiddlywiki as an Application

2020-02-21 Thread TonyM
Dave,

I just thought, something that can allow quick use of Tiddlywiki is using 
the local storage plugin within tiddlywiki, there are issues using this 
method and if you decide to lean on it I suggest researching it to learn 
more. The changes are saved in the browser for the wikis url, returning 
will restore the changes. So all you need to do it publish a read only 
tiddlywiki online with the local storage plugin active and with an 
appropriate filter set and users can make and save changes right there.

There remains opportunities here that do not seem to be full explored, 
first you hide the default save, turn off autosave and design a way to save 
the changes "like a back up" to disk, that can be called on if the data is 
lost.

But yes the hta and twexe solutions work, the hta is the most intuitive but 
is windows only.

Regards
Tony


On Friday, February 21, 2020 at 5:21:03 AM UTC+11, Dave wrote:
>
> I'm thinking of making a TW that summarizes a course I recently took and 
> could potentially act as a clinical guide to practitioners as they practice 
> / work.  
>
> If I view it as a complete entity with no more editing to be done I could 
> just distribute the TW file and be done with it.
>
> If however I intend for the user to modify their file and save changes 
> that adds complexity to the user experience with the user suddenly having 
> to either figure 
> out how to modify their browser to save changes or at least know to go to 
> the downloads folder to use the most recently saved version.
>
>
> Is there currently any way to make a TW that can be given to a complete 
> novice that allows them to make changes and not have to step out of the "TW 
> experience"
> any further than just double-clicking the file to open it up again?  I 
> would imagine maybe a way to bundle a tiddlywikidesktop instance with it as 
> "the program that runs TW",
> but I don't know how easy that would be on Mac or Windows (as I'm on Linux 
> and the install is more complicated than just "open this file with this 
> program")
>
>
> Thanks,
>
> - Dave
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7b15c84e-98f6-4228-80ef-9c2b285a6bca%40googlegroups.com.


[tw5] Passing color around in macro

2020-02-21 Thread T. E. Sanders
Sorry guys, I know I have a lot of questions. I've gotten pretty far on 
what I'm trying to do. I have a macro where the main one that is called 
calls another in the way the tag pill macro works.

So I have colour={{{ [<__tag__>get[color]] }}} being passed to a 2nd where 
I do some manipulation and whatnot. 
This doesn't give me a variable like "#ff4455" but a list of parameters 
with colors. One of them is "primary" and I can see this is the color from 
the tiddler.

alert-background: #ffe476
alert-border: #b99e2f
alert-highlight: #881122
alert-muted-foreground: #b99e2f
background: #ff
blockquote-bar: <>
button-background:...
...
primary: #ff4455
...


SO this code:
<$vars foregroundColor=<>
backgroundColor="""$colour$"""  >

won't work with this. I hardcoded a test color and it does work that way, 
which leads me to believe colour={{{ [<__tag__>get[color]] }}}. is indeed 
giving me something
other than a usable hex color.

How can I get a usable $colour$ variable into this macro from the color 
field in the tiddler?

Thanks again!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8ccfdcc-6c33-4f1d-8fe8-621d5f8ad420%40googlegroups.com.


[tw5] markdown plugin not rendering links

2020-02-21 Thread Captain Packers
I'm trying to use the markdown plugin and it's not rendering links properly.

This content:

 - 
(linuxize.com)[https://linuxize.com/post/how-to-install-virtualbox-guest-additions-in-ubuntu/]
 - 
(tecmint.com)[https://www.tecmint.com/install-virtualbox-guest-additions-in-ubuntu/]

is being rendered as:

   - 
   
(linuxize.com)[https://linuxize.com/post/how-to-install-virtualbox-guest-additions-in-ubuntu/]
   - 
   
(tecmint.com)[https://www.tecmint.com/install-virtualbox-guest-additions-in-ubuntu/]

Type: text/x-markdown

Markdow parser 5.1.16

$:/config/markdown/dialect content is: Gruber

Type: text/vnd.tiddlywiki

The $:/config tiddler is untagged. Does it need a tag?

Thanks in advance for any help with this.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9570e8f6-6098-4587-8008-edd68f18f00d%40googlegroups.com.


[tw5] Re: Tiddlywiki as an Application

2020-02-21 Thread Mat
Dave wrote:
>
> Is there currently any way to make a TW that can be given to a complete 
> novice that allows them to make changes and not have to step out of the "TW 
> experience"
>


Here. The password is "password". Save as much as you want.

http://justsave.tiddlyspot.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/07b2d17b-f904-4604-aa4a-4618901ab3a9%40googlegroups.com.


[tw5] Re: Docs on syntax

2020-02-21 Thread T. E. Sanders
Fantastic! Thanks man. 

On Friday, February 21, 2020 at 12:31:28 PM UTC-6, Mohammad wrote:
>
> This is one place with a good tutorial
>
> TW-Scripts
>
>
> https://kookma.github.io/TW-Scripts/#syntax:syntax%20%5B%5BShorthand%20Syntax%20Summary%5D%5D%20%5B%5BSyntax%20for%20Using%20Brackets%5D%5D%20%5B%5BVariables%20vs.%20Parameters%5D%5D%20%5B%5BVariables%2C%20Fields%20and%20Filters%20in%20TiddlyWiki%5D%5D
>
> --Mohammad
>
> On Friday, February 21, 2020 at 9:44:12 PM UTC+3:30, T. E. Sanders wrote:
>>
>> Is there a place where I can learn the syntax that's not spread out 
>> across the interwebs? For instance, the difference between
>>
>> {{!!something}}
>> {{{something}}}
>> <>
>> {!!something}
>>
>> etc,...
>>
>> It's taking forever to write simple things because of my lack of 
>> knowledge on when to use what where and so I try everything I can google 
>> until something works. 
>>
>> Takes. Forever. :|
>>
>> Thanks!
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/840e565a-bfe6-4422-b887-0b613c03fe41%40googlegroups.com.


[tw5] Re: Docs on syntax

2020-02-21 Thread Mohammad
This is one place with a good tutorial

TW-Scripts

https://kookma.github.io/TW-Scripts/#syntax:syntax%20%5B%5BShorthand%20Syntax%20Summary%5D%5D%20%5B%5BSyntax%20for%20Using%20Brackets%5D%5D%20%5B%5BVariables%20vs.%20Parameters%5D%5D%20%5B%5BVariables%2C%20Fields%20and%20Filters%20in%20TiddlyWiki%5D%5D

--Mohammad

On Friday, February 21, 2020 at 9:44:12 PM UTC+3:30, T. E. Sanders wrote:
>
> Is there a place where I can learn the syntax that's not spread out across 
> the interwebs? For instance, the difference between
>
> {{!!something}}
> {{{something}}}
> <>
> {!!something}
>
> etc,...
>
> It's taking forever to write simple things because of my lack of knowledge 
> on when to use what where and so I try everything I can google until 
> something works. 
>
> Takes. Forever. :|
>
> Thanks!
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ea4083a-f5fc-4756-959c-39d16b0bb9e8%40googlegroups.com.


[tw5] Re: global Macro for new tiddler from templates

2020-02-21 Thread Gerald Weis
Hi Mark

you are great

thanks

Am Freitag, 21. Februar 2020 16:48:24 UTC+1 schrieb Mark S.:
>
>
> You can use the edittext widget to allow input, if that's what you mean:
>
> \define NeuerZyklus(Kennzeichen Sache Jahr)
> <$button>''$Sache$''Jahr - ''$Jahr$''
> <$action-createtiddler $basetitle="$Sache$ - $Jahr$" tags="[[$Kennzeichen$]] 
> [[$Sache$]]" text={{$Sache$ - Jahr}} />
> 
> \end
> <$vars ph="Geben Sie den Text für den Tiddler ein">
> Sache: <$edit-text tiddler="$:/temp/Sache" tag=input size=50 
> placeHolder=<> default="Sache"/>
> Kennzeichen: <$edit-text tiddler="$:/temp/Kennzeichen" tag=input size=50 
>  placeHolder=<> default="Kennzeichen"/>
> Jahr: <$edit-text tiddler="$:/temp/Jahr" tag=input size=10 
> placeHolder=<> default="2020"/>
> 
> <$macrocall $name=NeuerZyklus Kennzeichen={{$:/temp/Kennzeichen}} 
>  Sache={{$:/temp/Sache}} Jahr={{$:/temp/Jahr}} />
>
>
>
>
> On Friday, February 21, 2020 at 5:14:46 AM UTC-8, Gerald Weis wrote:
>>
>> Hi Mark
>>
>>
>> i have the macro a little extended.
>> now the code is
>>
>> \define NeuerZyklus(Kennzeichen Sache Jahr)
>> <$button>''$Sache$''Jahr - ''$Jahr$''
>> <$action-createtiddler $basetitle="$Sache$ - $Jahr$" 
>> tags="[[$Kennzeichen$]] [[$Sache$]]" text={{$Sache$ - Jahr}} />
>> 
>> \end
>>
>> Now i have detected that i every time whlen i want write an new tiddler 
>> with this macro i must change the macrocall.
>> That is not so good. - My mistake sorry.
>>
>> Is it posible to create an inputfield where enables the data to be 
>> circulated with the Variables into the macro?
>>
>> thanks for your help
>>
>>
>> 
>>
>>
>> 
>> Beispiele
>>
>> How i do that?
>>
>> thanks for your help
>>
>> Am Donnerstag, 20. Februar 2020 21:14:44 UTC+1 schrieb Mark S.:
>>>
>>> Try changing the tag attribute like this:
>>>
>>> tags="[[$Kennzeichen$]] [[$Sache$]]" 
>>>
>>> On Thursday, February 20, 2020 at 12:00:15 PM UTC-8, Gerald Weis wrote:

 Hi Mark,

 yes it do what i want.

 but i have an problem

 some tags have mor as one word.
 than make this makro more as one tag from this.

 example tag is "Reparatur und Wartung"
 the Macro make the tags "Reparatur" "und" "Wartung"

 what can i do that the tag ist one expression?

 thanks

 Am Donnerstag, 20. Februar 2020 16:03:52 UTC+1 schrieb Mark S.:
>
> There are at least 3 ways to make new tiddlers in TW. Of these, only 
> the ActionCreateWidget will automatically prevent overwriting titles. ACW 
> also has the advantage that it doesn't open your tiddler in edit mode.
>
> In your original you had text="{{transclusion}}" . You can not do 
> that. You must use text={{transclusion}} . Otherwise, the actual text 
> will 
> be "{{transclusion}}" and not the transcluded content.
>
> In your example, <$action-sendmessage was not closed on the end with 
> "/>".  Always do a double-check to make sure that all tags are matched by 
> their anti-tag 
> (e.g.    or that a single tag is closed on the end 
> with "/>" .
>
> In your original example, I did not know what $:/tags/Template did or 
> what it's contents were. So I removed it for my test. 
>
> This version works, though I don't know if it does exactly what you 
> intended:
>
> \define testknopf(Kennzeichen Sache)
> <$button>Mein Knopf
> <$action-createtiddler $basetitle="$Sache$ - Jahr" tags="$Kennzeichen$ 
> $Sache$" text={{Benzin - Jahr}} />
> 
> \end
>
> <>
>
> If you press the button twice, it will make a new tiddler based on the 
> name, but will not over write the first one.
>
> HTH
>
> On Thursday, February 20, 2020 at 5:57:13 AM UTC-8, Gerald Weis wrote:
>>
>> Hi folks,
>>
>> i need help.
>>
>> i want to create a new tiddler from templates.
>> The cocept ist, the macro shoud be global.
>>
>> \define testknopf(Kennzeichen Sache)
>>
>> <$button>
>> <$action-sendmessage $message="tm-new-tiddler" title="$Sache$ - Jahr" 
>> tags=$Kennzeichen$ $Sache$ text="{{Benzin - Jahr||$:/tags/Template}}"
>> 
>> \end
>>
>> This macro shoud do the follow things:
>> 1. create a new tiddler
>> 2. load the templatetiddler with Name where is compsite form "$Sache$ 
>> - Jahr"
>> 3. transclude the content of templatetiddler in  the new tiddler 
>> 4. disable the templatetag in the new tiddler
>> 4. close the templatetiddler
>>
>> my Templatetiddler is tagged with $:/tags/Template
>>
>> what ist wrong?
>>
>>

-- 
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 

[tw5] Re: Docs on syntax

2020-02-21 Thread T. E. Sanders
Another for instance:
<$set name="someBackgroundVariable" value={{$palette$##tag-background}} > 
or
<$set name="someBackgroundVariable" value=<<$palette$##tag-background>> >
or what, when a macro has palette={{$:/palette}}. sent in? 

I really need a cheat sheet for these things or something. 

On Friday, February 21, 2020 at 12:14:12 PM UTC-6, T. E. Sanders wrote:
>
> Is there a place where I can learn the syntax that's not spread out across 
> the interwebs? For instance, the difference between
>
> {{!!something}}
> {{{something}}}
> <>
> {!!something}
>
> etc,...
>
> It's taking forever to write simple things because of my lack of knowledge 
> on when to use what where and so I try everything I can google until 
> something works. 
>
> Takes. Forever. :|
>
> Thanks!
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e738fd73-80db-433c-83a9-c671536f9075%40googlegroups.com.


[tw5] Docs on syntax

2020-02-21 Thread T. E. Sanders
Is there a place where I can learn the syntax that's not spread out across 
the interwebs? For instance, the difference between

{{!!something}}
{{{something}}}
<>
{!!something}

etc,...

It's taking forever to write simple things because of my lack of knowledge 
on when to use what where and so I try everything I can google until 
something works. 

Takes. Forever. :|

Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/abd76f7f-70bf-4c79-a338-cc24f02322a4%40googlegroups.com.


Re: [tw5] TiddlyWiki on HackADay.com

2020-02-21 Thread Ste Wilson
Just say it like Sean Bean in top o't'wall... ;)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d2757de2-5cff-4a0f-ad1a-72663cc31be6%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
Oh interesting. Thanks for that!

On Friday, February 21, 2020 at 11:28:31 AM UTC-6, Mark S. wrote:
>
> Well, not sure if you need this:
>
> <$list filter="[tag[todo]each[category]get[category]]">
> <>
> < " >>
> 
>
> In your version, the set widget doesn't appear to do anything.
>
> In your version, field:category{!!category} will only work (I think) if 
> you have a tiddler with the same name as the category which also has a 
> field with the tiddler name in the category. Perhaps that is true with your 
> data. Something to consider.
>
> Good going!
>
> On Friday, February 21, 2020 at 9:18:47 AM UTC-8, T. E. Sanders wrote:
>>
>> For anyone looking to create a heading delimited list like what I've 
>> outlined here that you can reorder, this is the working version:
>>
>> <$list filter="[tag[todo]sort[title]each[category]]">
>><$view field='category'/>
>><$set name="category" value="""<$view field='category'/>""">
>>
>>   <> subFilter=field:category{!!category}  >>
>>
>> 
>>
>>
>> notice the field:fieldname{!!fieldvalue} is the syntax for filtering 
>> something by the value of a tiddler's field. 
>>
>> Thanks for pushing me along Mark.
>>
>> On Friday, February 21, 2020 at 10:44:27 AM UTC-6, T. E. Sanders wrote:
>>>
>>> Yes, that does pull up the todo list with the field category, so at 
>>> least I know the subFilters aren't broken :)
>>>
>>> What I'm trying to do though is like this:
>>>
>>> tagged: todo
>>>
>>> field: category with values like "today" or "next week" etc. It's a 
>>> "type" of todo.
>>>
>>> Looping over todos, then using the category as a heading over "types" of 
>>> todos. The list looks like:
>>>
>>> today:
>>>   -- make a filter
>>>   -- don't lose my mind
>>>
>>> next week
>>>   -- use my todo list
>>>   -- do stuff
>>>
>>>
>>> I got this to work with a regular list within a list and it looked like 
>>> the above. I wanted to do it with the draggable list as the inner list 
>>> instead. Which it should be able to do with a subfilter. 
>>>
>>> The subfilter needs to filter the current tiddler (which I think the 
>>> draggable macro already does)  against the value of the field "category."  
>>> I was sure something like field[category]has[today] would work, but 
>>> something ain't right.
>>>
>>> On Friday, February 21, 2020 at 10:30:20 AM UTC-6, Mark S. wrote:

 If you're just trying to make a list of things tagged "todo" that also 
 have a category field, then this seems to do it:

 <>



 On Friday, February 21, 2020 at 8:23:59 AM UTC-8, T. E. Sanders wrote:
>
> tried   < subFilter:"[field[category]has{!!category}]" >> but got the error which I 
> think is because this is a "sub filter" that gets concatenated. 
> so tried   < subFilter:"field[category]has{!!category}" >>. without it. No error, but 
> still nothing returned. 
> I feel like I'm close the the magic syntax though. 
>
> On Friday, February 21, 2020 at 10:20:02 AM UTC-6, Mark S. wrote:
>>
>> Sadly it means I need to increase the zoom on my screen. All those 
>> braces and brackets running together.
>>
>> Thanks!
>>
>> On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:
>>>
>>>
>>> You left an extra "[" in your reply.   I'm sure it was just an 
>>> editing oops! it should read: 
>>> [field{!!category}]
>>>
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b0ff9d8f-6a8f-44bc-9491-4e7140686854%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread 'Mark S.' via TiddlyWiki
Well, not sure if you need this:

<$list filter="[tag[todo]each[category]get[category]]">
<>
<" 
>>


In your version, the set widget doesn't appear to do anything.

In your version, field:category{!!category} will only work (I think) if you 
have a tiddler with the same name as the category which also has a field 
with the tiddler name in the category. Perhaps that is true with your data. 
Something to consider.

Good going!

On Friday, February 21, 2020 at 9:18:47 AM UTC-8, T. E. Sanders wrote:
>
> For anyone looking to create a heading delimited list like what I've 
> outlined here that you can reorder, this is the working version:
>
> <$list filter="[tag[todo]sort[title]each[category]]">
><$view field='category'/>
><$set name="category" value="""<$view field='category'/>""">
>
>   < subFilter=field:category{!!category}  >>
>
> 
>
>
> notice the field:fieldname{!!fieldvalue} is the syntax for filtering 
> something by the value of a tiddler's field. 
>
> Thanks for pushing me along Mark.
>
> On Friday, February 21, 2020 at 10:44:27 AM UTC-6, T. E. Sanders wrote:
>>
>> Yes, that does pull up the todo list with the field category, so at least 
>> I know the subFilters aren't broken :)
>>
>> What I'm trying to do though is like this:
>>
>> tagged: todo
>>
>> field: category with values like "today" or "next week" etc. It's a 
>> "type" of todo.
>>
>> Looping over todos, then using the category as a heading over "types" of 
>> todos. The list looks like:
>>
>> today:
>>   -- make a filter
>>   -- don't lose my mind
>>
>> next week
>>   -- use my todo list
>>   -- do stuff
>>
>>
>> I got this to work with a regular list within a list and it looked like 
>> the above. I wanted to do it with the draggable list as the inner list 
>> instead. Which it should be able to do with a subfilter. 
>>
>> The subfilter needs to filter the current tiddler (which I think the 
>> draggable macro already does)  against the value of the field "category."  
>> I was sure something like field[category]has[today] would work, but 
>> something ain't right.
>>
>> On Friday, February 21, 2020 at 10:30:20 AM UTC-6, Mark S. wrote:
>>>
>>> If you're just trying to make a list of things tagged "todo" that also 
>>> have a category field, then this seems to do it:
>>>
>>> <>
>>>
>>>
>>>
>>> On Friday, February 21, 2020 at 8:23:59 AM UTC-8, T. E. Sanders wrote:

 tried   <>>> subFilter:"[field[category]has{!!category}]" >> but got the error which I 
 think is because this is a "sub filter" that gets concatenated. 
 so tried   <>>> subFilter:"field[category]has{!!category}" >>. without it. No error, but 
 still nothing returned. 
 I feel like I'm close the the magic syntax though. 

 On Friday, February 21, 2020 at 10:20:02 AM UTC-6, Mark S. wrote:
>
> Sadly it means I need to increase the zoom on my screen. All those 
> braces and brackets running together.
>
> Thanks!
>
> On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:
>>
>>
>> You left an extra "[" in your reply.   I'm sure it was just an 
>> editing oops! it should read: 
>> [field{!!category}]
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/177c633b-3224-49e7-aeb0-e3f52e6c7681%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
For anyone looking to create a heading delimited list like what I've 
outlined here that you can reorder, this is the working version:

<$list filter="[tag[todo]sort[title]each[category]]">
   <$view field='category'/>
   <$set name="category" value="""<$view field='category'/>""">
   
  <>
   



notice the field:fieldname{!!fieldvalue} is the syntax for filtering 
something by the value of a tiddler's field. 

Thanks for pushing me along Mark.

On Friday, February 21, 2020 at 10:44:27 AM UTC-6, T. E. Sanders wrote:
>
> Yes, that does pull up the todo list with the field category, so at least 
> I know the subFilters aren't broken :)
>
> What I'm trying to do though is like this:
>
> tagged: todo
>
> field: category with values like "today" or "next week" etc. It's a "type" 
> of todo.
>
> Looping over todos, then using the category as a heading over "types" of 
> todos. The list looks like:
>
> today:
>   -- make a filter
>   -- don't lose my mind
>
> next week
>   -- use my todo list
>   -- do stuff
>
>
> I got this to work with a regular list within a list and it looked like 
> the above. I wanted to do it with the draggable list as the inner list 
> instead. Which it should be able to do with a subfilter. 
>
> The subfilter needs to filter the current tiddler (which I think the 
> draggable macro already does)  against the value of the field "category."  
> I was sure something like field[category]has[today] would work, but 
> something ain't right.
>
> On Friday, February 21, 2020 at 10:30:20 AM UTC-6, Mark S. wrote:
>>
>> If you're just trying to make a list of things tagged "todo" that also 
>> have a category field, then this seems to do it:
>>
>> <>
>>
>>
>>
>> On Friday, February 21, 2020 at 8:23:59 AM UTC-8, T. E. Sanders wrote:
>>>
>>> tried   <>> subFilter:"[field[category]has{!!category}]" >> but got the error which I 
>>> think is because this is a "sub filter" that gets concatenated. 
>>> so tried   <>> subFilter:"field[category]has{!!category}" >>. without it. No error, but 
>>> still nothing returned. 
>>> I feel like I'm close the the magic syntax though. 
>>>
>>> On Friday, February 21, 2020 at 10:20:02 AM UTC-6, Mark S. wrote:

 Sadly it means I need to increase the zoom on my screen. All those 
 braces and brackets running together.

 Thanks!

 On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:
>
>
> You left an extra "[" in your reply.   I'm sure it was just an editing 
> oops! it should read: 
> [field{!!category}]
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fd9a2694-d12e-4482-bcdb-f7ea0c8bef8d%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
Yes, that does pull up the todo list with the field category, so at least I 
know the subFilters aren't broken :)

What I'm trying to do though is like this:

tagged: todo

field: category with values like "today" or "next week" etc. It's a "type" 
of todo.

Looping over todos, then using the category as a heading over "types" of 
todos. The list looks like:

today:
  -- make a filter
  -- don't lose my mind

next week
  -- use my todo list
  -- do stuff


I got this to work with a regular list within a list and it looked like the 
above. I wanted to do it with the draggable list as the inner list instead. 
Which it should be able to do with a subfilter. 

The subfilter needs to filter the current tiddler (which I think the 
draggable macro already does)  against the value of the field "category."  
I was sure something like field[category]has[today] would work, but 
something ain't right.

On Friday, February 21, 2020 at 10:30:20 AM UTC-6, Mark S. wrote:
>
> If you're just trying to make a list of things tagged "todo" that also 
> have a category field, then this seems to do it:
>
> <>
>
>
>
> On Friday, February 21, 2020 at 8:23:59 AM UTC-8, T. E. Sanders wrote:
>>
>> tried   <> subFilter:"[field[category]has{!!category}]" >> but got the error which I 
>> think is because this is a "sub filter" that gets concatenated. 
>> so tried   <> subFilter:"field[category]has{!!category}" >>. without it. No error, but 
>> still nothing returned. 
>> I feel like I'm close the the magic syntax though. 
>>
>> On Friday, February 21, 2020 at 10:20:02 AM UTC-6, Mark S. wrote:
>>>
>>> Sadly it means I need to increase the zoom on my screen. All those 
>>> braces and brackets running together.
>>>
>>> Thanks!
>>>
>>> On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:


 You left an extra "[" in your reply.   I'm sure it was just an editing 
 oops! it should read: 
 [field{!!category}]




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6d870ed6-ff8f-414e-b9ff-999d12caa457%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread 'Mark S.' via TiddlyWiki
If you're just trying to make a list of things tagged "todo" that also have 
a category field, then this seems to do it:

<>



On Friday, February 21, 2020 at 8:23:59 AM UTC-8, T. E. Sanders wrote:
>
> tried   < subFilter:"[field[category]has{!!category}]" >> but got the error which I 
> think is because this is a "sub filter" that gets concatenated. 
> so tried   < subFilter:"field[category]has{!!category}" >>. without it. No error, but 
> still nothing returned. 
> I feel like I'm close the the magic syntax though. 
>
> On Friday, February 21, 2020 at 10:20:02 AM UTC-6, Mark S. wrote:
>>
>> Sadly it means I need to increase the zoom on my screen. All those braces 
>> and brackets running together.
>>
>> Thanks!
>>
>> On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:
>>>
>>>
>>> You left an extra "[" in your reply.   I'm sure it was just an editing 
>>> oops! it should read: 
>>> [field{!!category}]
>>>
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68b4eed9-cac6-42a6-9550-f872258cfae1%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
tried   <> but got the error which I 
think is because this is a "sub filter" that gets concatenated. 
so tried   <>. without it. No error, but 
still nothing returned. 
I feel like I'm close the the magic syntax though. 

On Friday, February 21, 2020 at 10:20:02 AM UTC-6, Mark S. wrote:
>
> Sadly it means I need to increase the zoom on my screen. All those braces 
> and brackets running together.
>
> Thanks!
>
> On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:
>>
>>
>> You left an extra "[" in your reply.   I'm sure it was just an editing 
>> oops! it should read: 
>> [field{!!category}]
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f016c82b-374c-491b-a1c2-c1acee230934%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
Actually, looking at the code for that draggable, it concats the subFilter 
into the main filter, so I guess I should be leaving off the [] you'd 
normally surround a filter with (assuming that's how you normally do it). 
So I tried that, and I don't get the error anymore, but it doesn't actually 
sub filter these based on the field called "category" with the, now 
hardcoded for testing value. I'm sure it's just a syntax thing on my end.

On Friday, February 21, 2020 at 10:11:12 AM UTC-6, Eric Shulman wrote:
>
> On Friday, February 21, 2020 at 8:00:10 AM UTC-8, Mark S. wrote:
>>
>> I don't know if this will fix your particular problem, but the filter 
>> (subfilter) should look like:
>> [field[{!!category}]
>> Basically, you use double braces {{...}} and double angle brackets 
>> <<...>> outside of filters, and single braces {...} and single angle 
>> brackets <...> inside of filters.
>>
>
> You left an extra "[" in your reply.   I'm sure it was just an editing 
> oops! it should read: 
> [field{!!category}]
>
> i.e., Outer square brackets surrounding the filter, single curly braces 
> for the filter parameter.
>
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec54d3d2-6831-49a6-ae21-a7a66de7d269%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread 'Mark S.' via TiddlyWiki
Sadly it means I need to increase the zoom on my screen. All those braces 
and brackets running together.

Thanks!

On Friday, February 21, 2020 at 8:11:12 AM UTC-8, Eric Shulman wrote:
>
>
> You left an extra "[" in your reply.   I'm sure it was just an editing 
> oops! it should read: 
> [field{!!category}]
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/03d6c9e8-ca22-4e0b-b98e-20f26ddad838%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread 'Mark S.' via TiddlyWiki
This


  <>

should be


  <>


I guess the other piece of the filter rules that I should have mentioned is 
that braces {}
and angle brackets <...> replace the square brackets [] of their respective 
filter 
operators. e.g. sort[bystuff] becomes sort

Good luck!

On Friday, February 21, 2020 at 8:14:48 AM UTC-8, T. E. Sanders wrote:
>
> Thanks Mark, that's good to know! I've played around with transcluding my 
> filter inline to see what I can get, but nothing so far. I also put
>
>   < subFilter:"[field[category]has[{!!category}]]" >>
>
> as my filter as a test and got "Filter error: Syntax error in filter 
> expression 
> <#e6efa5f7-b393-4673-8144-62a507068023@googlegroups.com_Filter%20error%3A%20Syntax%20error%20in%20filter%20expression>".
>  
> Even dropped it down to
>   <>. 
> and still get that error. I can't see anything wrong with this filter. 
> What could I be missing? 
>
>
> On Friday, February 21, 2020 at 10:00:10 AM UTC-6, Mark S. wrote:
>>
>> I don't know if this will fix your particular problem, but the filter 
>> (subfilter) should look like:
>>
>> [field[{!!category}]
>>
>> Basically, you use double braces {{...}} and double angle brackets 
>> <<...>> outside of filters, and single braces {...} and single angle 
>> brackets <...> inside of filters.
>>
>> On Friday, February 21, 2020 at 7:53:33 AM UTC-8, T. E. Sanders wrote:
>>>
>>> Goodmorning all. Given that I know the value of the field "category" 
>>> what syntax does one need to make this subFilter work?
>>>
>>><>> subFilter:"[field[{{!!category}}]]" >>
>>>
>>> I've tried things like:
>>> field[]has[{{!!category}}] but of course, nope.
>>>
>>>
>>>
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8027dfd-8008-41de-89cd-f0ed1355f47f%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
Thanks Mark, that's good to know! I've played around with transcluding my 
filter inline to see what I can get, but nothing so far. I also put

  <>

as my filter as a test and got "Filter error: Syntax error in filter 
expression <#Filter%20error%3A%20Syntax%20error%20in%20filter%20expression>". 
Even dropped it down to
  <>. 
and still get that error. I can't see anything wrong with this filter. What 
could I be missing? 


On Friday, February 21, 2020 at 10:00:10 AM UTC-6, Mark S. wrote:
>
> I don't know if this will fix your particular problem, but the filter 
> (subfilter) should look like:
>
> [field[{!!category}]
>
> Basically, you use double braces {{...}} and double angle brackets <<...>> 
> outside of filters, and single braces {...} and single angle brackets <...> 
> inside of filters.
>
> On Friday, February 21, 2020 at 7:53:33 AM UTC-8, T. E. Sanders wrote:
>>
>> Goodmorning all. Given that I know the value of the field "category" what 
>> syntax does one need to make this subFilter work?
>>
>><> >>
>>
>> I've tried things like:
>> field[]has[{{!!category}}] but of course, nope.
>>
>>
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6efa5f7-b393-4673-8144-62a507068023%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread Eric Shulman
On Friday, February 21, 2020 at 8:00:10 AM UTC-8, Mark S. wrote:
>
> I don't know if this will fix your particular problem, but the filter 
> (subfilter) should look like:
> [field[{!!category}]
> Basically, you use double braces {{...}} and double angle brackets <<...>> 
> outside of filters, and single braces {...} and single angle brackets <...> 
> inside of filters.
>

You left an extra "[" in your reply.   I'm sure it was just an editing 
oops! it should read: 
[field{!!category}]

i.e., Outer square brackets surrounding the filter, single curly braces for 
the filter parameter.

-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61450072-0810-4d61-b744-d3a6ba47352d%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread 'Mark S.' via TiddlyWiki
I don't know if this will fix your particular problem, but the filter 
(subfilter) should look like:

[field[{!!category}]

Basically, you use double braces {{...}} and double angle brackets <<...>> 
outside of filters, and single braces {...} and single angle brackets <...> 
inside of filters.

On Friday, February 21, 2020 at 7:53:33 AM UTC-8, T. E. Sanders wrote:
>
> Goodmorning all. Given that I know the value of the field "category" what 
> syntax does one need to make this subFilter work?
>
>< >>
>
> I've tried things like:
> field[]has[{{!!category}}] but of course, nope.
>
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/129be31b-afd1-4d32-93a6-65d0d143dba0%40googlegroups.com.


[tw5] Re: (new here …) count the number of non-system fields

2020-02-21 Thread 'Mark S.' via TiddlyWiki
I think the approach that is both database-driven and tiddlywiki-friendly 
is tiddlers by verse. The tools for filtering and editing are 
tiddler-oriented. Verses in fields will be somewhat opaque. 

Good luck!

On Friday, February 21, 2020 at 1:59:55 AM UTC-8, Martin wrote:
>
> Thanks, Mark, for the example and the explanations.
>
> I'd like to leave the tiddlers with the text of the bible untouched — this 
> gives me the possibility to change to another bible version, without 
> loosing my annotations. So I work with a system of index numbers to weave 
> everything together: each book of the bible has his number, and chapters 
> and verses are already numbered as well. This is kind of a 
> database-approach — perhaps you will say this isn't the tiddlywiki-way of 
> doing things. But at the moment I think the underlaying system gives 
> everything I need, and I will progress — slowly, because I cannot take too 
> much time for this.
>
> Martin
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3504eb53-118b-4db1-b74f-2f683e395ef6%40googlegroups.com.


[tw5] Re: Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
Also tried field[category]has[{{!!category}}]. which made sense, but 
doesn't seem to work either.

On Friday, February 21, 2020 at 9:53:33 AM UTC-6, T. E. Sanders wrote:
>
> Goodmorning all. Given that I know the value of the field "category" what 
> syntax does one need to make this subFilter work?
>
>< >>
>
> I've tried things like:
> field[]has[{{!!category}}] but of course, nope.
>
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/257583e5-ef39-4bb3-b4c6-44a7564c36fb%40googlegroups.com.


[tw5] Filter syntax for filtering by field value

2020-02-21 Thread T. E. Sanders
Goodmorning all. Given that I know the value of the field "category" what 
syntax does one need to make this subFilter work?

   <>

I've tried things like:
field[]has[{{!!category}}] but of course, nope.




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45b838f3-3055-4100-8985-b45d12ef5130%40googlegroups.com.


[tw5] Re: global Macro for new tiddler from templates

2020-02-21 Thread 'Mark S.' via TiddlyWiki

You can use the edittext widget to allow input, if that's what you mean:

\define NeuerZyklus(Kennzeichen Sache Jahr)
<$button>''$Sache$''Jahr - ''$Jahr$''
<$action-createtiddler $basetitle="$Sache$ - $Jahr$" tags="[[$Kennzeichen$]] 
[[$Sache$]]" text={{$Sache$ - Jahr}} />

\end
<$vars ph="Geben Sie den Text für den Tiddler ein">
Sache: <$edit-text tiddler="$:/temp/Sache" tag=input size=50 
placeHolder=<> default="Sache"/>
Kennzeichen: <$edit-text tiddler="$:/temp/Kennzeichen" tag=input size=50 
 placeHolder=<> default="Kennzeichen"/>
Jahr: <$edit-text tiddler="$:/temp/Jahr" tag=input size=10 
placeHolder=<> default="2020"/>

<$macrocall $name=NeuerZyklus Kennzeichen={{$:/temp/Kennzeichen}} 
 Sache={{$:/temp/Sache}} Jahr={{$:/temp/Jahr}} />




On Friday, February 21, 2020 at 5:14:46 AM UTC-8, Gerald Weis wrote:
>
> Hi Mark
>
>
> i have the macro a little extended.
> now the code is
>
> \define NeuerZyklus(Kennzeichen Sache Jahr)
> <$button>''$Sache$''Jahr - ''$Jahr$''
> <$action-createtiddler $basetitle="$Sache$ - $Jahr$" 
> tags="[[$Kennzeichen$]] [[$Sache$]]" text={{$Sache$ - Jahr}} />
> 
> \end
>
> Now i have detected that i every time whlen i want write an new tiddler 
> with this macro i must change the macrocall.
> That is not so good. - My mistake sorry.
>
> Is it posible to create an inputfield where enables the data to be 
> circulated with the Variables into the macro?
>
> thanks for your help
>
>
> 
>
>
> 
> Beispiele
>
> How i do that?
>
> thanks for your help
>
> Am Donnerstag, 20. Februar 2020 21:14:44 UTC+1 schrieb Mark S.:
>>
>> Try changing the tag attribute like this:
>>
>> tags="[[$Kennzeichen$]] [[$Sache$]]" 
>>
>> On Thursday, February 20, 2020 at 12:00:15 PM UTC-8, Gerald Weis wrote:
>>>
>>> Hi Mark,
>>>
>>> yes it do what i want.
>>>
>>> but i have an problem
>>>
>>> some tags have mor as one word.
>>> than make this makro more as one tag from this.
>>>
>>> example tag is "Reparatur und Wartung"
>>> the Macro make the tags "Reparatur" "und" "Wartung"
>>>
>>> what can i do that the tag ist one expression?
>>>
>>> thanks
>>>
>>> Am Donnerstag, 20. Februar 2020 16:03:52 UTC+1 schrieb Mark S.:

 There are at least 3 ways to make new tiddlers in TW. Of these, only 
 the ActionCreateWidget will automatically prevent overwriting titles. ACW 
 also has the advantage that it doesn't open your tiddler in edit mode.

 In your original you had text="{{transclusion}}" . You can not do that. 
 You must use text={{transclusion}} . Otherwise, the actual text will be 
 "{{transclusion}}" and not the transcluded content.

 In your example, <$action-sendmessage was not closed on the end with 
 "/>".  Always do a double-check to make sure that all tags are matched by 
 their anti-tag 
 (e.g.    or that a single tag is closed on the end 
 with "/>" .

 In your original example, I did not know what $:/tags/Template did or 
 what it's contents were. So I removed it for my test. 

 This version works, though I don't know if it does exactly what you 
 intended:

 \define testknopf(Kennzeichen Sache)
 <$button>Mein Knopf
 <$action-createtiddler $basetitle="$Sache$ - Jahr" tags="$Kennzeichen$ 
 $Sache$" text={{Benzin - Jahr}} />
 
 \end

 <>

 If you press the button twice, it will make a new tiddler based on the 
 name, but will not over write the first one.

 HTH

 On Thursday, February 20, 2020 at 5:57:13 AM UTC-8, Gerald Weis wrote:
>
> Hi folks,
>
> i need help.
>
> i want to create a new tiddler from templates.
> The cocept ist, the macro shoud be global.
>
> \define testknopf(Kennzeichen Sache)
>
> <$button>
> <$action-sendmessage $message="tm-new-tiddler" title="$Sache$ - Jahr" 
> tags=$Kennzeichen$ $Sache$ text="{{Benzin - Jahr||$:/tags/Template}}"
> 
> \end
>
> This macro shoud do the follow things:
> 1. create a new tiddler
> 2. load the templatetiddler with Name where is compsite form "$Sache$ 
> - Jahr"
> 3. transclude the content of templatetiddler in  the new tiddler 
> 4. disable the templatetag in the new tiddler
> 4. close the templatetiddler
>
> my Templatetiddler is tagged with $:/tags/Template
>
> what ist wrong?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78b38021-e623-4be4-a4b9-48db81a48d6f%40googlegroups.com.


[tw5] Re: Simple Two Level TOC Generator with Entry Highlighting and Simple Navigation

2020-02-21 Thread Mohammad
The simple two level non recursive TOC and navigation builder has got a 
repo home on GitHub and can be used as a small plugin!

demo: https://kookma.github.io/TW-TOC/
code: https://github.com/kookma/TW-TOC

It now supports the recursive multilevel TOC and navigation builder.
Special tanks go to Eric Shulman, TonyM, Matt, and PMario.

-- Mohammad
 

TOC Plugin
21st February 2020 at 4:39pm
start

Tiddlywiki5.1.21+
 
LicenseMIT
 
Release1.0
 
Statusstatble

What is TOC plugin?

TOC plugin contains several macros, stylesheets and templates to create 
table of contents and navigator buttons. In contrast to Tiddlywiki core 
macros, the TOC plugin has many extra features including

   - non recursive two level toc
   - hierarchical navigation
   - recursive multi level toc
   - exclude feature to exclude a branch or specific entries

Install

Packaged plugin
   
   1. Drag and drop $:/plugins/kookma/toc 
    into 
   your wiki
   2. Save and reload your wiki (for TW 5.1.21-)

Client-Server installation (separate files)
   
   - For Node.js (server version) download the utility folder from source 
    folder and paste in your Tiddlywiki 
   plugins folder
   - For local installation put the utility folder into your local plugins 
   folder under your wiki folder

*It is highly recommended to backup your data before trying any new plugin! 
Do it before installing TOC plugin*

Tutorials

TOC Tutorial  is a good 
point to start. Also have a look at individual demo.


   1. Two level non recursive TOC 
   
   2. Multi level recursive TOC 
   

History

Revision 1.0.0
   
   - Date: [21 Feb 2020]
   - [NEW] documentation improved
   - [NEW] code polished
   - [NEW] common macros and styles mereged

For all changes see History 


Acknowledgement


   - Eric Shulman
   - Mat
   - TonyM
   - PMario

Reference


   - http://kookma.toc.tiddlyspot.com/
   - https://groups.google.com/d/msg/tiddlywiki/RTzc2MGT__Y/KlPVMP5tEwAJ

License


   - Distributed under an MIT license 
   



On Tuesday, February 18, 2020 at 1:01:59 AM UTC+3:30, Mohammad wrote:
>
> Based on the discussion here 
> https://groups.google.com/d/msg/tiddlywiki/RTzc2MGT__Y/AEfGglcREgAJ
>
> I have made a NON-RECURSIVE two level TOC generator sports entry 
> highlighting in Table of Contents and simple navigation buttons
> as tiddler footer.
>
> I think this TOC can be used in many simple small flat organized wiki! It 
> gives some linearity to TW and helps to create small tutorial, essay, 
> report,...
>
> You can find it here
>
> http://kookma.toc.tiddlyspot.com/
>
> Many thanks to Tony who fired the discussion, Eric who really helped with 
> snippets and also Mat, Scott, bimlas.
>
> --Mohammad
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/483a914c-0703-47bc-a154-7b2a24b45932%40googlegroups.com.


Re: [tw5] TiddlyWiki on HackADay.com

2020-02-21 Thread TiddlyTweeter
Ste Wilson wrote:
>
>  It's on't t'workspace.. :)
>

Me chuck, that ain't gonna work :-)

TT 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/03c8addf-ff29-4b8a-873c-75a9a3313267%40googlegroups.com.


Re: [tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread Mohammad Rahmani
That's fine. You are right. It should be added to release in master branch.

On Fri, Feb 21, 2020, 6:05 PM bimlas  wrote:

> Mohammad,
>
>
>> I mean to display the latest changes on the landing page like
>> {{latestChange}}
>>
>
> Do you think I should include changes to the documentation in changelog?
> Since the code is modified in the `dev` branch and the documentation is in
> the` master`, I do not know exactly how to organize the changelog so that
> it can be changed independently (actuallyr Git can merge the changes).
>
> I've added more descriptions to the "Very quick tutorial".
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/5771723e-bab0-4772-95ea-ec7444764965%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAF_MCVFfjqcQm5EqK8avxqEPaMEu2BdzAi920nR1_HCA%40mail.gmail.com.


[tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread bimlas
Mohammad,
 

> I mean to display the latest changes on the landing page like 
> {{latestChange}}
>

Do you think I should include changes to the documentation in changelog? 
Since the code is modified in the `dev` branch and the documentation is in 
the` master`, I do not know exactly how to organize the changelog so that 
it can be changed independently (actuallyr Git can merge the changes).

I've added more descriptions to the "Very quick tutorial". 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5771723e-bab0-4772-95ea-ec7444764965%40googlegroups.com.


[tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread Mohammad
It seems I caused confusion! Sorry

On Friday, February 21, 2020 at 5:22:37 PM UTC+3:30, bimlas wrote:
>
> Mohammad,
>
> A minor comment (update the change log and put a transcluded tiddler show 
>> the latest change)
>>
>
> What do you mean by a transcluded tiddler?
>

I mean to display the latest changes on the landing page like 
{{latestChange}}

 

>  
>
>> I could not find examples!
>>
>
> Examples of what? The changes? Sorry, but I don't understand. If you're 
> curious about the changes: 
> https://gitlab.com/bimlas/tw5-locator/compare/master...dev 
>

This related to previous comments to add more examples of using locator! 

Thank you for your efforts.

--Mohammad
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60d877c9-bb1a-4aee-be8a-ade1327d51ad%40googlegroups.com.


[tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread bimlas
Mohammad,

A minor comment (update the change log and put a transcluded tiddler show 
> the latest change)
>

What do you mean by a transcluded tiddler?
 

> I could not find examples!
>

Examples of what? The changes? Sorry, but I don't understand. If you're 
curious about the changes: 
https://gitlab.com/bimlas/tw5-locator/compare/master...dev 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf27ff27-7872-4fca-ba2e-359d5a2ca384%40googlegroups.com.


[tw5] Re: global Macro for new tiddler from templates

2020-02-21 Thread PMario
Hi Folks, 

I did create a PR at github, that should make actions like this very 
simple. It improves the action-createtiddler widget with a $template and 
$overwrite parameter. 

Please upvote the PR. 

https://github.com/Jermolene/TiddlyWiki5/pull/4436

have fun!
mario

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/22b946dc-2003-41fe-855d-5c0465a63c0f%40googlegroups.com.


[tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread Mohammad
Thanks bimlas!
The start page is now simpler to follow!

A minor comment (update the change log and put a transcluded tiddler show 
the latest change)
I could not find examples!

--Mohammad

On Friday, February 21, 2020 at 3:44:04 PM UTC+3:30, bimlas wrote:
>
> Dear all,
>
> I try to meet the needs and have developed the plugin further.
>
>>
>>- Write short, easy-to-understand examples where I do not explain in 
>>detail how things work, but just show how the feature works basically. 
>> It's 
>>even better and easier to understand if I make short videos instead of a 
>>description.
>>
>> https://bimlas.gitlab.io/tw5-locator/#Very%20quick%20tutorial
>
> What do you think about this? I imagine I will present all features so 
> concisely like this. I've already written these in different ways, so I 
> don't know which one to keep and which one to delete because users won't 
> read it.
>
>>
>>- The Family Tree of Ford illustrates the plugin better, I use it to 
>>explain it.
>>
>> It seems to be more useful if the user builds the tree himself and then 
> he / she will understand what is happening. 
>
>>
>>- Use less bold text in the tutorial :)
>>
>>  I haven't modified the plugin's own tiddler's text yet, but I use less 
> bold on the main page. :)
>
>>
>>- Find a more talkative name for the plugin (think 
>>"GraphicalListWidget" or similar would be appropriate)
>>- The sidebar can also be opened in the story river because of the 
>>context item templates
>>- Get more help with the user interface itself ("info buttons")
>>- Refine the text color, "Filter by fields" is not always readable
>>- Explain the mindmap features better
>>
>>
> ToDo...
>
> According to David Gifford's comment, I have slightly modified the GUI, I 
> hope it has become clearer (see attachment), please check it out. DO NOT 
> USE IN REAL WIKI, IT'S UNDER DEVELOPMENT as usual.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf05ec79-e9b0-424e-bdcb-ac62dcfe49ea%40googlegroups.com.


[tw5] Re: global Macro for new tiddler from templates

2020-02-21 Thread Gerald Weis
Hi Mark


i have the macro a little advanced.
now the code is

\define NeuerZyklus(Kennzeichen Sache Jahr)
<$button>''$Sache$''Jahr - ''$Jahr$''
<$action-createtiddler $basetitle="$Sache$ - $Jahr$" 
tags="[[$Kennzeichen$]] [[$Sache$]]" text={{$Sache$ - Jahr}} />

\end

No i have detected that i every time if i want write an new tiddler with 
this macro i must change the macrocall.
That is not so good. - My mistake sorry.

Is it posible to create an inputfield wich data form the vars in the macro 
can used?
How i do that?

thanks for your help

Am Donnerstag, 20. Februar 2020 21:14:44 UTC+1 schrieb Mark S.:
>
> Try changing the tag attribute like this:
>
> tags="[[$Kennzeichen$]] [[$Sache$]]" 
>
> On Thursday, February 20, 2020 at 12:00:15 PM UTC-8, Gerald Weis wrote:
>>
>> Hi Mark,
>>
>> yes it do what i want.
>>
>> but i have an problem
>>
>> some tags have mor as one word.
>> than make this makro more as one tag from this.
>>
>> example tag is "Reparatur und Wartung"
>> the Macro make the tags "Reparatur" "und" "Wartung"
>>
>> what can i do that the tag ist one expression?
>>
>> thanks
>>
>> Am Donnerstag, 20. Februar 2020 16:03:52 UTC+1 schrieb Mark S.:
>>>
>>> There are at least 3 ways to make new tiddlers in TW. Of these, only the 
>>> ActionCreateWidget will automatically prevent overwriting titles. ACW 
>>> also has the advantage that it doesn't open your tiddler in edit mode.
>>>
>>> In your original you had text="{{transclusion}}" . You can not do that. 
>>> You must use text={{transclusion}} . Otherwise, the actual text will be 
>>> "{{transclusion}}" and not the transcluded content.
>>>
>>> In your example, <$action-sendmessage was not closed on the end with 
>>> "/>".  Always do a double-check to make sure that all tags are matched by 
>>> their anti-tag 
>>> (e.g.    or that a single tag is closed on the end 
>>> with "/>" .
>>>
>>> In your original example, I did not know what $:/tags/Template did or 
>>> what it's contents were. So I removed it for my test. 
>>>
>>> This version works, though I don't know if it does exactly what you 
>>> intended:
>>>
>>> \define testknopf(Kennzeichen Sache)
>>> <$button>Mein Knopf
>>> <$action-createtiddler $basetitle="$Sache$ - Jahr" tags="$Kennzeichen$ 
>>> $Sache$" text={{Benzin - Jahr}} />
>>> 
>>> \end
>>>
>>> <>
>>>
>>> If you press the button twice, it will make a new tiddler based on the 
>>> name, but will not over write the first one.
>>>
>>> HTH
>>>
>>> On Thursday, February 20, 2020 at 5:57:13 AM UTC-8, Gerald Weis wrote:

 Hi folks,

 i need help.

 i want to create a new tiddler from templates.
 The cocept ist, the macro shoud be global.

 \define testknopf(Kennzeichen Sache)

 <$button>
 <$action-sendmessage $message="tm-new-tiddler" title="$Sache$ - Jahr" 
 tags=$Kennzeichen$ $Sache$ text="{{Benzin - Jahr||$:/tags/Template}}"
 
 \end

 This macro shoud do the follow things:
 1. create a new tiddler
 2. load the templatetiddler with Name where is compsite form "$Sache$ - 
 Jahr"
 3. transclude the content of templatetiddler in  the new tiddler 
 4. disable the templatetag in the new tiddler
 4. close the templatetiddler

 my Templatetiddler is tagged with $:/tags/Template

 what ist wrong?



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/77b58a52-18e9-422c-9bf1-c83ad3c8b3dc%40googlegroups.com.


[tw5] Re: Locator 2.0.0: Innovative table of contents and search plugin (any field as tags; visual filter builder; mindmap)

2020-02-21 Thread bimlas
Dear all,

I try to meet the needs and have developed the plugin further.

>
>- Write short, easy-to-understand examples where I do not explain in 
>detail how things work, but just show how the feature works basically. 
> It's 
>even better and easier to understand if I make short videos instead of a 
>description.
>
> https://bimlas.gitlab.io/tw5-locator/#Very%20quick%20tutorial

What do you think about this? I imagine I will present all features so 
concisely like this. I've already written these in different ways, so I 
don't know which one to keep and which one to delete because users won't 
read it.

>
>- The Family Tree of Ford illustrates the plugin better, I use it to 
>explain it.
>
> It seems to be more useful if the user builds the tree himself and then he 
/ she will understand what is happening. 

>
>- Use less bold text in the tutorial :)
>
>  I haven't modified the plugin's own tiddler's text yet, but I use less 
bold on the main page. :)

>
>- Find a more talkative name for the plugin (think 
>"GraphicalListWidget" or similar would be appropriate)
>- The sidebar can also be opened in the story river because of the 
>context item templates
>- Get more help with the user interface itself ("info buttons")
>- Refine the text color, "Filter by fields" is not always readable
>- Explain the mindmap features better
>
>
ToDo...

According to David Gifford's comment, I have slightly modified the GUI, I 
hope it has become clearer (see attachment), please check it out. DO NOT 
USE IN REAL WIKI, IT'S UNDER DEVELOPMENT as usual.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b640395a-526a-4934-aec1-c84e08378125%40googlegroups.com.


$__plugins_bimlas_locator-DEV.json
Description: application/json


Re: [tw5] TiddlyWiki on HackADay.com

2020-02-21 Thread Ste Wilson
To circle back to a couple of previous points.. 

A while ago someone linked to https://www.ryeboard.com/.. 

It doesn't do most of what tiddlywiki does (work on mobile for example) ... But 
it looks s shiny... 

And we are still struggling for a robust multi column drag and drop thingy... 

I think that's at least one hurdle. It doesn't 'ping'. 

I think the editions thing is also a valuable point. A slick landing page for 
tiddlywiki.com three editions.. The blank one..hadcore! Build it yourself! The 
get your website running straight away one which sets you up a tiddly spot or 
the something like and comes with toc and presents some optional plugins as 
part of the set up. Finally the slick one... Loaded to the eyeballs with 
browser/ processor melting eye candy.. a gui for making filters... Bells.. 
Whistles..! 

I think a name change.. Is perhaps not the biggest problem. But.. Because why 
not.. My suggetions

Just 'TW'. Or THEWiki.. TWorkspace (though sounds a bit like twerk! But could 
be said in a northern uk accent.. It's on't t'workspace.. :) 


Like your tag lines Eric! 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4dcb03a5-fceb-48c8-a6b2-c3e67f7ef41c%40googlegroups.com.


[tw5] Re: (new here …) count the number of non-system fields

2020-02-21 Thread Martin
Thanks, Mark, for the example and the explanations.

I'd like to leave the tiddlers with the text of the bible untouched — this 
gives me the possibility to change to another bible version, without 
loosing my annotations. So I work with a system of index numbers to weave 
everything together: each book of the bible has his number, and chapters 
and verses are already numbered as well. This is kind of a 
database-approach — perhaps you will say this isn't the tiddlywiki-way of 
doing things. But at the moment I think the underlaying system gives 
everything I need, and I will progress — slowly, because I cannot take too 
much time for this.

Martin


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4da437a1-96ee-4234-91f4-3c10e0282dd1%40googlegroups.com.


[tw5] Re: Create Non-Existing Tiddler from Search

2020-02-21 Thread PMario
Hi, 
See: 
https://wikilabs.github.io/#new-tiddler-from-search:new-tiddler-from-search%20GettingStarted
-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/97f9efd3-bedc-4c3f-b802-40c0df6f1e16%40googlegroups.com.


Re: [tw5] Re: $linkcatcher widget, need an example

2020-02-21 Thread Mohammad
Yep,
 Thank you Eric!

--Mohammad

On Friday, February 21, 2020 at 12:37:10 PM UTC+3:30, Eric Shulman wrote:
>
> On Friday, February 21, 2020 at 12:20:37 AM UTC-8, Mohammad wrote:
>>
>> Many thanks Eric. This is a great solution.
>>
>> In my opinion, the $button here is more clear and semantic and for me is 
>> quite understandable.
>> The issue I have is I cannot drag the link like what I see in Open or 
>> Recent tabs in the sidebar and I need to have that feature.
>>
>
> The $button widget has an optional "dragTiddler" parameter for enabling 
> dragging.  For this use case:
>  <$button class="tc-btn-invisible" dragTiddler=<>>
>
> -e 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/25ccd1a9-dc16-4cc7-8aea-c40fb6a09e35%40googlegroups.com.


[tw5] Re: Showing sections matching a list of values

2020-02-21 Thread Eric Shulman
On Friday, February 21, 2020 at 12:28:34 AM UTC-8, Luis Gonzalez wrote:
>
> I have a section, <> that I want to show when the field 
> "status" is fold or partial or order. Now I repeat the code three times:
> Is there any way to make it easier?
>

You can use the $list widget to check to see if the status field matches 
any a set of possible values.  Something like this:
\define my-macro()
<$list filter="[[fold]]   [[partial]] [[sort]] +[match{!!status}]"> <> 
<$list filter="[[unfold]] [[unsort]]   +[match{!!status}]"> 
<>   
\end

enjoy,
-e
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4acbd3d9-2833-4499-816e-8d21a2c41c34%40googlegroups.com.


[tw5] Re: Tiddlywiki as an Application

2020-02-21 Thread TiddlyTweeter
Further thought ...

*Would user editing have to be offline?* Would a cloud save do?

Not that I am fully clear on the options, but they exist.

Your question is interesting practically.

Best wishes
TT

On Thursday, 20 February 2020 19:21:03 UTC+1, Dave wrote:
>
> I'm thinking of making a TW that summarizes a course I recently took and 
> could potentially act as a clinical guide to practitioners as they practice 
> / work.  
>
> If I view it as a complete entity with no more editing to be done I could 
> just distribute the TW file and be done with it.
>
> If however I intend for the user to modify their file and save changes 
> that adds complexity to the user experience with the user suddenly having 
> to either figure 
> out how to modify their browser to save changes or at least know to go to 
> the downloads folder to use the most recently saved version.
>
>
> Is there currently any way to make a TW that can be given to a complete 
> novice that allows them to make changes and not have to step out of the "TW 
> experience"
> any further than just double-clicking the file to open it up again?  I 
> would imagine maybe a way to bundle a tiddlywikidesktop instance with it as 
> "the program that runs TW",
> but I don't know how easy that would be on Mac or Windows (as I'm on Linux 
> and the install is more complicated than just "open this file with this 
> program")
>
>
> Thanks,
>
> - Dave
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9de579f2-3edd-4958-a5ba-01e3a41b2358%40googlegroups.com.


Re: [tw5] Re: $linkcatcher widget, need an example

2020-02-21 Thread Eric Shulman
On Friday, February 21, 2020 at 12:20:37 AM UTC-8, Mohammad wrote:
>
> Many thanks Eric. This is a great solution.
>
> In my opinion, the $button here is more clear and semantic and for me is 
> quite understandable.
> The issue I have is I cannot drag the link like what I see in Open or 
> Recent tabs in the sidebar and I need to have that feature.
>

The $button widget has an optional "dragTiddler" parameter for enabling 
dragging.  For this use case:
 <$button class="tc-btn-invisible" dragTiddler=<>>

-e 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0869de59-c64c-4e13-ba37-34e3b3b64fe6%40googlegroups.com.


[tw5] Showing sections matching a list of values

2020-02-21 Thread Luis Gonzalez
I have a section, <> that I want to show when the field 
"status" is fold or partial or order. Now I repeat the code three times:


\define my-macro()
<$reveal state="!!status" type="match" text="fold">
<>


<$reveal state="!!status" type="match" text="partial">
<>


<$reveal state="!!status" type="match" text="sort">
<>



<$reveal state="!!status" type="status" text="unfold">
<>


<$reveal state="!!status" type="match" text="unsort">
<>

\end




Is there any way to make it easier?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27a2900e-9233-4486-9ae8-8dece2209992%40googlegroups.com.


Re: [tw5] Re: $linkcatcher widget, need an example

2020-02-21 Thread Mohammad Rahmani
Many thanks Eric. This is a great solution.

In my opinion, the $button here is more clear and semantic and for me is
quite understandable.
The issue I have is I cannot drag the link like what I see in Open or
Recent tab in the sidebar and I need to have that feature.

What do you think?


Best wishes
Mohammad


On Fri, Feb 21, 2020 at 11:42 AM Eric Shulman  wrote:

> On Thursday, February 20, 2020 at 11:03:58 PM UTC-8, Mohammad wrote:
>>
>> I am using $link to create some links using $list widget!
>> I want to save the title of clicked item in a temporary tiddler for
>> further processing. We know the $link widget does not supports actions
>> How can I do this?
>>
>
> How about using a $button instead of the $link widget?  Something like
> this:
>
> \define showlink(item)
> <$tiddler tiddler=<<__item__>>>
><$button class="tc-btn-invisible">
>   <$view field="caption"><$view field="title"/>
>   <$action-setfield $tiddler=<> text=< >> />
>   <$action-navigate />
>
> 
> \end
>
> Note: I used the <$tiddler> widget to set the <> to the
> <<__item__>>.  This is just so the $view and $action-navigate widgets can
> use their default parameters for $tiddler and $to
>
> -e
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/9b73736b-9c22-41a3-91f7-da84cad6556a%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDz-yHHAyko9vB9LWAR6e4RVXq6O%2B8cdq0QZseyVe_afA%40mail.gmail.com.


Re: [tw5] Re: $linkcatcher widget, need an example

2020-02-21 Thread Mohammad Rahmani
Tony,
 I will post some examples and will need your review. I found it confusing
and worth to prepare some examples!
I hope other also share their thoughts.


Best wishes
Mohammad


On Fri, Feb 21, 2020 at 11:39 AM TonyM  wrote:

> Thanks for sharing the result Mohammad. I wanted to work on this as well.
>
> Tony
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e94832e3-8dcf-42df-be1d-88aab8b82179%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMC5qysS%2BnWUkbh5UVE2TLp69bgk%2BGTknjGWvoieo_f4Rg%40mail.gmail.com.


[tw5] Re: $linkcatcher widget, need an example

2020-02-21 Thread Eric Shulman
On Thursday, February 20, 2020 at 11:03:58 PM UTC-8, Mohammad wrote:
>
> I am using $link to create some links using $list widget!
> I want to save the title of clicked item in a temporary tiddler for 
> further processing. We know the $link widget does not supports actions
> How can I do this?
>

How about using a $button instead of the $link widget?  Something like this:

\define showlink(item)
<$tiddler tiddler=<<__item__>>>
   <$button class="tc-btn-invisible">
  <$view field="caption"><$view field="title"/>
  <$action-setfield $tiddler=<> text=<> 
/>
  <$action-navigate />
   

\end

Note: I used the <$tiddler> widget to set the <> to the 
<<__item__>>.  This is just so the $view and $action-navigate widgets can 
use their default parameters for $tiddler and $to

-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9b73736b-9c22-41a3-91f7-da84cad6556a%40googlegroups.com.


[tw5] Re: $linkcatcher widget, need an example

2020-02-21 Thread TonyM
Thanks for sharing the result Mohammad. I wanted to work on this as well.

Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e94832e3-8dcf-42df-be1d-88aab8b82179%40googlegroups.com.