[tw5] Re: Very basic macro to play sounds

2022-01-11 Thread paulgilbert2000
Hi,

sorry for the ignorant question , but what format are these sounds ,midi ?

On Thursday, January 6, 2022 at 6:33:57 AM UTC+2 cj.v...@gmail.com wrote:

> For the giggles (a "bonking one's head on a metal pipe" sound), put the 
> following in a tiddler:
>
> <>
>
> <>
>
> So a way to simultaneously play multiple sounds for some goofy effects.
> On Thursday, January 6, 2022 at 12:16:49 AM UTC-4 Charlie Veniot wrote:
>
>> G'day,
>>
>> Download the attached and drag into tiddlywiki.com to import the 3 
>> tiddlers.
>>
>> "I Play Sound on Render" tiddler references the sound macro, playing a 
>> tone upon render of the tiddler.
>>
>> The related macro is in the "Macro" tiddler.
>>
>> The "HTML Sound Player" tiddler is fed by the Macro into an iframe to 
>> execute the javascript that creates the sound.
>>
>> Because sounds at higher frequencies sound obnoxiously loud, I've set 
>> things up to make the higher frequencies less loud and the lower 
>> frequencies louder.
>>
>> Kind of an easy way to generate simple beeps and boops and bell sounds 
>> without much fuss.
>>
>>
>>

-- 
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/85d3f06a-4c09-4b84-b6d5-8c24693829b2n%40googlegroups.com.


[tw5] Re: export tiddler automatically

2021-12-30 Thread paulgilbert2000
Wow,

That was such a pleasant surprise , I was really not expecting this , it is 
exactly what i need :)

thank you very much Eric ,

On Thursday, December 30, 2021 at 8:05:28 PM UTC+2 Eric Shulman wrote:

> Addendum:
> After you press "apply" to set the countdown timer, you will need to press 
> "start" to actually start the countdown.
> Note that after the autosave is triggered, the countdown timer 
> automatically resets and starts counting down again.
> You can press "pause" to suspend the current countdown, or "stop" to halt 
> the countdown.
>
> -e
>
> On Thursday, December 30, 2021 at 10:00:26 AM UTC-8 Eric Shulman wrote:
>
>> On Wednesday, December 29, 2021 at 2:39:23 PM UTC-8 
>> mohamed...@hotmail.com wrote:
>>
>>> Is there  way to export a particular tiddler automatically, so as in 
>>> some scheduled task in the background, that lets say every 30 minutes would 
>>> trigger a command to export a specific tiddler in a particular local
>>>
>>
>> TiddlyTools/Time/AutoSaver 
>> 
>>
>> *Displays a countdown timer in the SideBar that triggers a periodic "file 
>> save" and/or "export tiddlers" action.*
>> Requires: TiddlyTools/Time/CountDown 
>> , 
>> TiddlyTools/Time/Ticker 
>> , 
>> TiddlyTools/Time/action-timeout.js 
>> 
>> Optional: TiddlyTools/Time/Setup 
>> , 
>> $:/config/TiddlyTools/Time 
>> 
>>
>> Copy the above tiddlers into your document and then save-and-reload (so 
>> the action-timeout widget is defined).  The AutoSaver interface is 
>> automatically added to the Sidebar.
>>
>> From the sidebar, press the AutoSaver "gear" button to open a settings 
>> popup.  Clear the "save the file" checkbox if you don't want to autosave 
>> the entire file and check the "export tiddlers" checkbox, then select the 
>> desired tiddler titles from the listbox (use ctrl-click and/or shift-click 
>> to select multiple tiddler titles).  The default output file will be named 
>> "tiddlers.json".
>>
>> Press the "apply" button to set the countdown timer (default is 30 
>> minutes).  When the timer reaches zero, you will be ask to confirm "OK to 
>> autosave?"  Then press "save" to initiate the "export tiddlers" action.
>>
>> 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/64884c55-ffd9-4cb7-b41f-105c240149f5n%40googlegroups.com.


[tw5] export tiddler automatically

2021-12-29 Thread paulgilbert2000
Hi ,

i know the answer is no , but will ask any ways .

Is there  way to export a particular tiddler automatically, so as in some 
scheduled task in the background, that lets say every 30 minutes would 
trigger a command to export a specific tiddler in a particular local

-- 
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/c33aed9e-f485-4109-abe4-d2195edc58ecn%40googlegroups.com.


Re: [tw5] Counting specific words

2021-09-24 Thread paulgilbert2000
Thank you very much,

both work, also one more question , to get anywhere remotely close to 
writing code like this  for tiddly wiki , what language should i try to 
learn, i have no coding skills, and was just wondering if i would invest my 
time in learning a bit, what language should i be looking at?

thanks again

On Thursday, September 23, 2021 at 11:32:19 PM UTC+2 jn.pierr...@gmail.com 
wrote:

> actually, https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText is 
> very confusing! It took me a lot of time to make any sense out of it for 
> the special case like using <<< and after my own tests, I have failed to 
> see that as useful.
>
> Your code is actual code and it would be good to use it rather than the 
> current example.
>
> I was sure you coded  instead of <__arg__> and I had copied it and 
> executed. It was not functioning as it should. But I can no more remember 
> why: was it the problem I told about why regexp was better or was it that 
> it did nothing?
>
> Anyway, thank you for your correction about what I told. I have yet again 
> something about tiddlywiki today! And I could use it, definitely.
>
>
>
>
>
> Le jeudi 23 septembre 2021 à 18:04:26 UTC+2, jeremy...@gmail.com a écrit :
>
>> Hi Jean-Pierre
>>
>> You made an error in your macro, Jeremy. You should have used $arg$ 
>> instead of .
>>
>>
>> It's actually not an error: it's an alternative way to access the 
>> parameters of macros. It avoids the problem that otherwise the code would 
>> fail with a tiddler title containing a closing square bracket.
>>
>> There are docs here under "Parameters as Variables <<__...__>>":
>>
>> https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText
>>
>> But it is false nonetheless because it would, for example, cut word 
>> "totem" if asked for word "to". My regular expression does not do that 
>> thanks to the \b at both ends of the arguments.
>>
>>
>> Yes, I did that quickly, but indeed I think that splitregexp would be 
>> needed to make it practical, both to resolve the word boundary issue and 
>> the case sensitivity issue.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>> Le jeudi 23 septembre 2021 à 16:45:46 UTC+2, jeremy...@gmail.com a 
>> écrit :
>>
>>> Another technique is to use the “split” operator to split the string by 
>>> the word:
>>>
>>> \define count-words(title,word)
>>> <$text text={{{ [<__title__>get[text]split<__word__>count[]subtract[1]] 
>>> }}}/>
>>> \end
>>>
>>> <>
>>>
>>> Using the splitregexp operator instead allows would allow splitting case 
>>> insensitively, which might be more useful.
>>>
>>> Best wishes
>>>
>>> Jeremy.
>>>
>>> On 23 Sep 2021, at 15:37, Jean-Pierre Rivière  
>>> wrote:
>>>
>>> Here it is.
>>>
>>> ```
>>> \define count-word(word, tid)
>>> {{{ 
>>> [[$tid$]get[text]search-replace:gi:regexp[\b$word$\b],[þ]dump:v[first]search-replace:g:regexp,[]dump:v[final]length[]]
>>>  
>>> }}}
>>> \end
>>>
>>> <>
>>> ```
>>>
>>> I use a char that should never be within the tiddler, þ in my example. 
>>> You can use another rare character is old English is concerned! I replace 
>>> every occurrence of the word with it, then remove any other character then 
>>> count the length of the result. If you want case sensitive search, just 
>>> omit the `i` flag in the first `search-replace`.
>>>
>>> Le mercredi 22 septembre 2021 à 15:14:55 UTC+2, mohamed.e...@
>>> vodafone.com a écrit :
>>>
 Hi ,

 is there a way to count the number of occurrences of a specific word in 
 a tiddler

 I have serached , but could only find a plugin that counts the total 
 number of words, or total number characters.

  

>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/a30f622a-627f-41a5-a532-4015e0f3faaen%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+...@googlegroups.com.
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/ab5296b2-f778-4334-9eef-1892487d6f19n%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 

[tw5] Re: Highlighting duplicates in lists

2021-08-30 Thread paulgilbert2000
Thanks tones 

actually my problem is not lack of effort but  rather lack of knowledge  :( 
, i try many different things before coming back, its just like you said i 
am guilty of trying to plug in the code rather than fully understanding it

well then ..i guess its time for me to up my game with the filter syntax 
first  before attempting anything else

i guess for now the thread can be closed, but thanks again for you help :)



On Monday, August 30, 2021 at 2:25:28 AM UTC+2 TW Tones wrote:

> Mohamad,
>
> Part of the issue here is you have not yet learned the basic syntax of 
> tiddlywiki yet, we all start somewhere, my instructions should have being 
> self evident if you had just rudimentary tiddlywiki syntax, all of which I 
> learned from TiddlyWiki.com 
>
> I did answer this latest question here 
> <https://groups.google.com/g/TiddlyWiki/c/ahbcnXqVgl8/m/zoVC1ppaAQAJ> and 
> you can put *{{{ [all[current]get[date-field]format:date[]] }}} *where 
> you read *this is displayed inside the list*
>
> I am happy still to help, but you force me to revisit the whole thread 
> again. I am not sure that when I gave previous answers, you tried to 
> understand what I shared with you, it seems more like you just tried to 
> "plugin my answers" to your code without trying to work it out. I may be 
> wrong but please try a little harder to work through the carefully 
> considered answers you get.
>
> Tones
>
> On Sunday, 29 August 2021 at 12:38:56 UTC+10 mohamed...@hotmail.com wrote:
>
>> thanks tones,
>>
>> back one step , the original code was ..
>>
>>   matchthen[color: 
>> red;]] }}}><>
>> 
>>
>> 
>> 
>> the modified code is as follows 
>>
>> get[field]match
>> *{!!field}*then[color: red;]] }}}>* this is displayed inside the 
>> list* 
>>
>>
>> the instruction is to replace 
>>  *{{!!field}} *
>> With *{{{ [all[current]get[field]format:date[]] }}}*
>>
>> *(change "field" to your date field)*
>>
>> making the code
>>
>> get[field]match 
>> *{{{ 
>> [all[current]get[field_example]format:date[]] }}} *then[color: red;]] 
>> }}}> this is displayed inside the list 
>>
>> this does not work, prob because i have misinterpreted your instructions
>>
>> also there are several things missed out in the modified code , the 
>> enlist operator, the   variable, is this intentional?
>>
>> if the date field is "field_example"  , can you please tell me what the 
>> full line of code would be ..  
>>
>> thanks again
>> On Saturday, August 28, 2021 at 1:44:23 AM UTC+2 TW Tones wrote:
>>
>>> The information you are after is in my earlier post
>>> *<> {{!!field}} *is the display replace this with *{{{ 
>>> [all[current]get[field]format:date[]] }}}*
>>>
>>> It is what is inside the span that gets coloured using style attribute, 
>>> thus what is inside the span is what is displayed,
>>>
>>> >> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
>>> red;]] }}}>* this is displayed inside the list*
>>>
>>> So basically we replace the display of  *{{!!field}} *
>>> With *{{{ [all[current]get[field]format:date[]] }}}*
>>> (change "field" to your date field)
>>>
>>> So the following will be inside the span because you want the title and 
>>> its date.
>>> *<> **{{{ [all[current]get[field]format:date[]] }}}*
>>>
>>> The format operator requires tiddlywiki 5.1.23 or greater
>>>
>>> Tones
>>> On Saturday, 28 August 2021 at 02:13:48 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>> Hi tones,
>>>>
>>>> have you had the chance to look at my last post?
>>>>
>>>> On Saturday, August 21, 2021 at 5:14:38 AM UTC+2 paulgilbert2000 wrote:
>>>>
>>>>> Hi Tones,
>>>>>
>>>>> I am not sure which line of code you are referring too , the line that 
>>>>> does the coloring is 
>>>>> <$list filter="[all[current]get[field_example]] 
>>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>>> variable=field-value>
>>>>> >>>> [enlistmatchthen[color: 
>>>>> red;]] }}}><>
>>>>>
>>>>> It does not have <> {{!!field}} 
>>>>>
>>>>> instead there is  <>  ,so is this the bit that should be 
>>>>> 

[tw5] Re: Highlighting duplicates in lists

2021-08-28 Thread paulgilbert2000
thanks tones,

back one step , the original code was ..

  matchthen[color: red;]] 
}}}><>

   


the modified code is as follows 

get[field]match
*{!!field}*then[color: red;]] }}}>* this is displayed inside the 
list* 


the instruction is to replace 
 *{{!!field}} *
With *{{{ [all[current]get[field]format:date[]] }}}*

*(change "field" to your date field)*

making the code

get[field]match *{{{ 
[all[current]get[field_example]format:date[]] }}} *then[color: red;]] 
}}}> this is displayed inside the list 

this does not work, prob because i have misinterpreted your instructions

also there are several things missed out in the modified code , the enlist 
operator, the   variable, is this intentional?

if the date field is "field_example"  , can you please tell me what the 
full line of code would be ..  

thanks again
On Saturday, August 28, 2021 at 1:44:23 AM UTC+2 TW Tones wrote:

> The information you are after is in my earlier post
> *<> {{!!field}} *is the display replace this with *{{{ 
> [all[current]get[field]format:date[]] }}}*
>
> It is what is inside the span that gets coloured using style attribute, 
> thus what is inside the span is what is displayed,
>
>  [all[]prefix[New]!titleget[field]match{!!field}then[color: 
> red;]] }}}>* this is displayed inside the list*
>
> So basically we replace the display of  *{{!!field}} *
> With *{{{ [all[current]get[field]format:date[]] }}}*
> (change "field" to your date field)
>
> So the following will be inside the span because you want the title and 
> its date.
> *<> **{{{ [all[current]get[field]format:date[]] }}}*
>
> The format operator requires tiddlywiki 5.1.23 or greater
>
> Tones
> On Saturday, 28 August 2021 at 02:13:48 UTC+10 mohamed...@hotmail.com 
> wrote:
>
>> Hi tones,
>>
>> have you had the chance to look at my last post?
>>
>> On Saturday, August 21, 2021 at 5:14:38 AM UTC+2 paulgilbert2000 wrote:
>>
>>> Hi Tones,
>>>
>>> I am not sure which line of code you are referring too , the line that 
>>> does the coloring is 
>>> <$list filter="[all[current]get[field_example]] 
>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>> variable=field-value>
>>> matchthen[color: 
>>> red;]] }}}><>
>>>
>>> It does not have <> {{!!field}} 
>>>
>>> instead there is  <>  ,so is this the bit that should be 
>>> replaced *?*
>>>
>>> i tried this  with no luck..
>>>
>>>
>>> *[image: Capture.PNG]*
>>> On Monday, August 16, 2021 at 6:29:52 AM UTC+2 TW Tones wrote:
>>>
>>>> Hio,
>>>>
>>>> Back in my code
>>>> 
>>>> <$list filter="[all[]prefix[New]has[field]]">
>>>>>>> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
>>>> red;]] }}}>* <> {{!!field}}*
>>>> 
>>>> 
>>>>
>>>>
>>>> *<> {{!!field}} *is the display
>>>> replace this with 
>>>> *{{{ [all[current]get[field]format:date[]] }}}*
>>>> Not tested by me on this occasion
>>>>
>>>> where field is the chosen fieldname.
>>>>
>>>> Regards
>>>> Tones
>>>>
>>>> On Monday, 16 August 2021 at 12:14:51 UTC+10 mohamed...@hotmail.com 
>>>> wrote:
>>>>
>>>>> Thank you tones
>>>>>
>>>>> The real life example is to evaluate duplicate dates, so the actual 
>>>>> real values populating the fields are not  1 ,2 , etc.. they are actual 
>>>>> dates , IE . 2021062506295,   20210811055859000,etc.
>>>>> and so what i was trying is to  do is have the highlighted duplicate 
>>>>> values converted from the tiddly wiki format they are stored in in their 
>>>>> respective fields , to a normal readable format when displayed in the 
>>>>> filter
>>>>>
>>>>> the
>>>>> On Monday, August 16, 2021 at 2:34:07 AM UTC+2 TW Tones wrote:
>>>>>
>>>>>> Mohammad,
>>>>>>
>>>>>> I am confused, until now the fields  field_example,  field_example1,  
>>>>>> field_example2 did not contain dates. 
>>>>>>
>>>>>>- Are you trying to convert these to dates?
>>>>>>- the view widget format=date only works on tiddlywiki full 
>>>>>>serial number dates!
>&

[tw5] Re: Highlighting duplicates in lists

2021-08-27 Thread paulgilbert2000
Hi tones,

have you had the chance to look at my last post?

On Saturday, August 21, 2021 at 5:14:38 AM UTC+2 paulgilbert2000 wrote:

> Hi Tones,
>
> I am not sure which line of code you are referring too , the line that 
> does the coloring is 
> <$list filter="[all[current]get[field_example]] 
> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
> variable=field-value>
> matchthen[color: 
> red;]] }}}><>
>
> It does not have <> {{!!field}} 
>
> instead there is  <>  ,so is this the bit that should be 
> replaced *?*
>
> i tried this  with no luck..
>
>
> *[image: Capture.PNG]*
> On Monday, August 16, 2021 at 6:29:52 AM UTC+2 TW Tones wrote:
>
>> Hio,
>>
>> Back in my code
>> 
>> <$list filter="[all[]prefix[New]has[field]]">
>>> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
>> red;]] }}}>* <> {{!!field}}*
>> 
>> 
>>
>>
>> *<> {{!!field}} *is the display
>> replace this with 
>> *{{{ [all[current]get[field]format:date[]] }}}*
>> Not tested by me on this occasion
>>
>> where field is the chosen fieldname.
>>
>> Regards
>> Tones
>>
>> On Monday, 16 August 2021 at 12:14:51 UTC+10 mohamed...@hotmail.com 
>> wrote:
>>
>>> Thank you tones
>>>
>>> The real life example is to evaluate duplicate dates, so the actual real 
>>> values populating the fields are not  1 ,2 , etc.. they are actual dates , 
>>> IE . 2021062506295,   20210811055859000,etc.
>>> and so what i was trying is to  do is have the highlighted duplicate 
>>> values converted from the tiddly wiki format they are stored in in their 
>>> respective fields , to a normal readable format when displayed in the filter
>>>
>>> the
>>> On Monday, August 16, 2021 at 2:34:07 AM UTC+2 TW Tones wrote:
>>>
>>>> Mohammad,
>>>>
>>>> I am confused, until now the fields  field_example,  field_example1,  
>>>> field_example2 did not contain dates. 
>>>>
>>>>- Are you trying to convert these to dates?
>>>>- the view widget format=date only works on tiddlywiki full serial 
>>>>number dates!
>>>>
>>>> Perhaps step back and describe what you want to do in the real world, 
>>>> not with tiddlywiki code that may or may not be correct. 
>>>>
>>>> Regards
>>>> Tones
>>>>
>>>> On Monday, 16 August 2021 at 01:46:55 UTC+10 mohamed...@hotmail.com 
>>>> wrote:
>>>>
>>>>> HI tones,
>>>>>
>>>>> sorry i guess i asked the wrong question, what i wanted to know is 
>>>>> where to place the widget  in the code , if i do it that way , it no 
>>>>> longer 
>>>>> highlights duplicates
>>>>>
>>>>>  <>: |  
>>>>><$list filter="[all[current]get[field_example]] 
>>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>>> variable=field-value>
>>>>> <$view field="field_example "format=date template=""/>
>>>>> <$view field="field_example1"format=date template=""/>
>>>>> <$view field="field_example2"format=date template=""/>
>>>>>
>>>>>  matchthen[color: 
>>>>> red;]] }}}><>
>>>>>
>>>>> 
>>>>>
>>>>> i also tried  adding format:date[DDD]] , which didn't yield any 
>>>>> results 
>>>>>
>>>>><$list filter="[all[current]get[field_example]] 
>>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>>> format:date[DDD]] variable=field-value> 
>>>>> On Sunday, August 15, 2021 at 10:12:57 AM UTC+2 TW Tones wrote:
>>>>>
>>>>>> Look for and use the viewWidget and use the format date with a 
>>>>>> template, or the format relativedate
>>>>>>
>>>>>> Get into the habit also of searching in tiddlywiki.com to learn how 
>>>>>> to do things.
>>>>>> [image: Snag_c8a06a9.png]
>>>>>>
>>>>>> eg;
>>>>>>
>>>>>> <$view field=created format=date template="&q

[tw5] Re: Highlighting duplicates in lists

2021-08-20 Thread paulgilbert2000
 Hi Tones,

I am not sure which line of code you are referring too , the line that does 
the coloring is 
<$list filter="[all[current]get[field_example]] 
[all[current]get[field_example2]] [all[current]get[field_example3]]" 
variable=field-value>
matchthen[color: 
red;]] }}}><>

It does not have <> {{!!field}} 

instead there is  <>  ,so is this the bit that should be 
replaced *?*

i tried this  with no luck..


*[image: Capture.PNG]*
On Monday, August 16, 2021 at 6:29:52 AM UTC+2 TW Tones wrote:

> Hio,
>
> Back in my code
> 
> <$list filter="[all[]prefix[New]has[field]]">
> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
> red;]] }}}>* <> {{!!field}}*
> 
> 
>
>
> *<> {{!!field}} *is the display
> replace this with 
> *{{{ [all[current]get[field]format:date[]] }}}*
> Not tested by me on this occasion
>
> where field is the chosen fieldname.
>
> Regards
> Tones
>
> On Monday, 16 August 2021 at 12:14:51 UTC+10 mohamed...@hotmail.com wrote:
>
>> Thank you tones
>>
>> The real life example is to evaluate duplicate dates, so the actual real 
>> values populating the fields are not  1 ,2 , etc.. they are actual dates , 
>> IE . 2021062506295,   20210811055859000,etc.
>> and so what i was trying is to  do is have the highlighted duplicate 
>> values converted from the tiddly wiki format they are stored in in their 
>> respective fields , to a normal readable format when displayed in the filter
>>
>> the
>> On Monday, August 16, 2021 at 2:34:07 AM UTC+2 TW Tones wrote:
>>
>>> Mohammad,
>>>
>>> I am confused, until now the fields  field_example,  field_example1,  
>>> field_example2 did not contain dates. 
>>>
>>>- Are you trying to convert these to dates?
>>>- the view widget format=date only works on tiddlywiki full serial 
>>>number dates!
>>>
>>> Perhaps step back and describe what you want to do in the real world, 
>>> not with tiddlywiki code that may or may not be correct. 
>>>
>>> Regards
>>> Tones
>>>
>>> On Monday, 16 August 2021 at 01:46:55 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>> HI tones,
>>>>
>>>> sorry i guess i asked the wrong question, what i wanted to know is 
>>>> where to place the widget  in the code , if i do it that way , it no 
>>>> longer 
>>>> highlights duplicates
>>>>
>>>>  <>: |  
>>>><$list filter="[all[current]get[field_example]] 
>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>> variable=field-value>
>>>> <$view field="field_example "format=date template=""/>
>>>> <$view field="field_example1"format=date template=""/>
>>>> <$view field="field_example2"format=date template=""/>
>>>>
>>>>  matchthen[color: 
>>>> red;]] }}}><>
>>>>
>>>> 
>>>>
>>>> i also tried  adding format:date[DDD]] , which didn't yield any results 
>>>>
>>>><$list filter="[all[current]get[field_example]] 
>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>> format:date[DDD]] variable=field-value> 
>>>> On Sunday, August 15, 2021 at 10:12:57 AM UTC+2 TW Tones wrote:
>>>>
>>>>> Look for and use the viewWidget and use the format date with a 
>>>>> template, or the format relativedate
>>>>>
>>>>> Get into the habit also of searching in tiddlywiki.com to learn how 
>>>>> to do things.
>>>>> [image: Snag_c8a06a9.png]
>>>>>
>>>>> eg;
>>>>>
>>>>> <$view field=created format=date template=""/>
>>>>>
>>>>> <$view field=created format=relativedate/>
>>>>>
>>>>>  5.1.23 now allows this inside filters. 
>>>>> <https://tiddlywiki.com/#format%20Operator%20(Examples)>
>>>>>
>>>>> Regards
>>>>> Tones
>>>>>
>>>>> On Sunday, 15 August 2021 at 10:26:32 UTC+10 mohamed...@hotmail.com 
>>>>> wrote:
>>>>>
>>>>>> Sorry one more questions
>>>>>>
>>>>>> if the values are dates, how can they be

[tw5] Re: Highlighting duplicates in lists

2021-08-15 Thread paulgilbert2000
Thank you tones

The real life example is to evaluate duplicate dates, so the actual real 
values populating the fields are not  1 ,2 , etc.. they are actual dates , 
IE . 2021062506295,   20210811055859000,etc.
and so what i was trying is to  do is have the highlighted duplicate values 
converted from the tiddly wiki format they are stored in in their 
respective fields , to a normal readable format when displayed in the filter

the
On Monday, August 16, 2021 at 2:34:07 AM UTC+2 TW Tones wrote:

> Mohammad,
>
> I am confused, until now the fields  field_example,  field_example1,  
> field_example2 did not contain dates. 
>
>- Are you trying to convert these to dates?
>- the view widget format=date only works on tiddlywiki full serial 
>number dates!
>
> Perhaps step back and describe what you want to do in the real world, not 
> with tiddlywiki code that may or may not be correct. 
>
> Regards
> Tones
>
> On Monday, 16 August 2021 at 01:46:55 UTC+10 mohamed...@hotmail.com wrote:
>
>> HI tones,
>>
>> sorry i guess i asked the wrong question, what i wanted to know is where 
>> to place the widget  in the code , if i do it that way , it no longer 
>> highlights duplicates
>>
>>  <>: |  
>><$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> variable=field-value>
>> <$view field="field_example "format=date template=""/>
>> <$view field="field_example1"format=date template=""/>
>> <$view field="field_example2"format=date template=""/>
>>
>>  matchthen[color: 
>> red;]] }}}><>
>>
>> 
>>
>> i also tried  adding format:date[DDD]] , which didn't yield any results 
>>
>><$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> format:date[DDD]] variable=field-value> 
>> On Sunday, August 15, 2021 at 10:12:57 AM UTC+2 TW Tones wrote:
>>
>>> Look for and use the viewWidget and use the format date with a template, 
>>> or the format relativedate
>>>
>>> Get into the habit also of searching in tiddlywiki.com to learn how to 
>>> do things.
>>> [image: Snag_c8a06a9.png]
>>>
>>> eg;
>>>
>>> <$view field=created format=date template=""/>
>>>
>>> <$view field=created format=relativedate/>
>>>
>>>  5.1.23 now allows this inside filters. 
>>> <https://tiddlywiki.com/#format%20Operator%20(Examples)>
>>>
>>> Regards
>>> Tones
>>>
>>> On Sunday, 15 August 2021 at 10:26:32 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>> Sorry one more questions
>>>>
>>>> if the values are dates, how can they be displayed in normal format 
>>>> ,and not the tiddly wiki format
>>>>
>>>> On Monday, August 9, 2021 at 1:10:18 AM UTC+2 paulgilbert2000 wrote:
>>>>
>>>>> Thank you tones
>>>>>
>>>>> Will take me a while to understand all that . but it works like a 
>>>>> charm , and its even more than what i have asked for
>>>>>
>>>>> thanks again:)
>>>>>
>>>>> On Sunday, August 8, 2021 at 7:31:10 AM UTC+2 TW Tones wrote:
>>>>>
>>>>>> Mohamad,
>>>>>>
>>>>>> I am happy to look at solving the problem presented but my suspicion 
>>>>>> remains that there may be a different way to put the question in the 
>>>>>> first 
>>>>>> place. 
>>>>>>
>>>>>> Sometimes a question can be rephrased such that the answer is simpler 
>>>>>> to find.
>>>>>>
>>>>>>- In this we have multiple tiddlers, with multiple fields, with 
>>>>>>*values* that may be duplicated across these tiddlers/fields.
>>>>>>- in effect you want to list all tiddlers using the select 
>>>>>>fields, list these for each tiddler then for each found value
>>>>>>   -  detect when that value occurs in any other tiddler (not 
>>>>>>   self?) or select fields, if it does highlight it.
>>>>>>- I am not sure why you want to do this and can think of many 
>>>>>>ways to list/interpret the data! 

[tw5] Re: Highlighting duplicates in lists

2021-08-15 Thread paulgilbert2000
HI tones,

sorry i guess i asked the wrong question, what i wanted to know is where to 
place the widget  in the code , if i do it that way , it no longer 
highlights duplicates

 <>: |  
   <$list filter="[all[current]get[field_example]] 
[all[current]get[field_example2]] [all[current]get[field_example3]]" 
variable=field-value>
<$view field="field_example "format=date template=""/>
<$view field="field_example1"format=date template=""/>
<$view field="field_example2"format=date template=""/>

 matchthen[color: red;]] 
}}}><>



i also tried  adding format:date[DDD]] , which didn't yield any results 

   <$list filter="[all[current]get[field_example]] 
[all[current]get[field_example2]] [all[current]get[field_example3]]" 
format:date[DDD]] variable=field-value> 
On Sunday, August 15, 2021 at 10:12:57 AM UTC+2 TW Tones wrote:

> Look for and use the viewWidget and use the format date with a template, 
> or the format relativedate
>
> Get into the habit also of searching in tiddlywiki.com to learn how to do 
> things.
> [image: Snag_c8a06a9.png]
>
> eg;
>
> <$view field=created format=date template=""/>
>
> <$view field=created format=relativedate/>
>
>  5.1.23 now allows this inside filters. 
> <https://tiddlywiki.com/#format%20Operator%20(Examples)>
>
> Regards
> Tones
>
> On Sunday, 15 August 2021 at 10:26:32 UTC+10 mohamed...@hotmail.com wrote:
>
>> Sorry one more questions
>>
>> if the values are dates, how can they be displayed in normal format ,and 
>> not the tiddly wiki format
>>
>> On Monday, August 9, 2021 at 1:10:18 AM UTC+2 paulgilbert2000 wrote:
>>
>>> Thank you tones
>>>
>>> Will take me a while to understand all that . but it works like a charm 
>>> , and its even more than what i have asked for
>>>
>>> thanks again:)
>>>
>>> On Sunday, August 8, 2021 at 7:31:10 AM UTC+2 TW Tones wrote:
>>>
>>>> Mohamad,
>>>>
>>>> I am happy to look at solving the problem presented but my suspicion 
>>>> remains that there may be a different way to put the question in the first 
>>>> place. 
>>>>
>>>> Sometimes a question can be rephrased such that the answer is simpler 
>>>> to find.
>>>>
>>>>- In this we have multiple tiddlers, with multiple fields, with 
>>>>*values* that may be duplicated across these tiddlers/fields.
>>>>- in effect you want to list all tiddlers using the select fields, 
>>>>list these for each tiddler then for each found value
>>>>   -  detect when that value occurs in any other tiddler (not 
>>>>   self?) or select fields, if it does highlight it.
>>>>- I am not sure why you want to do this and can think of many ways 
>>>>to list/interpret the data! 
>>>>- What about triplicates?
>>>>- What about duplicates in the same tiddler?
>>>>
>>>> I think using your test data this is what you wanted?
>>>>
>>>> 
>>>> <$list filter="[all[]has[field_example]]">
>>>><$set name=other-values 
>>>> filter="[all[]!get[field_example]] 
>>>> [all[]!titleget[field_example2]] 
>>>> [all[]!titleget[field_example3]] +[sort[]]">
>>>><>: |  
>>>><$list filter="[all[current]get[field_example]] 
>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>> variable=field-value>
>>>> >>> [enlistmatchthen[color: red;]] 
>>>> }}}><>
>>>> 
>>>>
>>>> 
>>>> 
>>>>
>>>> It will also highlight triplicates...
>>>>
>>>> A slightly more efficient method is available that could actually could 
>>>> the number of repeats and color red if > 1
>>>>
>>>> <$set name=all-values filter="=[all[]get[field_example]] 
>>>> =[all[]get[field_example2]] =[all[]get[field_example3]]">
>>>> "<>" {{{ [split[ ]count[]] }}}
>>>> 
>>>> <$list filter="[all[]has[field_example]]">
>>>><>: |  
>>>><$list filter="[all[current]get[field_example]] 
>>>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>>>> v

[tw5] Re: Highlighting duplicates in lists

2021-08-14 Thread paulgilbert2000
Sorry one more questions

if the values are dates, how can they be displayed in normal format ,and 
not the tiddly wiki format

On Monday, August 9, 2021 at 1:10:18 AM UTC+2 paulgilbert2000 wrote:

> Thank you tones
>
> Will take me a while to understand all that . but it works like a charm , 
> and its even more than what i have asked for
>
> thanks again:)
>
> On Sunday, August 8, 2021 at 7:31:10 AM UTC+2 TW Tones wrote:
>
>> Mohamad,
>>
>> I am happy to look at solving the problem presented but my suspicion 
>> remains that there may be a different way to put the question in the first 
>> place. 
>>
>> Sometimes a question can be rephrased such that the answer is simpler to 
>> find.
>>
>>- In this we have multiple tiddlers, with multiple fields, with 
>>*values* that may be duplicated across these tiddlers/fields.
>>- in effect you want to list all tiddlers using the select fields, 
>>list these for each tiddler then for each found value
>>   -  detect when that value occurs in any other tiddler (not self?) 
>>   or select fields, if it does highlight it.
>>- I am not sure why you want to do this and can think of many ways to 
>>list/interpret the data! 
>>- What about triplicates?
>>- What about duplicates in the same tiddler?
>>
>> I think using your test data this is what you wanted?
>>
>> 
>> <$list filter="[all[]has[field_example]]">
>><$set name=other-values 
>> filter="[all[]!get[field_example]] 
>> [all[]!titleget[field_example2]] 
>> [all[]!titleget[field_example3]] +[sort[]]">
>><>: |  
>><$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> variable=field-value>
>> > [enlistmatchthen[color: red;]] 
>> }}}><>
>> 
>>
>> 
>> 
>>
>> It will also highlight triplicates...
>>
>> A slightly more efficient method is available that could actually could 
>> the number of repeats and color red if > 1
>>
>> <$set name=all-values filter="=[all[]get[field_example]] 
>> =[all[]get[field_example2]] =[all[]get[field_example3]]">
>> "<>" {{{ [split[ ]count[]] }}}
>> 
>> <$list filter="[all[]has[field_example]]">
>><>: |  
>><$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> variable=field-value>
>> <$set name=value-count filter="[split[ 
>> ]matchcount[]]">
>> compare:number:gt[1]then[color: 
>> Red;]] }}} ><> (<>)
>>  
>> 
>> 
>> 
>> 
>>
>> Of course in the above you can choose not to show the count of the same 
>> value delete  "(<>)"
>>
>> Regards
>> Tones
>>
>> On Sunday, 8 August 2021 at 02:05:57 UTC+10 mohamed...@hotmail.com wrote:
>>
>>> Hi Tones,
>>>
>>> sorry for the late reply , i wasn't clear at all in my last question 
>>> actually
>>>
>>> So for example ,if  every tiddler has three fields  , field_example , 
>>> field_example2 and  field_example3 
>>>
>>> [image: Capture.PNG]
>>>
>>> and they are populated with values as such
>>>
>>> *   tiddler 1*has in field_example "3" And in field_example2 "2"
>>> And in field_example3 "6"
>>> and
>>>*tiddler 2 *   has in field_example "4" And in field_example2 "9"
>>> And in field_example3 "8"
>>> and
>>>*tiddler 3*has in field_example "2" And in field_example2 
>>> "7"And in field_example3 "5"
>>> and
>>>*tiddler 4*has in field_example "1" And in field_example2 
>>> "2"And in field_example3 "4"   
>>>
>>>
>>>  as you can see, the number 2  is reoccurring in different fields in 
>>> different tiddlers , so when doing a list, can all these tiddlers  which 
>>> has a 2 be highlighted
>>>
>>> [image: Capture2.PNG]
>>>
>>> even better can the transcluded values only be highlighted and not the 
>>> whole line
>>> [image: Capture3.PNG] 
>>>
>>> i have attached a sample file with with the

[tw5] Re: Timely help needed

2021-08-14 Thread paulgilbert2000
 Hey,

i have a similar setup , not sure if this helps , but check this thread  
https://groups.google.com/g/tiddlywiki/c/OUJlcbbK5v0/m/Wpc2SWMWAgAJ?hl=en  

for adding a day , i don't know how to do it , however i got help to add an 
hour in this thread
https://groups.google.com/g/tiddlywiki/c/uB1RxGj2qz0/m/QYjk6VO_AwAJ?hl=en   
.. i think it will probably be easy to modify the 1 hour value to 24 to 
achieve what you want


On Friday, August 13, 2021 at 9:38:01 AM UTC+2 Ste wrote:

>
> For context this is what I'm working on:
> https://tmc.stephenteacher.com/Assesment%20Schedule.html
> On Thursday, 12 August 2021 at 18:42:18 UTC+1 Ste wrote:
>
>>
>> Hello wonderful people's. 
>> I need help with time. 
>> I am sure there have been discussions about this but alas I can't seem to 
>> find what I'm looking for. Google groups. You know how it is! 
>>
>> I have a date in a field. I would like to use this same date in another 
>> tiddler, but it needs to be plain text so it can be used by the vis.js time 
>> line plugin.. 
>>
>> I'd also like to be able to add/ subtract days and have it back into a 
>> form the plugin can use. 
>>
>> I'd like a date picker to return the same date in different formats to 
>> different fields, or be able to convert an existing date into a different 
>> format, and for it to be useable by the time line or the timely calender. 
>>
>> So not much really... 
>>
>> Thanks for your time :)
>>
>> Ste 
>>
>> Date picker and timeline 
>> http://kixam.github.io/TW5-visjsTimeline/
>>
>> Timely 
>> https://tiddlytools.com/timer.html 
>>
>>
>>

-- 
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/ef88c1eb-2ceb-4dfa-ad53-b83e1d5f3951n%40googlegroups.com.


[tw5] Re: Timely help needed

2021-08-14 Thread paulgilbert2000
Hey,

i have a similar setup , not sure if this helps , but check this thread 
https://groups.google.com/g/tiddlywiki/c/uB1RxGj2qz0/m/QYjk6VO_AwAJ?hl=en

for adding a day , i don't know how to do it , however i got help to add an 
hour in this thread 
https://groups.google.com/g/tiddlywiki/c/OUJlcbbK5v0/m/Wpc2SWMWAgAJ?hl=en 
.. i think it will probably be easy to modify the 1 hour value to 24 to 
achieve what you want

On Friday, August 13, 2021 at 9:38:01 AM UTC+2 Ste wrote:

>
> For context this is what I'm working on:
> https://tmc.stephenteacher.com/Assesment%20Schedule.html
> On Thursday, 12 August 2021 at 18:42:18 UTC+1 Ste wrote:
>
>>
>> Hello wonderful people's. 
>> I need help with time. 
>> I am sure there have been discussions about this but alas I can't seem to 
>> find what I'm looking for. Google groups. You know how it is! 
>>
>> I have a date in a field. I would like to use this same date in another 
>> tiddler, but it needs to be plain text so it can be used by the vis.js time 
>> line plugin.. 
>>
>> I'd also like to be able to add/ subtract days and have it back into a 
>> form the plugin can use. 
>>
>> I'd like a date picker to return the same date in different formats to 
>> different fields, or be able to convert an existing date into a different 
>> format, and for it to be useable by the time line or the timely calender. 
>>
>> So not much really... 
>>
>> Thanks for your time :)
>>
>> Ste 
>>
>> Date picker and timeline 
>> http://kixam.github.io/TW5-visjsTimeline/
>>
>> Timely 
>> https://tiddlytools.com/timer.html 
>>
>>
>>

-- 
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/767b0fba-0ab9-4f36-9b7d-c60bc6d81fe6n%40googlegroups.com.


[tw5] Re: Highlighting duplicates in lists

2021-08-08 Thread paulgilbert2000
Thank you tones

Will take me a while to understand all that . but it works like a charm , 
and its even more than what i have asked for

thanks again:)

On Sunday, August 8, 2021 at 7:31:10 AM UTC+2 TW Tones wrote:

> Mohamad,
>
> I am happy to look at solving the problem presented but my suspicion 
> remains that there may be a different way to put the question in the first 
> place. 
>
> Sometimes a question can be rephrased such that the answer is simpler to 
> find.
>
>- In this we have multiple tiddlers, with multiple fields, with 
>*values* that may be duplicated across these tiddlers/fields.
>- in effect you want to list all tiddlers using the select fields, 
>list these for each tiddler then for each found value
>   -  detect when that value occurs in any other tiddler (not self?) 
>   or select fields, if it does highlight it.
>- I am not sure why you want to do this and can think of many ways to 
>list/interpret the data! 
>- What about triplicates?
>- What about duplicates in the same tiddler?
>
> I think using your test data this is what you wanted?
>
> 
> <$list filter="[all[]has[field_example]]">
><$set name=other-values 
> filter="[all[]!get[field_example]] 
> [all[]!titleget[field_example2]] 
> [all[]!titleget[field_example3]] +[sort[]]">
><>: |  
><$list filter="[all[current]get[field_example]] 
> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
> variable=field-value>
> matchthen[color: 
> red;]] }}}><>
> 
>
> 
> 
>
> It will also highlight triplicates...
>
> A slightly more efficient method is available that could actually could 
> the number of repeats and color red if > 1
>
> <$set name=all-values filter="=[all[]get[field_example]] 
> =[all[]get[field_example2]] =[all[]get[field_example3]]">
> "<>" {{{ [split[ ]count[]] }}}
> 
> <$list filter="[all[]has[field_example]]">
><>: |  
><$list filter="[all[current]get[field_example]] 
> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
> variable=field-value>
> <$set name=value-count filter="[split[ 
> ]matchcount[]]">
> compare:number:gt[1]then[color: 
> Red;]] }}} ><> (<>)
>  
> 
> 
> 
> 
>
> Of course in the above you can choose not to show the count of the same 
> value delete  "(<>)"
>
> Regards
> Tones
>
> On Sunday, 8 August 2021 at 02:05:57 UTC+10 mohamed...@hotmail.com wrote:
>
>> Hi Tones,
>>
>> sorry for the late reply , i wasn't clear at all in my last question 
>> actually
>>
>> So for example ,if  every tiddler has three fields  , field_example , 
>> field_example2 and  field_example3 
>>
>> [image: Capture.PNG]
>>
>> and they are populated with values as such
>>
>> *   tiddler 1*has in field_example "3" And in field_example2 "2"
>> And in field_example3 "6"
>> and
>>*tiddler 2 *   has in field_example "4" And in field_example2 "9"
>> And in field_example3 "8"
>> and
>>*tiddler 3*has in field_example "2" And in field_example2 "7" 
>>And in field_example3 "5"
>> and
>>*tiddler 4*has in field_example "1" And in field_example2 "2" 
>>And in field_example3 "4"   
>>
>>
>>  as you can see, the number 2  is reoccurring in different fields in 
>> different tiddlers , so when doing a list, can all these tiddlers  which 
>> has a 2 be highlighted
>>
>> [image: Capture2.PNG]
>>
>> even better can the transcluded values only be highlighted and not the 
>> whole line
>> [image: Capture3.PNG] 
>>
>> i have attached a sample file with with the test data i am working with
>>  
>>
>> Thanks again for your help
>>
>>
>> On Monday, August 2, 2021 at 2:33:26 AM UTC+2 TW Tones wrote:
>>
>>> Mohamad,
>>>
>>> My solution above can be used to do this for multiple fields/criteria 
>>> because it re-examines the whole list every time. This makes it logically 
>>> very flexible but revisiting the whole list for every special field for 
>>> each tiddler is not very high performance. There are other "algorithms you 
>>> can deploy" if you describe the full problem, especially if you can share 
>>> test data.
>>>
>>> The thing is, what you want to achieve could be addressed more 
>>> efficiently with better knowledge of the input data(set), and ensuring that 
>>> data is arranged appropriately. Over in the aforementioned  github item 
>>> https://github.com/Jermolene/TiddlyWiki5/discussions/5925 I think a 
>>> solution may be a *report widget* designed for most reporting 
>>> requirements ie beyond the list widget features. However even in this case 
>>> you will need to give further thought on your input data and its structure.
>>>
>>> Mohamad - you could generate a list of tiddlers with duplicate *A* 
>>> fields and another with a list of duplicate *B* fields then in the list 
>>> test if each title exists in these lists.
>>>
>>> Regards
>>> Tones
>>> On Monday, 2 August 2021 at 09:23:23 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
 Hi,

[tw5] Re: Highlighting duplicates in lists

2021-08-01 Thread paulgilbert2000
Hi,

is it possible to use the same code for multiple criteria, so highlight in 
red all occurrences of duplicates in field A and also field B within the 
same list of tiddlers?

i guess my question is can a Get / then  be used within the same filter 
multiple times for multiple fields/criteria

thanks

On Sunday, August 1, 2021 at 6:17:44 PM UTC+2 PMario wrote:

> Hi, 
>
> Since Tony did present a workable solution, the issue was moved to the 
> discussions section at github. 
> https://github.com/Jermolene/TiddlyWiki5/discussions/5925
>
> I still think, that a <> macro may reduce the complexity of 
> the solution. 
>
> -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/d7dec5e1-c990-410a-9794-8d04e6488591n%40googlegroups.com.


[tw5] Re: Highlighting duplicates in lists

2021-07-31 Thread paulgilbert2000
Hi Tones,

yes, this perfectly fits my needs, thank you very much

@ Mario , thank you for your help , i have just raised a feature request on 
GitHub

On Friday, July 30, 2021 at 2:23:40 PM UTC+2 TW Tones wrote:

> I can see by other replies that my example that showed the logic was not 
> enough for the OT
>
> Here I turn it into an unordered list with duplicates in red.
>
> 
> <$list filter="[all[]prefix[New]has[field]]">
> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
> red;]] }}}> <> {{!!field}}
> 
> 
>
> Have I fully addressed the Original Post?
> Tones
> On Friday, 30 July 2021 at 21:28:43 UTC+10 Mat wrote:
>
>> I would say it is possible with this general idea:
>>
>> 
>> <$list filter="[tag[tests]]">
>> {{!!title}}
>>  .mywrap.{{!!title}}:not(:first-of-type) 
>> {background:yellow}
>> 
>> 
>>
>> The above will likely *not* work right away but it shows the idea. For 
>> example, for the title to work as a class name it must follow css naming 
>> conventions (and you can use some modifying filters in a $vars or $set to 
>> make it be so). And you might have to split out the content of the 
>> listwidget into a separate macro.
>>
>> <:-)
>>
>>
>> On Friday, July 30, 2021 at 1:03:33 AM UTC+2 mohamed...@hotmail.com 
>> wrote:
>>
>>> Hi ,
>>>
>>> is it possible to highlight duplicates in a list , or make them stand 
>>> out in a different format/color , you know similar to excel 
>>>
>>> so in the below example ,i have a list that returns tiddlers matching a 
>>> certain criteria , and then displays their title field value , and also the 
>>> value in a custom field i named "field_example"
>>>
>>> tiddler1 and tiddler4 have the same value in the custom field and the 
>>> value is "X"
>>>
>>> can i highlight tiddler 1 and tiddler 4 maybe in red ?
>>>
>>> [image: duplicates.PNG]
>>>
>>

-- 
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/fa1a5cd1-5a2a-4856-b9a7-ba021e475c25n%40googlegroups.com.


[tw5] Re: Highlighting duplicates in lists

2021-07-29 Thread paulgilbert2000
thanks tones

for the second method , would that display the duplicates  , because i want 
that 

On Friday, July 30, 2021 at 1:37:33 AM UTC+2 TW Tones wrote:

> Mohamad,
>
> One way is to sort in the parameter order before you can detect that the 
> last is the same as the current ie a duplicate.
>
> The other way is for each tiddler, search for the same parameter 
> elsewhere, if more than one found then it is duplicate before displaying 
> the parameter. 
>
>- If you do this you may need to add to the filter the one that 
>selected the list of tiddlers as well, so you don't find the parameter 
>elsewhere. ie you are only searching in the current list of tiddlers.
>
> Regards
> RTones
> On Friday, 30 July 2021 at 09:03:33 UTC+10 mohamed...@hotmail.com wrote:
>
>> Hi ,
>>
>> is it possible to highlight duplicates in a list , or make them stand out 
>> in a different format/color , you know similar to excel 
>>
>> so in the below example ,i have a list that returns tiddlers matching a 
>> certain criteria , and then displays their title field value , and also the 
>> value in a custom field i named "field_example"
>>
>> tiddler1 and tiddler4 have the same value in the custom field and the 
>> value is "X"
>>
>> can i highlight tiddler 1 and tiddler 4 maybe in red ?
>>
>> [image: duplicates.PNG]
>>
>

-- 
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/fafb50c6-cb71-409d-8c22-c19357cf73a4n%40googlegroups.com.


[tw5] Highlighting duplicates in lists

2021-07-29 Thread paulgilbert2000
Hi ,

is it possible to highlight duplicates in a list , or make them stand out 
in a different format/color , you know similar to excel 

so in the below example ,i have a list that returns tiddlers matching a 
certain criteria , and then displays their title field value , and also the 
value in a custom field i named "field_example"

tiddler1 and tiddler4 have the same value in the custom field and the value 
is "X"

can i highlight tiddler 1 and tiddler 4 maybe in red ?

[image: duplicates.PNG]

-- 
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/af0ccd9f-acc5-45bc-a64a-9768ebf071c5n%40googlegroups.com.


[tw5] Re: filter question

2021-07-26 Thread paulgilbert2000
Thanks guys,
 
i don't mind the tag being replaced, i was more interested to know how to 
apply actions  to some but not all tiddlers listed, the button is there 
only to add the tag and  not to display the list, i just want the button  
to add the tag to only a subset of the list  that is tagged with example1

hope this makes sense

On Monday, July 26, 2021 at 9:13:14 AM UTC+2 TW Tones wrote:

> As fred points out  <$action-setfield tags="tag1"/> is to set the whole 
> tags field to tag1, obliterating any other contents.
>
> Since tags can hold more than one tagname or title you must treat it as a 
> list and use the actions designed for tags or use the listop actions. 
> Unless of course you want "obliteration" of the tags field.
>
> Regards
> Tones
>
> On Monday, 26 July 2021 at 11:55:21 UTC+10 fred@gmail.com wrote:
>
>> Hi Mohammad, can you expand a bit about the list you want to see? is this 
>> just when you click the button?
>> One issue is that the setfield will replace the example1 tag 
>> with tag1. Did you mean to show the list only after the change happened, or 
>> did you mean to *add *tag1 to the tiddlers that also have example1?
>> If you want to add a tag, you would be better off using the <$action-listops 
>> $tags="tag1"/> instead of <$action-setfield tags="tag1"/>
>> This will get you part way there...
>>
>> <$button>refresh list and add tag 1
>> 
>> <$action-listops $field="myfield" $filter="[[]]"/>
>> 
>> <$list filter="[tag[example1]] [tag[example2]] [tag[example3]]" 
>> variable="lister">
>> <$action-listops $field="myfield" $subfilter="[enlist]"/>
>> 
>> 
>> <$list filter="[tag[example1]]">
>> <$action-listops $tags="tag1"/>
>> 
>> 
>>
>> 
>> <$list filter="[list[!!myfield]]">
>>
>> 
>>
>>
>>
>> On Sunday, 25 July 2021 at 20:28:30 UTC-4 mohamed...@hotmail.com wrote:
>>
>>>
>>> Hi ,
>>>
>>> is it possible to assign an action to a button that would affect some 
>>> but not all tiddlers listed in a filter 
>>>
>>> so for example, i want to add "tag1" to all tiddlers tagged with 
>>> "example1"
>>>
>>> <$button> add tag 1
>>> <$list filter="[tag[example1]]" >
>>> <$action-setfield tags="tag1"/>
>>> 
>>> 
>>>
>>> but i also want to see all tiddlers tagged with  "example1", "example2" 
>>> and  "example3"..
>>>
>>> i can modify the filter to add all tiddlers tagged with "example1" , 
>>> "example2", "example3",  ... but then if i click the button the action will 
>>> affect all tiddlers , so is there way to set an action against some 
>>> tiddlers meeting a  certain criteria while keeping other tiddlers that 
>>> don't  not matching the criteria on display?
>>>
>>

-- 
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/da15f8ea-e3a3-43b0-b7ac-eac62828e707n%40googlegroups.com.


[tw5] filter question

2021-07-25 Thread paulgilbert2000

Hi ,

is it possible to assign an action to a button that would affect some but 
not all tiddlers listed in a filter 

so for example, i want to add "tag1" to all tiddlers tagged with "example1"

<$button> add tag 1
<$list filter="[tag[example1]]" >
<$action-setfield tags="tag1"/>



but i also want to see all tiddlers tagged with  "example1", "example2" 
and  "example3"..

i can modify the filter to add all tiddlers tagged with "example1" , 
"example2", "example3",  ... but then if i click the button the action will 
affect all tiddlers , so is there way to set an action against some 
tiddlers meeting a  certain criteria while keeping other tiddlers that 
don't  not matching the criteria on display?

-- 
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/1912e209-0b52-481c-9ccb-626606d7dcc7n%40googlegroups.com.


[tw5] Re: tidders created this week

2021-07-24 Thread paulgilbert2000
this worked perfectly , thank you very much tones!

On Thursday, July 22, 2021 at 8:00:59 PM UTC+2 Stobot wrote:

> WOW - agree with Soren, this is HUGE - this will remove the need for sooo 
> many <$wikify> widgets!
>
> On Thursday, July 22, 2021 at 7:59:34 AM UTC-4 Soren Bjornstad wrote:
>
>> On Wednesday, July 21, 2021 at 9:58:33 PM UTC-5 TW Tones wrote:
>>
>>> From the pre-release this feature should make it even simpler
>>>  New in: 5.2.0 Literal macro parameters are supported 
>>> . For example: 
>>> [].
>>>
>>
>> Ooh, that's slick, looking forward to it!
>>
>

-- 
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/259d993a-2ce0-44f3-a3a3-f59f670fc208n%40googlegroups.com.


[tw5] Re: tidders created this week

2021-07-21 Thread paulgilbert2000
Hi,

not exactly following , can you please clarify more what you mean?
On Wednesday, July 21, 2021 at 8:07:20 AM UTC+2 barro...@gmail.com wrote:

> I'm thinking of the  SO-8601 week number of year of one the date formats ( 
> https://tiddlywiki.com/#DateFormat ) which would allow working with 
> actual calendar weeks.  Does filter operators and search work with the 
> different date formats or would week number have to be an user created 
> field for the filter operators to work with.
>
> On Tuesday, July 20, 2021 at 1:48:22 PM UTC-4 mohamed...@hotmail.com 
> wrote:
>
>> Hi ,
>>
>> is it possible to list all tiddlers created this week, that would include 
>> past tiddlers  created 
>> yesterday"Monday" , tiddlers created today " Tuesday". and future 
>> tiddlers to be created in Wednesday ,Thursday and Friday.
>>
>> i know i can use something like this 
>> {{{[all[tiddlers]] :filter[get[created]compare:date:gt[20210719]]}}}
>>
>> but then the date i am comparing against is static, and will need to be 
>> changed manually every week
>>
>> I really like it , if only the date can be replaced with some kind of 
>> dynamic value that is defined as the first day of the current week
>>
>> i know there is the days operator IE , [days[-1]]  , but then again its 
>> not what i want and will also need manual adjustment every day
>>
>> is there any easy way around this ?
>>
>> thanks in advance
>>
>

-- 
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/f1c25504-cdef-4e5f-bf11-ed0e69fc8a6fn%40googlegroups.com.


[tw5] tidders created this week

2021-07-20 Thread paulgilbert2000
Hi ,

is it possible to list all tiddlers created this week, that would include 
past tiddlers  created 
yesterday"Monday" , tiddlers created today " Tuesday". and future tiddlers 
to be created in Wednesday ,Thursday and Friday.

i know i can use something like this 
{{{[all[tiddlers]] :filter[get[created]compare:date:gt[20210719]]}}}

but then the date i am comparing against is static, and will need to be 
changed manually every week

I really like it , if only the date can be replaced with some kind of 
dynamic value that is defined as the first day of the current week

i know there is the days operator IE , [days[-1]]  , but then again its not 
what i want and will also need manual adjustment every day

is there any easy way around this ?

thanks in advance

-- 
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/ded297d0-342b-4304-9a1a-64a5d89c604dn%40googlegroups.com.


[tw5] Re: add hour to field

2021-07-18 Thread paulgilbert2000
isting tiddler already occupies 
>> Duration of a call or duration of a  task =  is the difference between 
>> the start and end date field values
>> Tasks = tiddlers tagged task
>> Calls =  tiddlers tagged Call
>>
>> and
>>
>> calls cannot over lap with other calls 
>> tasks cannot over lap with other tasks
>> Calls cannot over lap with tasks
>>
>> also this all assumes there is a start and end and for a working 
>> day/week  IE. 9 to 5  excluding sat and sunday
>>
>> is this generally speaking achievable in tiddly wiki ?
>>
>>
>>
>> On Tuesday, July 13, 2021 at 12:05:56 AM UTC+2 paulgilbert2000 wrote:
>>
>>> Thanks again :)
>>>
>>> On Monday, July 12, 2021 at 4:07:08 AM UTC+2 Eric Shulman wrote:
>>>
>>>> On Sunday, July 11, 2021 at 2:07:23 PM UTC-7 mohamed...@hotmail.com 
>>>> wrote:
>>>>
>>>>> 1-can i have this macro work for 2 fields at the same time , so same 
>>>>> button pushes an hour for 2 fields
>>>>>
>>>>
>>>> Just replicate the code to adjust each field, like this:
>>>> <$button> add an hour
>>>> <$vars time={{!!field1}} offset="+01:00">
>>>> <$wikify name="newtime" text=<>>
>>>> <$action-setfield field1=<> />
>>>> 
>>>> 
>>>> <$vars time={{!!field2}} offset="+01:00">
>>>> <$wikify name="newtime" text=<>>
>>>> <$action-setfield field2=<> />
>>>> 
>>>> 
>>>> 
>>>>  
>>>>
>>>>> 2- can this work for all fields tagged a particular tag , so for 
>>>>> example list all tiddlers matching a criteria , then one push of a button 
>>>>> adds an hour to all listed tidlers
>>>>>
>>>>
>>>> The code works with a field from the current tiddler, so if you put it 
>>>> within a $list widget that finds all the desired tiddlers, it will update 
>>>> all the tiddlers with one button push:
>>>> <$button> add an hour
>>>> <$list filter="[tag[sometag]]">
>>>><$vars time={{!!somefield}} offset="+01:00">
>>>><$wikify name="newtime" text=<>>
>>>><$action-setfield somefield=<> />
>>>>
>>>>
>>>> 
>>>> 
>>>>
>>>> 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/65715284-e11a-4f66-9293-6ab23efb9e61n%40googlegroups.com.


[tw5] Re: MS Teams / one drive

2021-07-15 Thread paulgilbert2000
Thanks Sto,

but are you able to actualy browse the content from within Teams /one drive 
? so actually view  the contents of the file ?

On Thursday, July 15, 2021 at 5:06:27 PM UTC+2 Stobot wrote:

> It's odd, but I feel like the TiddlyWiki home page used to contain some 
> notes around the ASPX "trick" as it uses WebDAV (I think), but I can't find 
> anything about it now. It's surprising because it's one of the absolute 
> simplest "savers". 
>
> Note for clarity that my understanding is that there's enough technical 
> difference between normal OneDrive and OneDrive for Business / SharePoint 
> that it makes a difference. 
>
> On Thursday, July 15, 2021 at 11:02:20 AM UTC-4 Stobot wrote:
>
>> I might be misunderstanding your question, but yes, I host most of my 
>> wikis in OneDrive for Business / SharePoint and in Teams - the trick is to 
>> rename from .html to .aspx first.
>>
>> On Thursday, July 15, 2021 at 8:54:03 AM UTC-4 mohamed.e...@vodafone.com 
>> wrote:
>>
>>> Any one managed to put tiddly wiki content into Microsoft teams or one 
>>> drive.  i know they dont support Html , but is that the end of it ? or does 
>>> any one has any tricks ?:)
>>
>>

-- 
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/9c211418-4afb-4b09-b825-80623190b5f8n%40googlegroups.com.


[tw5] Re: add hour to field

2021-07-13 Thread paulgilbert2000
Hi,

OK , i confess, i cant hack this , i don't think i have the necessary skill 
to do what i want..

what i really want  is a  schedule where i can scooch over appointments to 
fit one in between existing ones , I think it would be a useful tool for 
anyone who hectic scheduled and is constantly required to reschedule 
appointments ,calls or tasks

so if you think this is easy  , or if you are remotely interested that 
would be great, if not, i am still very grateful for your help either way:)

My Idea was displaying a weeks schedule in  a list filter where every 
tiddler listed is a task with a start field value and end date field value, 
and tagged "task"... which i can do easily

then in parallel. have another schedule . again , represented in a list 
filter , but every tiddler listed is a "Call"with with a start date field 
value and and end date field value  , and tagged call

and the whole idea is to have some mechanism to work as follows

1-if a call is added in a non vacant slot , then push all tasks with a 
value equal to the duration of the call 
2-if a new task is added in a non vacant slot,   then push all tasks with a 
value equal to the duration of the task 

where 
vacant slot = a time space where a tiddler can only hold a start date and 
an end date value that are not overlapping with in other tiddlers tagged 
call or  task
non vacant slot= a time space where an existing tiddler already occupies 
Duration of a call or duration of a  task =  is the difference between the 
start and end date field values
Tasks = tiddlers tagged task
Calls =  tiddlers tagged Call

and

calls cannot over lap with other calls 
tasks cannot over lap with other tasks
Calls cannot over lap with tasks

also this all assumes there is a start and end and for a working day/week  
IE. 9 to 5  excluding sat and sunday

is this generally speaking achievable in tiddly wiki ?



On Tuesday, July 13, 2021 at 12:05:56 AM UTC+2 paulgilbert2000 wrote:

> Thanks again :)
>
> On Monday, July 12, 2021 at 4:07:08 AM UTC+2 Eric Shulman wrote:
>
>> On Sunday, July 11, 2021 at 2:07:23 PM UTC-7 mohamed...@hotmail.com 
>> wrote:
>>
>>> 1-can i have this macro work for 2 fields at the same time , so same 
>>> button pushes an hour for 2 fields
>>>
>>
>> Just replicate the code to adjust each field, like this:
>> <$button> add an hour
>> <$vars time={{!!field1}} offset="+01:00">
>> <$wikify name="newtime" text=<>>
>> <$action-setfield field1=<> />
>> 
>> 
>> <$vars time={{!!field2}} offset="+01:00">
>> <$wikify name="newtime" text=<>>
>> <$action-setfield field2=<> />
>> 
>> 
>> 
>>  
>>
>>> 2- can this work for all fields tagged a particular tag , so for example 
>>> list all tiddlers matching a criteria , then one push of a button adds an 
>>> hour to all listed tidlers
>>>
>>
>> The code works with a field from the current tiddler, so if you put it 
>> within a $list widget that finds all the desired tiddlers, it will update 
>> all the tiddlers with one button push:
>> <$button> add an hour
>> <$list filter="[tag[sometag]]">
>><$vars time={{!!somefield}} offset="+01:00">
>><$wikify name="newtime" text=<>>
>><$action-setfield somefield=<> />
>>
>>
>> 
>> 
>>
>> 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/0ad8057d-784d-42a1-8643-4fe39a1bec38n%40googlegroups.com.


[tw5] Re: Link in Img

2021-07-13 Thread paulgilbert2000
Thanks eric,

is it possible to go even further and put one of tidly wikis widgets on top 
of an image, like a select widget for example?

On Tuesday, July 13, 2021 at 1:10:27 AM UTC+2 Eric Shulman wrote:

> On Monday, July 12, 2021 at 3:11:01 PM UTC-7 mohamed...@hotmail.com wrote:
>
>> i am trying to do a wireframe for a portal i use , and want to put 
>> multiple links on top of their respective positions in an image taken from 
>> the portal, to simulate a user journey,
>> and was wondering if it is it possible to put a link on top of an image
>>
>
> You can use HTML Image Maps to do this.
> see https://www.w3schools.com/html/html_images_imagemap.asp for basic 
> HTML usage.
>
> In TiddlyWiki, you can apply the image map to an external image, like this:
> https://www.w3schools.com/html/workplace.jpg; alt="Workplace" 
> usemap="#workmap" width="400" height="379">
> 
>href="#computer">
>   
>href="#coffee">
> 
>
> Note that the href="..." parameters start with "#", so that they point to 
> tiddlers within the current file, rather than separate URLs
>
> You can also apply the image map to an internal image, like this:
> <$wikify name="srcimg" text="<>">
> > alt="Workplace" usemap="#workmap" width="400" 
> height="379">
> 
> 
>href="#computer">
>   
>href="#coffee">
> 
>
> Note:
> To use the internal image example above, you must download and import the 
> "workplace.jpg" image:
>
>1. open the image URL in your browser: 
>https://www.w3schools.com/html/workplace.jpg
>2. right click on the image and choose "save image as..." to download 
>to a local copy
>3. drag the local file into your TiddlyWiki to import it as a tiddler 
>named "workplace.jpg"
>
> 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/d8cd9a36-e46a-41b4-8532-afe8a0563612n%40googlegroups.com.


[tw5] Link in Img

2021-07-12 Thread paulgilbert2000
Hi,

i am trying to do a wireframe for a portal i use , and wantto put multiple 
links on top of their respective positions in an image taken from the 
portal, to simulate a user journey, 

and was wondering if it is it possible to put a a link on top of an image, 

I am able to add images to tiddlers , but not sure if i can put a link for 
another tidler on the foreground of an Image? 

-- 
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/035ee8b3-13dd-4c13-967c-564e5d9e737cn%40googlegroups.com.


Re: [tw5] Re: Search box

2021-07-12 Thread paulgilbert2000
Hi,

no i think it was pretty understandable, its really my poor coding 
knowledge that makes me take a bit longer to get it :_)

On Sunday, July 11, 2021 at 5:19:54 PM UTC+2 cj.v...@gmail.com wrote:

> Good stuff.
>
> If there are any naughty bits in there that are clear as mud and need some 
> explaining, please reach out here.
>
> That bit of TW code can probably be improved/condensed.  I do tend to have 
> "wordy" solutions because I like to see the little steps involved in 
> getting from A to Z, often ignoring much more elegant solutions (if I know 
> of them).  There's always loads of refactoring potential in anything coming 
> from this kid.
>
> On Sat, Jul 10, 2021 at 11:15 PM paulgilbert2000  
> wrote:
>
>>
>> works like a charm thank you very much :)
>> On Friday, July 9, 2021 at 4:25:55 AM UTC+2 cj.v...@gmail.com wrote:
>>
>>> G'day,
>>>
>>> Give this a spin:
>>>
>>> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
>>> field="search_value"/>
>>>
>>> <$list variable="checkLength" filter="[addsuffix[ 
>>> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5 
>>> characters)//
>>> <$vars searchCriteria={{{  [addsuffix[ 
>>> Data]get[search_value]]  }}}>
>>> <$list filter="
>>> *[search:title,caption:literal,casesensitive]*">
>>> <$link/>
>>> 
>>> 
>>> 
>>>
>>> On Thursday, July 8, 2021 at 10:49:42 PM UTC-3 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>> sorry to back to this again , but which part of the code does the 
>>>> search ? so if i would use [search:title,caption:literal,casesensitive[The 
>>>> first]]like the example in the documentation , where would i put 
>>>> that in the code ?
>>>>
>>>> On Friday, July 2, 2021 at 4:11:40 PM UTC+2 cj.v...@gmail.com wrote:
>>>>
>>>>> For sure.  That's all documented here:  
>>>>> https://tiddlywiki.com/#search%20Operator
>>>>>
>>>>> I much prefer the "wide open" (search all fields), so that if I can 
>>>>> catch the tiddler I want by a selection of words I remember being 
>>>>> wherever 
>>>>> they happen to exist in the tiddler, so maybe a word from the title, a 
>>>>> word 
>>>>> from some custom field, a word from the text.
>>>>>
>>>>> You could make the "field list" for search operator come from another 
>>>>> edit text widget, so you have the flexibility of dynamically specifying 
>>>>> which field(s) you want to search.
>>>>>
>>>>>
>>>>>
>>>>> On Friday, July 2, 2021 at 5:23:13 AM UTC-3 mohamed.e...@vodafone.com 
>>>>> wrote:
>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> However is there a way to make the search more accurate , typing in 
>>>>>> "Hello there"   listed so many tiddlers  , i believe because it is 
>>>>>> seraching all tidder field ? if its the case could it be restrained to 
>>>>>> only 
>>>>>> searching one field, the title ?[image: Capture10.PNG]
>>>>>>
>>>>>> On Friday, July 2, 2021 at 6:04:36 AM UTC+2 cj.v...@gmail.com wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Using TiddlyWiki.com for testing, create a new tiddler with the 
>>>>>>> following content:
>>>>>>>
>>>>>>> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
>>>>>>> field="search_value"/>
>>>>>>>
>>>>>>> <$list variable="checkLength" filter="[addsuffix[ 
>>>>>>> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 
>>>>>>> 5 
>>>>>>> characters)//
>>>>>>> <$vars searchCriteria={{{  [addsuffix[ 
>>>>>>> Data]get[search_value]]  }}}>
>>>>>>> <$list filter="[all[tiddlers]search]">
>>>>>>> <$link/>
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thursday, July 1, 2021 at 10:47:46 PM U

[tw5] Re: add hour to field

2021-07-12 Thread paulgilbert2000
Thanks again :)

On Monday, July 12, 2021 at 4:07:08 AM UTC+2 Eric Shulman wrote:

> On Sunday, July 11, 2021 at 2:07:23 PM UTC-7 mohamed...@hotmail.com wrote:
>
>> 1-can i have this macro work for 2 fields at the same time , so same 
>> button pushes an hour for 2 fields
>>
>
> Just replicate the code to adjust each field, like this:
> <$button> add an hour
> <$vars time={{!!field1}} offset="+01:00">
> <$wikify name="newtime" text=<>>
> <$action-setfield field1=<> />
> 
> 
> <$vars time={{!!field2}} offset="+01:00">
> <$wikify name="newtime" text=<>>
> <$action-setfield field2=<> />
> 
> 
> 
>  
>
>> 2- can this work for all fields tagged a particular tag , so for example 
>> list all tiddlers matching a criteria , then one push of a button adds an 
>> hour to all listed tidlers
>>
>
> The code works with a field from the current tiddler, so if you put it 
> within a $list widget that finds all the desired tiddlers, it will update 
> all the tiddlers with one button push:
> <$button> add an hour
> <$list filter="[tag[sometag]]">
><$vars time={{!!somefield}} offset="+01:00">
><$wikify name="newtime" text=<>>
><$action-setfield somefield=<> />
>
>
> 
> 
>
> 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/cea42531-31d1-462c-92d9-5f65415640d5n%40googlegroups.com.


[tw5] Re: add hour to field

2021-07-11 Thread paulgilbert2000
2 more questions 

1-can i have this marco work for 2 fields at the same time , so same button 
pushes an hour for 2 fields 

2- can this work for all fields tagged a particular tag , so for example 
list all tiddlers matching a criteria , then one push of a button adds an 
hour to all listed tidlers

thanks again

On Monday, July 5, 2021 at 8:50:17 PM UTC+2 paulgilbert2000 wrote:

> Wow  Thanks Eric,
>
> You never respond back with anything less than a full answer , i really 
> wish i could repay you someday for your help and generosity 
>
> Thank you sir!
>
> On Monday, July 5, 2021 at 3:12:17 PM UTC+2 Soren Bjornstad wrote:
>
>> Mystery solved! I needed to look up the syntax of compare the other day 
>> and thought I was just being dense when I couldn't find it in the list.
>>
>> On Sunday, July 4, 2021 at 6:34:36 PM UTC-5 Eric Shulman wrote:
>>
>>> <<.group-heading "String Operators">>
>>> <<.operator-rows "[tag[Filter Operators]!tag[Order 
>>> Operators]!tag[Mathematics Operators]tag[String Operators]!tag[Tag 
>>> Operators]!tag[Special Operators]sort[]]">>
>>> <<.group-heading "Mathematics Operators">>
>>> <<.operator-rows "[tag[Filter Operators]!tag[Order 
>>> Operators]tag[Mathematics Operators]!tag[String Operators]!tag[Tag 
>>> Operators]!tag[Special Operators]sort[]]">>
>>>
>>> On Sunday, July 4, 2021 at 4:22:07 PM UTC-7 Brian Radspinner wrote:
>>>
>>>> The compare operator should be added to the Mathematics section of the 
>>>> Filter 
>>>> Operators <https://tiddlywiki.com/#Filter%20Operators> table, I had no 
>>>> idea it existed until I saw Eric's answer above.
>>>>
>>>
>>> https://tiddlywiki.com/#compare%20Operator works for both numeric and 
>>> string comparisons, and is thus tagged as both "Mathematics Operator" and 
>>> "String Operator".  However, in 
>>> https://tiddlywiki.com/#Filter%20Operators, each of those tag 
>>> categories excludes the all other categories, so "compare" does not appear 
>>> in either table
>>>
>>> -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/71d88246-348c-4283-853e-09af03d6cb16n%40googlegroups.com.


[tw5] Re: Search box

2021-07-10 Thread paulgilbert2000

works like a charm thank you very much :)
On Friday, July 9, 2021 at 4:25:55 AM UTC+2 cj.v...@gmail.com wrote:

> G'day,
>
> Give this a spin:
>
> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
> field="search_value"/>
>
> <$list variable="checkLength" filter="[addsuffix[ 
> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5 
> characters)//
> <$vars searchCriteria={{{  [addsuffix[ 
> Data]get[search_value]]  }}}>
> <$list filter="
> *[search:title,caption:literal,casesensitive]*">
> <$link/>
> 
> 
> 
>
> On Thursday, July 8, 2021 at 10:49:42 PM UTC-3 mohamed...@hotmail.com 
> wrote:
>
>> sorry to back to this again , but which part of the code does the search 
>> ? so if i would use [search:title,caption:literal,casesensitive[The 
>> first]]like the example in the documentation , where would i put 
>> that in the code ?
>>
>> On Friday, July 2, 2021 at 4:11:40 PM UTC+2 cj.v...@gmail.com wrote:
>>
>>> For sure.  That's all documented here:  
>>> https://tiddlywiki.com/#search%20Operator
>>>
>>> I much prefer the "wide open" (search all fields), so that if I can 
>>> catch the tiddler I want by a selection of words I remember being wherever 
>>> they happen to exist in the tiddler, so maybe a word from the title, a word 
>>> from some custom field, a word from the text.
>>>
>>> You could make the "field list" for search operator come from another 
>>> edit text widget, so you have the flexibility of dynamically specifying 
>>> which field(s) you want to search.
>>>
>>>
>>>
>>> On Friday, July 2, 2021 at 5:23:13 AM UTC-3 mohamed.e...@vodafone.com 
>>> wrote:
>>>
 Thanks,

 However is there a way to make the search more accurate , typing in 
 "Hello there"   listed so many tiddlers  , i believe because it is 
 seraching all tidder field ? if its the case could it be restrained to 
 only 
 searching one field, the title ?[image: Capture10.PNG]

 On Friday, July 2, 2021 at 6:04:36 AM UTC+2 cj.v...@gmail.com wrote:

> Hi,
>
> Using TiddlyWiki.com for testing, create a new tiddler with the 
> following content:
>
> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
> field="search_value"/>
>
> <$list variable="checkLength" filter="[addsuffix[ 
> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5 
> characters)//
> <$vars searchCriteria={{{  [addsuffix[ 
> Data]get[search_value]]  }}}>
> <$list filter="[all[tiddlers]search]">
> <$link/>
> 
> 
> 
>
>
>
> On Thursday, July 1, 2021 at 10:47:46 PM UTC-3 mohamed...@hotmail.com 
> wrote:
>
>>
>> Hi ,
>>
>> I have a tiddler that has a filter that lists other tiddlers along 
>> with their details
>>
>> the problem is the list is too long and big that it makes it hard to 
>> find the one particular tiddler i want to look at .
>>
>> is there a way to add like a search box? where i can just enter the 
>> tiddler name and this would hide everything and display the one tiddler 
>> i 
>> entered its name
>>
>

-- 
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/be87cba3-979c-4994-bb74-0ec787493d26n%40googlegroups.com.


[tw5] Re: Search box

2021-07-08 Thread paulgilbert2000
sorry to back to this again , but which part of the code does the search ? 
so if i would use [search:title,caption:literal,casesensitive[The first]]
like the example in the documentation , where would i put that in the code ?

On Friday, July 2, 2021 at 4:11:40 PM UTC+2 cj.v...@gmail.com wrote:

> For sure.  That's all documented here:  
> https://tiddlywiki.com/#search%20Operator
>
> I much prefer the "wide open" (search all fields), so that if I can catch 
> the tiddler I want by a selection of words I remember being wherever they 
> happen to exist in the tiddler, so maybe a word from the title, a word from 
> some custom field, a word from the text.
>
> You could make the "field list" for search operator come from another edit 
> text widget, so you have the flexibility of dynamically specifying which 
> field(s) you want to search.
>
>
>
> On Friday, July 2, 2021 at 5:23:13 AM UTC-3 mohamed.e...@vodafone.com 
> wrote:
>
>> Thanks,
>>
>> However is there a way to make the search more accurate , typing in 
>> "Hello there"   listed so many tiddlers  , i believe because it is 
>> seraching all tidder field ? if its the case could it be restrained to only 
>> searching one field, the title ?[image: Capture10.PNG]
>>
>> On Friday, July 2, 2021 at 6:04:36 AM UTC+2 cj.v...@gmail.com wrote:
>>
>>> Hi,
>>>
>>> Using TiddlyWiki.com for testing, create a new tiddler with the 
>>> following content:
>>>
>>> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
>>> field="search_value"/>
>>>
>>> <$list variable="checkLength" filter="[addsuffix[ 
>>> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5 
>>> characters)//
>>> <$vars searchCriteria={{{  [addsuffix[ 
>>> Data]get[search_value]]  }}}>
>>> <$list filter="[all[tiddlers]search]">
>>> <$link/>
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>> On Thursday, July 1, 2021 at 10:47:46 PM UTC-3 mohamed...@hotmail.com 
>>> wrote:
>>>

 Hi ,

 I have a tiddler that has a filter that lists other tiddlers along with 
 their details

 the problem is the list is too long and big that it makes it hard to 
 find the one particular tiddler i want to look at .

 is there a way to add like a search box? where i can just enter the 
 tiddler name and this would hide everything and display the one tiddler i 
 entered its name

>>>

-- 
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/39e9d682-90e4-4f26-a278-4ef1151ba098n%40googlegroups.com.


[tw5] Re: tiddly wiki view

2021-07-07 Thread paulgilbert2000
This is really good,

Thanks you for the recommendation . and thanks for the tip on where to 
switch the view from

On Wednesday, July 7, 2021 at 7:22:42 PM UTC+2 Mat wrote:

> Also note that so called "story views" are found under Ctrlpanel > 
> Appearance > Storyview
>
> <:-)
>
> On Wednesday, July 7, 2021 at 7:13:39 PM UTC+2 Eric Shulman wrote:
>
>> On Wednesday, July 7, 2021 at 10:05:44 AM UTC-7 mohamed...@hotmail.com 
>> wrote:
>>
>>> are there any other available views in Tidly wiki  other than the 
>>> standard story river , like is it possible to make tiddlys floating to drag 
>>> them around? ,similar to windows?
>>>
>>
>> Give this a try:
>> https://github.com/BurningTreeC/tiddlywiki-muuri
>>
>> Demo:
>> https://burningtreec.github.io/tiddlywiki-muuri/
>>
>> -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/44033a63-4949-48bf-9526-0f0b8bd06a64n%40googlegroups.com.


[tw5] tiddly wiki view

2021-07-07 Thread paulgilbert2000

Hi,

are there any other available views in Tidly wiki  other than the standard 
story river , like is it possible to make tiddlys floating to drag them 
around? ,similar to windows?

-- 
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/617c4f9a-9dbe-4efb-863f-7e7c2207558dn%40googlegroups.com.


[tw5] Re: add hour to field

2021-07-05 Thread paulgilbert2000
Wow  Thanks Eric,

You never respond back with anything less than a full answer , i really 
wish i could repay you someday for your help and generosity 

Thank you sir!

On Monday, July 5, 2021 at 3:12:17 PM UTC+2 Soren Bjornstad wrote:

> Mystery solved! I needed to look up the syntax of compare the other day 
> and thought I was just being dense when I couldn't find it in the list.
>
> On Sunday, July 4, 2021 at 6:34:36 PM UTC-5 Eric Shulman wrote:
>
>> <<.group-heading "String Operators">>
>> <<.operator-rows "[tag[Filter Operators]!tag[Order 
>> Operators]!tag[Mathematics Operators]tag[String Operators]!tag[Tag 
>> Operators]!tag[Special Operators]sort[]]">>
>> <<.group-heading "Mathematics Operators">>
>> <<.operator-rows "[tag[Filter Operators]!tag[Order 
>> Operators]tag[Mathematics Operators]!tag[String Operators]!tag[Tag 
>> Operators]!tag[Special Operators]sort[]]">>
>>
>> On Sunday, July 4, 2021 at 4:22:07 PM UTC-7 Brian Radspinner wrote:
>>
>>> The compare operator should be added to the Mathematics section of the 
>>> Filter 
>>> Operators  table, I had no 
>>> idea it existed until I saw Eric's answer above.
>>>
>>
>> https://tiddlywiki.com/#compare%20Operator works for both numeric and 
>> string comparisons, and is thus tagged as both "Mathematics Operator" and 
>> "String Operator".  However, in 
>> https://tiddlywiki.com/#Filter%20Operators, each of those tag categories 
>> excludes the all other categories, so "compare" does not appear in either 
>> table
>>
>> -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/ea763799-e10d-4121-bd4a-0a839374d83en%40googlegroups.com.


[tw5] add hour to field

2021-07-04 Thread paulgilbert2000
Hi ,

I have a filed that in a tiddler that has a date value, i would like to 
have button to add one hour to the date value , is this possible ?

-- 
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/6efa682f-66c9-4c9f-933c-2872b2019a8fn%40googlegroups.com.


[tw5] Search box

2021-07-01 Thread paulgilbert2000

Hi ,

I have a tiddler that has a filter that lists other tiddlers along with 
their details

the problem is the list is too long and big that it makes it hard to find 
the one particular tiddler i want to look at .

is there a way to add like a search box? where i can just enter the tiddler 
name and this would hide everything and display the one tiddler i entered 
its name

-- 
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/df551a2d-933a-4b34-a0e6-aadffea2c151n%40googlegroups.com.


[tw5] Re: using negative values

2021-06-28 Thread paulgilbert2000
Thank you tones

it was indeed the space

On Monday, June 28, 2021 at 3:43:56 PM UTC+2 TW Tones wrote:

> Mohamed,
>
> Negative values may not always be valid but you example has a space 
> between the sigh + or - and the number. Make it part of the number with no 
> gap. -4 NOT - 4
>
> Regards
> Tones
>
> On Monday, 28 June 2021 at 23:12:26 UTC+10 mohamed...@hotmail.com wrote:
>
>>
>> Hi ,
>>
>> i have a field that has a number value  referenced in a mathematical 
>> operation
>>
>> now I need to use a negative number  , like say - 4  
>>
>> if i write the number  like that ,the mathematical operation does not 
>> work and does not pick up on the number 
>>
>> is there a specific format for using negative values ?
>>
>>
>>

-- 
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/44f14047-a736-4163-9ec0-935f7651de01n%40googlegroups.com.


[tw5] using negative values

2021-06-28 Thread paulgilbert2000

Hi ,

i have a field that has a number value  referenced in a mathematical 
operation

now I need to use a negative number  , like say - 4  

if i write the number  like that ,the mathematical operation does not work 
and does not pick up on the number 

is there a specific format for using negative values ?


-- 
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/ca7f6907-cbed-44d8-887c-5c8b166c9d8en%40googlegroups.com.


[tw5] Re: List tiddlers with title value in custom field

2021-06-21 Thread paulgilbert2000
Thanks , was not aware of this piece of info

Contains worked ,thanks again 

On Monday, June 21, 2021 at 3:52:17 PM UTC+2 Si wrote:

> Hi Mohamed,
>
> >>> I am curious why does <$list filter="[tag]">   works 
> fine ,  and  <$list filter="[childof]">   doesnt ? 
>
> Because tag[] is a defined operator in TiddlyWiki, and childof[] isn't.
>
> TiddlyWiki treats any unrecognised filter operator as a suffix to the 
> field[] operator. So since childof[] is not an existing operator in 
> TiddlyWiki, it is interpreted as a shorthand for field:childof[].
>
> tag[] is an already existing filter operator, so is not interpreted in 
> this way.
>
> To answer your original question, you probably want the contains[] 
> operator: [contains:childof]
>
> On Monday, 21 June 2021 at 14:06:42 UTC+1 mohamed...@hotmail.com wrote:
>
>> Thanks Tones,
>>
>>  I am curious why does <$list filter="[tag]">   works 
>> fine ,  and  <$list filter="[childof]">   doesnt ?
>>
>> they are both fields , so why does one filter work and the other does not.
>>
>> On Monday, June 21, 2021 at 4:17:30 AM UTC+2 TW Tones wrote:
>>
>>> Mohamed,
>>>
>>> You are testing if the whole field value is equal to currentTiddler.
>>>
>>> Perhaps try the Search operator and name the childof field. Perhaps 
>>> child of is also parent. See TocP for some tools to help.
>>>
>>> Tones
>>>
>>> On Monday, 21 June 2021 at 11:07:47 UTC+10 mohamed...@hotmail.com wrote:
>>>
 Hi ,

 I have a Customer filed called "childof"

 I am trying to list all tiddlers that has a value in this filed that 
 matches the title field

 <$list filter="[childof]">

 This filter is not returning any values , what am i doing 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/9eea9001-a977-4559-b330-62e7d3002d69n%40googlegroups.com.


[tw5] Re: List tiddlers with title value in custom field

2021-06-21 Thread paulgilbert2000
Thanks Tones,

 I am curious why does <$list filter="[tag]">   works fine 
,  and  <$list filter="[childof]">   doesnt ?

they are both fields , so why does one filter work and the other does not.

On Monday, June 21, 2021 at 4:17:30 AM UTC+2 TW Tones wrote:

> Mohamed,
>
> You are testing if the whole field value is equal to currentTiddler.
>
> Perhaps try the Search operator and name the childof field. Perhaps child 
> of is also parent. See TocP for some tools to help.
>
> Tones
>
> On Monday, 21 June 2021 at 11:07:47 UTC+10 mohamed...@hotmail.com wrote:
>
>> Hi ,
>>
>> I have a Customer filed called "childof"
>>
>> I am trying to list all tiddlers that has a value in this filed that 
>> matches the title field
>>
>> <$list filter="[childof]">
>>
>> This filter is not returning any values , what am i doing 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/db5fdfd8-8391-4375-889a-edb5f8beca04n%40googlegroups.com.


[tw5] List tiddlers with title value in custom field

2021-06-20 Thread paulgilbert2000
Hi ,

I have a Customer filed called "childof"

I am trying to list all tiddlers that has a value in this filed that 
matches the title field

<$list filter="[childof]">

This filter is not returning any values , what am i doing 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/d013687e-ae3a-4dec-871c-e48a97d340c6n%40googlegroups.com.


[tw5] Re: Create Save and close in one click ?

2021-06-12 Thread paulgilbert2000
Hi again ,

can this work for drop downs as well ? so if i have something like this 


 <$select 
field="blocker"…>
<$list filter='[!is[system]!status[completed]tag[task]sort[title]]'>
<$view field= 'title'/>



can i get the value chosen from the drop list to populate with brackets in 
the "blocker field "  ?

On Friday, June 11, 2021 at 12:04:53 AM UTC+2 paulgilbert2000 wrote:

> Thanks Eric,
>
> works very well:) 
>
> @ tones thanks for the suggestion , was not exactly what i am looking for 
> , but very good to know about, will def be using too !!
>
> thank again every one
>
> On Wednesday, June 9, 2021 at 6:23:01 AM UTC+2 Eric Shulman wrote:
>
>> On Tuesday, June 8, 2021 at 7:03:17 PM UTC-7 mohamed...@hotmail.com 
>> wrote:
>>
>>> One more thing if possible , the field part somefield, i need to 
>>> transclude a value there with spaces
>>> somefield={{!!title}}
>>> and i cant add brackets , because this turns it into a string 
>>> [[{{!!title}}]]
>>>
>> Is there any way to insert the value enclosed in brackets ?
>>>
>>
>> So... let's say you have a title of "Foo Bar Baz" (i.e., text containing 
>> spaces).  Then, when you create a new tiddler using somefield={{!!title}}, 
>> the resulting value of somefield will still be "Foo Bar Baz" (i.e., a 
>> single text value containing spaces).  For almost all purposes, this will 
>> be sufficient, and subsequent references to {{!!somefield}} will still 
>> result as a single text value containing spaces.  Nonetheless, it still 
>> possible to save the field value including added brackets, so that it will 
>> be stored as "[[Foo Bar Baz]]".  Here's one method for adding the brackets:
>>
>> <$button> click me
>><$vars lb="[[" rb="]]">
>><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
>> doo!" tags="foo bar baz" caption="this is a caption" somefield={{{ 
>> [{!!title}addprefixaddsuffix] }}} />
>>
>> 
>>
>> Notes:
>> * The $vars defines two variables that contain the literal "[[" and "]]" 
>> text
>> * The somefield parameter value is then assembled using "filtered 
>> transclusion" to add the brackets before and after the {!!title} value.
>> * The $vars is needed because you can't use literal square brackets as 
>> text within the filter syntax, since they would be interpreted as part of 
>> the filter syntax itself (i.e., you can't write ...addprefix[[[]... or 
>> ...addsuffix[]]]...)
>>
>> Another way to achieve this is to use macros instead of $vars to define 
>> the lb and rb variables, like this:
>> \define lb() [[
>> \define rb() ]]
>>
>> <$button> click me
>><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
>> doo!" tags="foo bar baz" caption="this is a caption" somefield={{{ 
>> [{!!title}addprefixaddsuffix] }}} />
>> 
>>
>> 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/30fbbbfd-f16d-4130-b1af-bb2995fef1d2n%40googlegroups.com.


[tw5] Re: Create Save and close in one click ?

2021-06-10 Thread paulgilbert2000
Thanks Eric,

works very well:) 

@ tones thanks for the suggestion , was not exactly what i am looking for , 
but very good to know about, will def be using too !!

thank again every one

On Wednesday, June 9, 2021 at 6:23:01 AM UTC+2 Eric Shulman wrote:

> On Tuesday, June 8, 2021 at 7:03:17 PM UTC-7 mohamed...@hotmail.com wrote:
>
>> One more thing if possible , the field part somefield, i need to 
>> transclude a value there with spaces
>> somefield={{!!title}}
>> and i cant add brackets , because this turns it into a string 
>> [[{{!!title}}]]
>>
> Is there any way to insert the value enclosed in brackets ?
>>
>
> So... let's say you have a title of "Foo Bar Baz" (i.e., text containing 
> spaces).  Then, when you create a new tiddler using somefield={{!!title}}, 
> the resulting value of somefield will still be "Foo Bar Baz" (i.e., a 
> single text value containing spaces).  For almost all purposes, this will 
> be sufficient, and subsequent references to {{!!somefield}} will still 
> result as a single text value containing spaces.  Nonetheless, it still 
> possible to save the field value including added brackets, so that it will 
> be stored as "[[Foo Bar Baz]]".  Here's one method for adding the brackets:
>
> <$button> click me
><$vars lb="[[" rb="]]">
><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
> doo!" tags="foo bar baz" caption="this is a caption" somefield={{{ 
> [{!!title}addprefixaddsuffix] }}} />
>
> 
>
> Notes:
> * The $vars defines two variables that contain the literal "[[" and "]]" 
> text
> * The somefield parameter value is then assembled using "filtered 
> transclusion" to add the brackets before and after the {!!title} value.
> * The $vars is needed because you can't use literal square brackets as 
> text within the filter syntax, since they would be interpreted as part of 
> the filter syntax itself (i.e., you can't write ...addprefix[[[]... or 
> ...addsuffix[]]]...)
>
> Another way to achieve this is to use macros instead of $vars to define 
> the lb and rb variables, like this:
> \define lb() [[
> \define rb() ]]
>
> <$button> click me
><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
> doo!" tags="foo bar baz" caption="this is a caption" somefield={{{ 
> [{!!title}addprefixaddsuffix] }}} />
> 
>
> 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/406f95a7-9f95-4f26-8abb-d3031942b2ecn%40googlegroups.com.


[tw5] Re: Create Save and close in one click ?

2021-06-08 Thread paulgilbert2000
Thank you Eric,

One more thing if possible , the field part somefield, i need to transclude 
a value there with spaces 

somefield={{!!title}}

and i cant add brackets , because this turns it into a string [[{{!!title}}
]]

Is there any way to insert the value inclosed in brackets ?

On Sunday, June 6, 2021 at 10:18:47 PM UTC+2 Eric Shulman wrote:

> addendum:
>
> If you want to create new tiddlers with automatic numbering if the tiddler 
> already exists, use $action-createtiddler, like this:
>
> <$button> click me
><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
> doo!" tags="foo bar baz" caption="this is a caption" somefield="argle 
> bargle" />
> 
>
> -e
>
> On Sunday, June 6, 2021 at 1:14:27 PM UTC-7 Eric Shulman wrote:
>
>> On Sunday, June 6, 2021 at 12:43:25 PM UTC-7 mohamed...@hotmail.com 
>> wrote:
>>
>>> is there a way to have a button  create a new tiddler ,save it  and 
>>> close it all in one click?
>>>
>>
>> You can create a tiddler and set field values without ever opening it by 
>> using $action-setfield, like this:
>>
>> <$button> click me
>><$action-setfield $tiddler="SomethingNew" text="yabba dabba doo!" 
>> tags="foo bar baz" caption="this is a caption" somefield="argle bargle" />
>> 
>>  
>> -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/69b7b27d-451a-4276-bb13-3f05fcc030f7n%40googlegroups.com.


[tw5] Create Save and close in one click ?

2021-06-06 Thread paulgilbert2000

Hi,

is there a way to have a button  create a new tiddler ,save it  and close 
it all in one click?

-- 
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/2ddb50cc-ab9b-4619-9354-dab4c6804dc8n%40googlegroups.com.


[tw5] Re: radio fields /checkboxes slections are not saved

2021-06-04 Thread paulgilbert2000
it was indeed 

thanks again Eric for all your help
On Friday, June 4, 2021 at 4:53:39 AM UTC+2 Eric Shulman wrote:

> On Thursday, June 3, 2021 at 7:18:02 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> well i do find the filed changes after saving , but they dont reflect in 
>> the actual check box or radio button, meaning that while  the value is in 
>> the field , the selection i previously made is not showing in the check box 
>> or radio button, i hope this makes sense
>>
>
> aha!  I just noticed, you've used CAPITAL letters for the field references 
> in the $select, $radio and $checkbox widgets.  What is happening is that 
> the fields are initially being stored in the tiddler as upper case, so 
> things seem to be working at first... but then when the file is saved, the 
> stored tiddler fieldnames are automatically converted to lower case.  Then, 
> when you reload, those tiddler fieldnames no longer match the references in 
> the $select, $radio and $checkbox widgets.
>
> As described in the first line of https://tiddlywiki.com/#TiddlerFields:
> TiddlerFields are name:value pairs that make up a tiddler 
> . Field names must be *lowercase 
> letters*, digits or the characters - (dash), _ (underscore) 
> and . (period).
>
> So... to fix your problem, just change your references to lower case.
>
> -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/17b660f8-de7c-4c13-a0d6-b064c7395fd5n%40googlegroups.com.


[tw5] Re: radio fields /checkboxes slections are not saved

2021-06-03 Thread paulgilbert2000
Thanks Eric,

well i do find the filed changes after saving , but they dont reflect in 
the actual check box or radio button, meaning that while  the value is in 
the field , the selction i previously made is not showing in the check box 
or radio button, i hope this makes sense

On Friday, June 4, 2021 at 3:28:08 AM UTC+2 Eric Shulman wrote:

> On Thursday, June 3, 2021 at 5:41:20 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> ...they do set the field values , however when i reload the WIKI , the 
>> check boxes are empty and the radio buttons selections are not there...
>>
>
> The checkboxes and radio button selections are stored as fields in the 
> current tiddler, but those field changes won't be preserved unless you 
> actually save your TiddlyWiki file before you reload.
>
> -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/3bb3acd9-8d76-4b56-9d82-0cb88332911en%40googlegroups.com.


[tw5] radio fields /checkboxes slections are not saved

2021-06-03 Thread paulgilbert2000

HI ,

I am having some trouble saving the selections  i make using radio button 
and check boxes

they do set the field values , however when i reload the WIKI , the check 
boxes are empty and the radio buttons selections are not there, is that how 
its meant to work, or am i doing something wrong

Time needed  <$select 
field="ABC"…>

15
30
60
120



<$radio field="A"value="1"> A
<$radio field="A"value="2"> B
<$radio field="A"value="3"> C




<$checkbox field="X" 
checked="8" unchecked="6" default=""> X
<$checkbox field="Y" 
checked="6" unchecked="" default=""> Y 
<$checkbox field="Z" 
checked="8" unchecked="" default=""> Z 


-- 
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/7b0523d9-ca9b-4e84-8cc1-3aa00d2ee1b4n%40googlegroups.com.


[tw5] Re: TiddlyWorldBuilder vs TiddlyRoam

2021-06-03 Thread paulgilbert2000
how is this differnet from tiddly maps ?

On Thursday, June 3, 2021 at 5:42:27 AM UTC+2 iamdar...@gmail.com wrote:

> So I'm still planning TiddlyWorldBuilder though I haven't had a chance to 
> work on it this past week. During my planning though I came across 
> something that I got confused about in the beginning.
>
> It seems that when I combined TIddlyStroll (minus the two column view) and 
> TiddlyMap I'm simply making an updated version of TiddlyRoam. From my 
> understanding TiddlyRoam originally used TiddlyBlink which was the 
> predecessor to TiddlyStroll.
>
> So at this time, the only two differences between TiddlyWorldBuilder and 
> TiddlyRoam is that I'm using the updated TiddlyStroll code (minus the two 
> column view) and have added TiddlyMentat (minus the Engine plugin being 
> active).
>
> Just figured I would put the above out there to ensure proper credit has 
> been given and to keep everyone in the loop of what I've come across/put 
> together for TiddlyWorldBuilder.
>
> Thanks!
>
> Roam - https://tiddlyroam.org/
> Stroll - https://giffmex.org/stroll/stroll.html 
> Blink - https://giffmex.org/gifts/tiddlyblink.html
> Mentat - https://github.com/theSherwood/Mentat
>

-- 
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/cd813521-4e8b-4cee-be01-ad98991a70ban%40googlegroups.com.


[tw5] Re: sorting using refrenced values

2021-06-01 Thread paulgilbert2000
ok one more thing,

it seems the mathematical operations only occur when the values are being 
entered , if i save the wiki and open it again , the operation does not 
happen on the stored values i entered in a previous session

so if i set the severity(via radio buttons)  to "1" , and the impact to  
"2" , i can see the priority as "3"

if i close the wiki and comeback , i find the priority set back to 0 , i 
actually also realized that the radio button resets, and does not save what 
i have checked in a previous session

is this normal, or am i doing something wrong ?

On Wednesday, May 19, 2021 at 1:39:47 AM UTC+2 paulgilbert2000 wrote:

> Thanks Soren/Mike,
>
> I got it to work exactly as you have explained :)
>
> BTW congrats on Grok TiddlyWiki, i am already reading through it ,and 
> find it extremely well written and easy to understand for beginners like 
> mys self
>
> Thanks again Soren and mike :)
>
> On Wednesday, May 19, 2021 at 1:11:02 AM UTC+2 Soren Bjornstad wrote:
>
>> So the reason sorting by the "priority" field doesn't work is because the 
>> field literally contains the text "{{!!severity}}{{!!impact}}". Those 
>> transclusions only get processed and turned into a series of 1's when the 
>> field is *wikified*, which normally happens right before it's displayed 
>> within the tiddler. If you access the priority field through a filter or 
>> pass it as the value of an HTML/widget attribute, it will still just 
>> contain the text. (More on wikification. 
>> <https://groktiddlywiki.com/read/#Wikification>)
>>
>> That's probably not a great way to do it anyway, since you have to 
>> manually put that text in every tiddler.
>>
>> The point of Mike's snippet wasn't the tag part (I don't think tags have 
>> anything to do with your use case) – that was just a placeholder for 
>> whatever filter steps you needed to select the relevant tiddlers. The 
>> important part was the *sortsub* operator, which runs a filter 
>> expression against each element to determine how to sort it. In your case, 
>> I think you would want something to the effect of:
>>
>> \define sortformula() [{!!severity}add{!!impact}]
>>
>> <$list filter="[status[In House]] [status[With Vendor]] 
>> +[!sortsub:integer]">
>> <$link/> (priority <$text text={{{ [{!!severity}add{!!impact}] }}}/>)
>> 
>>
>> (For this to work you need to switch to the actual numbers, rather than a 
>> string of 1's. Also note that the filter you gave above for tiddlers with a 
>> particular value in the status field is incorrect because it contains a 
>> space after the word *status* – a space isn't allowed there.)
>>
>> The {{{}}} allow you to transclude the result of a filter expression 
>> <https://groktiddlywiki.com/read/#Filters%20and%20Transclusions>...so 
>> that's how you "view the outcome of the mathematical operations".
>>
>> On Tuesday, May 18, 2021 at 5:58:08 PM UTC-5 mohamed...@hotmail.com 
>> wrote:
>>
>>> Thanks Mike,
>>>
>>> so basically i am trying to do is simulate a ticketing tool.. , and 
>>> assign prioritys to tiddlers i am using as tasks ,  2 criteria(severity , 
>>> impact) or more  that add up to a given priority/ranking , 
>>>
>>> so tiddler A is called " archive data" 
>>>
>>> field x is  "severity" and  has value 111
>>> filed Y is  "impact"  and has value 1
>>> Field z is "priority" and  has value {{!!severity}}{{!!impact}} --> 
>>> translating to  
>>>
>>> tiddler b is called "restart server"
>>>
>>> field x is  "severity" and  has value 11
>>> filed Y is  "impact"  and has value 111
>>> Field z is "priority" and  has value {{!!severity}}{{!!impact}} --> 
>>> translating to  1 
>>>
>>>
>>>
>>> they also have another field "status" which can be either " In House " 
>>> or " With Vendor" , so thats another 4th field that will hold any of these 
>>> 2 values .
>>>
>>> then...
>>>
>>> <$list filter= 
>>> "[status[In House]][status[With Vendor]]+[sort[priority]]">
>>>
>>>
>>>
>>> Now ,The reason i am using ones in the field values (ie 1) is 
>>> because , i understand you cant do math in fields .. which is another 
>>> problem ..
>>>
>>> but then m

Re: [tw5] vis.js Timeline time format

2021-06-01 Thread paulgilbert2000
nm second thought

have you tired tiddly map ?http://tiddlymap.org/

it can provide visual presentation for dependencies between different 
tiddlers , not exactly a gantt chart ,but  its still pretty neat!

On Monday, May 31, 2021 at 8:44:21 PM UTC+2 paulgilbert2000 wrote:

> Hi Walt,
>
> i know , and i guess you will have to live with the red warning , that 
> unless you put some place holder dummy data in the start and end date 
> fields for all other tiddlers ..  and yes 100% , the gnatt chart plugin you 
> mentioned is far superior, i wish i had the knowledge to integrate it with 
> tidly wiki :) 
>
> who knows, maybe its on somebodys road map somewhere :)
>
>
>
>
> On Monday, May 31, 2021 at 1:22:36 PM UTC+2 ludwa6 wrote:
>
>> Thanks @mohamed for the good explainer; given that help, i got it working 
>> now as was probably intended -except maybe for one thing: 
>> That red error icon is now when clicked returning me a list of ALL 
>> tiddlers that don't include both a start date and an end date, which 
>> renders this plugin suitable only for a site wherein you want every tiddler 
>> to have a corresponding plot on the Gantt chart.  Is this the way it's 
>> supposed to work?
>>
>> In my case: i only want to plot those tiddlers that are related to some 
>> certain project(s) -but of course there are other tiddlers in the wiki that 
>> don't include the datepicker widget, because they are not related to 
>> project timeline(s).  How can i keep all these other tiddlers from 
>> triggering the error flag, i wonder?
>>
>> ps: While searching for other solutions, via this post from @PMario 
>> <https://groups.google.com/g/tiddlywikidev/c/oh1TQDNViBQ/m/dp4Lafj3EAAJ> 
>> on the dev list, i came upon this "Open Source Javascript Gantt 
>> <https://frappe.io/gantt>" library that delivers *exactly* what i would 
>> love to have in such a utility and nothing more: draggable timelines & 
>> timescales, click for more info, with the ability to link timelines via 
>> dependencies.  Give that one a try -last link points to an interactive demo 
>> page- and tell me: wouldn't that make for a superior timeline plugin?
>>
>> /walt
>> On Sunday, May 30, 2021 at 10:20:09 PM UTC+1 mohamed...@hotmail.com 
>> wrote:
>>
>>> Hi Walt,
>>>
>>> i am no expert but i will tell you what i know :)
>>>
>>> so there is this date picker plugin 
>>> http://kixam.github.io/TW5-datePicker/
>>> whatever date values you choose will populate in their respective fields 
>>> in the tidly wiki format, which in turn should reflect properly in the 
>>> timline
>>>
>>>
>>>
>>>
>>> [image: datepicker.PNG][image: datepicker2.PNG]
>>>
>>>
>>> for the red Icon  ,If have you clicked on  it , it should have opened a 
>>> tiddler detailing the errors , what are the errors you are getting ?
>>>
>>>
>>> For the UI bit i think you need to add the plugin view to the side bar, 
>>> so whatever tiddler  your time line is currently displayed in, just add 
>>> this this tag to it " $:/tags/SideBar" .
>>>
>>>  the verticality  is coming from tags ,or at least mine behaves this 
>>> way, so first row has all tiddlers tagged with "tag1", second row all 
>>> tiddlers tagged with "tag 2", and so on .
>>>
>>> so you basically need a start date and and end date for the horizontal 
>>> aspect of the time line , and tags , for the vertical aspect of the plugin
>>>
>>> <$visjstimeline persistent 
>>> endDateField="enddate"startDateField="startdate"  *groupTags="[[tag 
>>> 1]]" *navpad tipFormat="-MM-DD HH:mm">
>>>
>>> group tags is what governs the data populated from the top down , you 
>>> need to add tag values there , then tag you tiddlers to show on the time 
>>> line
>>>
>>> On Friday, May 28, 2021 at 5:06:00 PM UTC+2 ludwa6 wrote:
>>>
>>>> Good to hear @Mohammed that you have solved it, as i am struggling w/ 
>>>> this one myself.  Can you share that date picker solution? 
>>>>
>>>> Also: i wonder if i'm alone in having this problem with this problem of 
>>>> warning icon in display (red exclamation mark in Top RH corner of attached 
>>>> screen grab) -? 
>>>>
>>>> Finally: i'm unable to visualise a fuller view (i.e. more bar-lines) 
>>>> than what is shown in the attached image; cannot scr

Re: [tw5] vis.js Timeline time format

2021-05-31 Thread paulgilbert2000
Hi Walt,

i know , and i guess you will have to live with the red warning , that 
unless you put some place holder dummy data in the start and end date 
fields for all other tiddlers ..  and yes 100% , the gnatt chart plugin you 
mentioned is far superior, i wish i had the knowledge to integrate it with 
tidly wiki :) 

who knows, maybe its on somebodys road map somewhere :)




On Monday, May 31, 2021 at 1:22:36 PM UTC+2 ludwa6 wrote:

> Thanks @mohamed for the good explainer; given that help, i got it working 
> now as was probably intended -except maybe for one thing: 
> That red error icon is now when clicked returning me a list of ALL 
> tiddlers that don't include both a start date and an end date, which 
> renders this plugin suitable only for a site wherein you want every tiddler 
> to have a corresponding plot on the Gantt chart.  Is this the way it's 
> supposed to work?
>
> In my case: i only want to plot those tiddlers that are related to some 
> certain project(s) -but of course there are other tiddlers in the wiki that 
> don't include the datepicker widget, because they are not related to 
> project timeline(s).  How can i keep all these other tiddlers from 
> triggering the error flag, i wonder?
>
> ps: While searching for other solutions, via this post from @PMario 
> <https://groups.google.com/g/tiddlywikidev/c/oh1TQDNViBQ/m/dp4Lafj3EAAJ> 
> on the dev list, i came upon this "Open Source Javascript Gantt 
> <https://frappe.io/gantt>" library that delivers *exactly* what i would 
> love to have in such a utility and nothing more: draggable timelines & 
> timescales, click for more info, with the ability to link timelines via 
> dependencies.  Give that one a try -last link points to an interactive demo 
> page- and tell me: wouldn't that make for a superior timeline plugin?
>
> /walt
> On Sunday, May 30, 2021 at 10:20:09 PM UTC+1 mohamed...@hotmail.com wrote:
>
>> Hi Walt,
>>
>> i am no expert but i will tell you what i know :)
>>
>> so there is this date picker plugin 
>> http://kixam.github.io/TW5-datePicker/
>> whatever date values you choose will populate in their respective fields 
>> in the tidly wiki format, which in turn should reflect properly in the 
>> timline
>>
>>
>>
>>
>> [image: datepicker.PNG][image: datepicker2.PNG]
>>
>>
>> for the red Icon  ,If have you clicked on  it , it should have opened a 
>> tiddler detailing the errors , what are the errors you are getting ?
>>
>>
>> For the UI bit i think you need to add the plugin view to the side bar, 
>> so whatever tiddler  your time line is currently displayed in, just add 
>> this this tag to it " $:/tags/SideBar" .
>>
>>  the verticality  is coming from tags ,or at least mine behaves this way, 
>> so first row has all tiddlers tagged with "tag1", second row all tiddlers 
>> tagged with "tag 2", and so on .
>>
>> so you basically need a start date and and end date for the horizontal 
>> aspect of the time line , and tags , for the vertical aspect of the plugin
>>
>> <$visjstimeline persistent 
>> endDateField="enddate"startDateField="startdate"  *groupTags="[[tag 1]]" 
>> *navpad tipFormat="-MM-DD HH:mm">
>>
>> group tags is what governs the data populated from the top down , you 
>> need to add tag values there , then tag you tiddlers to show on the time 
>> line
>>
>> On Friday, May 28, 2021 at 5:06:00 PM UTC+2 ludwa6 wrote:
>>
>>> Good to hear @Mohammed that you have solved it, as i am struggling w/ 
>>> this one myself.  Can you share that date picker solution? 
>>>
>>> Also: i wonder if i'm alone in having this problem with this problem of 
>>> warning icon in display (red exclamation mark in Top RH corner of attached 
>>> screen grab) -? 
>>>
>>> Finally: i'm unable to visualise a fuller view (i.e. more bar-lines) 
>>> than what is shown in the attached image; cannot scroll up/down in the 
>>> tiddler, and it only shows what it shows (fixed height). 
>>>
>>> I don't know if these UI issues are related to my browser  
>>> (TiddlyDesktop 0.0.14), or if it's something else. 
>>> Any advice would be most appreciated!
>>>
>>> /walt
>>>
>>> On Tuesday, May 25, 2021 at 1:32:03 AM UTC+1 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>> Thanks Jan,
>>>>
>>>> ok yes, it uses the standard tiddly wiki format , i also  found a date 
>>>> picker that that puts the format as tiddly wiki lik

Re: [tw5] vis.js Timeline time format

2021-05-30 Thread paulgilbert2000
Hi Walt,

i am no expert but i will tell you what i know :)

so there is this date picker plugin 
http://kixam.github.io/TW5-datePicker/
whatever date values you choose will populate in their respective fields in 
the tidly wiki format, which in turn should reflect properly in the timline




[image: datepicker.PNG][image: datepicker2.PNG]


for the red Icon  ,If have you clicked on  it , it should have opened a 
tiddler detailing the errors , what are the errors you are getting ?


For the UI bit i think you need to add the plugin view to the side bar, so 
whatever tiddler  your time line is currently displayed in, just add this 
this tag to it " $:/tags/SideBar" .

 the verticality  is coming from tags ,or at least mine behaves this way, 
so first row has all tiddlers tagged with "tag1", second row all tiddlers 
tagged with "tag 2", and so on .

so you basically need a start date and and end date for the horizontal 
aspect of the time line , and tags , for the vertical aspect of the plugin

<$visjstimeline persistent 
endDateField="enddate"startDateField="startdate"  *groupTags="[[tag 1]]" 
*navpad 
tipFormat="-MM-DD HH:mm">

group tags is what governs the data populated from the top down , you need 
to add tag values there , then tag you tiddlers to show on the time line

On Friday, May 28, 2021 at 5:06:00 PM UTC+2 ludwa6 wrote:

> Good to hear @Mohammed that you have solved it, as i am struggling w/ this 
> one myself.  Can you share that date picker solution? 
>
> Also: i wonder if i'm alone in having this problem with this problem of 
> warning icon in display (red exclamation mark in Top RH corner of attached 
> screen grab) -? 
>
> Finally: i'm unable to visualise a fuller view (i.e. more bar-lines) than 
> what is shown in the attached image; cannot scroll up/down in the tiddler, 
> and it only shows what it shows (fixed height). 
>
> I don't know if these UI issues are related to my browser  (TiddlyDesktop 
> 0.0.14), or if it's something else. 
> Any advice would be most appreciated!
>
> /walt
>
> On Tuesday, May 25, 2021 at 1:32:03 AM UTC+1 mohamed...@hotmail.com wrote:
>
>> Thanks Jan,
>>
>> ok yes, it uses the standard tiddly wiki format , i also  found a date 
>> picker that that puts the format as tiddly wiki likes it , problem solved , 
>> thanks :)
>> On Monday, May 24, 2021 at 11:49:14 PM UTC+2 Jan wrote:
>>
>>> Hi,
>>> if you are not using the TW custom format for dates you have to set a 
>>> parameter to define it. 
>>> And I do not know what the plugin does with blank spaces like in your 
>>> format. 
>>>
>>> Cheers Jan
>>>
>>> Am So., 23. Mai 2021 um 23:38 Uhr schrieb paulgilbert2000 <
>>> mohamed...@hotmail.com>:
>>>
>>>>
>>>> Hi ,
>>>>
>>>> i am starting to learn how to use vis.js <http://visjs.org> Timeline 
>>>> http://kixam.github.io/TW5-visjsTimeline/
>>>>
>>>> i got everything installed , i am using custom date fields instead of 
>>>> Created/modified 
>>>>
>>>> i am struggling with the date format i should be using in the customer 
>>>> fields, does any one know the correct format to be used ?
>>>>
>>>> I am using -MM-DD hh:mm
>>>>
>>>> but none of the values i am putting are interpreted correctly on the 
>>>> visual time line
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "TiddlyWiki" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to tiddlywiki+...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tiddlywiki/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>>

-- 
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/b0490cc5-1b7a-4759-a6ca-5e3cb6019cc0n%40googlegroups.com.


Re: [tw5] vis.js Timeline time format

2021-05-24 Thread paulgilbert2000
Thanks Jan,

ok yes, it uses the standard tiddly wiki format , i also  found a date 
picker that that puts the format as tiddly wiki likes it , problem solved , 
thanks :)
On Monday, May 24, 2021 at 11:49:14 PM UTC+2 Jan wrote:

> Hi,
> if you are not using the TW custom format for dates you have to set a 
> parameter to define it. 
> And I do not know what the plugin does with blank spaces like in your 
> format. 
>
> Cheers Jan
>
> Am So., 23. Mai 2021 um 23:38 Uhr schrieb paulgilbert2000 <
> mohamed...@hotmail.com>:
>
>>
>> Hi ,
>>
>> i am starting to learn how to use vis.js <http://visjs.org> Timeline 
>> http://kixam.github.io/TW5-visjsTimeline/
>>
>> i got everything installed , i am using custom date fields instead of 
>> Created/modified 
>>
>> i am struggling with the date format i should be using in the customer 
>> fields, does any one know the correct format to be used ?
>>
>> I am using -MM-DD hh:mm
>>
>> but none of the values i am putting are interpreted correctly on the 
>> visual time line
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/756f808f-8497-41f5-b7ec-1b906b5c25f7n%40googlegroups.com.


[tw5] vis.js Timeline time format

2021-05-23 Thread paulgilbert2000

Hi ,

i am starting to learn how to use vis.js  Timeline 
http://kixam.github.io/TW5-visjsTimeline/

i got everything installed , i am using custom date fields instead of 
Created/modified 

i am struggling with the date format i should be using in the customer 
fields, does any one know the correct format to be used ?

I am using -MM-DD hh:mm

but none of the values i am putting are interpreted correctly on the visual 
time line

-- 
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/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com.


[tw5] Re: remove tags meeting specific criteria

2021-05-22 Thread paulgilbert2000
Works!

Thank you Eric

On Saturday, May 22, 2021 at 10:19:36 PM UTC+2 Eric Shulman wrote:

> On Saturday, May 22, 2021 at 12:46:19 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> is there a command that could be used to remove certain tags that meet a 
>> specific criteria , say for example all tags that have a "#"  maybe ?
>> so if tiddler A  has "tag 1" "#tag 2" "tag 3"
>> is there a way to remove #tag 2  for example
>> i am also doing this part of creating a new  tiddler that inherits tags 
>> from another tiddler , but i dont want all of the tags
>>
>
> Try this:
> <$button> test this
> <$vars lb="[[" rb="]]">
> <$action-sendmessage $message="tm-new-tiddler"
>tags={{{ [[Tiddler 
> A]get[tags]enlist-input[]!prefix[#]addprefixaddsuffixjoin[ ]] }}} />
> 
> 
>
> Notes:
> * [Tiddler A]get[tags] gets the tags field value as a single text string
> * enlist-input[] converts this to a list of individual tags
> * !prefix[#] filters out the undesired tags
> * addprefixaddsuffix adds doubled brackets surrounding each tag 
> (in case the tag names contain spaces
> * join[ ] reassembles the individual tags back into a single text string
>
> 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/00c175e8-fc65-43ad-b574-113f864d00een%40googlegroups.com.


[tw5] remove tags meeting specific criteria

2021-05-22 Thread paulgilbert2000
HI ,

is there a command that could be used to remove certain tags that meet a 
specific criteria , say for example all tags that have a "#"  maybe ?

so if tiddler A  has "tag 1" "#tag 2" "tag 3"

is there a way to remove #tag 2  for example 

i am also doing this part of creating a new  tiddler that inherits tags 
from another tiddler , but i dont want all of the tags


so i am hoping that there is something like that 

<$action-sendmessage $message="tm-new-tiddler" remove tags= does not 
contain "#"

-- 
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/4f9b7775-0b11-4f97-9b22-744ce680e744n%40googlegroups.com.


[tw5] Re: sorting using refrenced values

2021-05-18 Thread paulgilbert2000
Thanks Soren/Mike,

I got it to work exactly as you have explained :)

BTW congrats on Grok TiddlyWiki, i am already reading through it ,and find 
it extremely well written and easy to understand for beginners like mys self

Thanks again Soren and mike :)

On Wednesday, May 19, 2021 at 1:11:02 AM UTC+2 Soren Bjornstad wrote:

> So the reason sorting by the "priority" field doesn't work is because the 
> field literally contains the text "{{!!severity}}{{!!impact}}". Those 
> transclusions only get processed and turned into a series of 1's when the 
> field is *wikified*, which normally happens right before it's displayed 
> within the tiddler. If you access the priority field through a filter or 
> pass it as the value of an HTML/widget attribute, it will still just 
> contain the text. (More on wikification. 
> )
>
> That's probably not a great way to do it anyway, since you have to 
> manually put that text in every tiddler.
>
> The point of Mike's snippet wasn't the tag part (I don't think tags have 
> anything to do with your use case) – that was just a placeholder for 
> whatever filter steps you needed to select the relevant tiddlers. The 
> important part was the *sortsub* operator, which runs a filter expression 
> against each element to determine how to sort it. In your case, I think you 
> would want something to the effect of:
>
> \define sortformula() [{!!severity}add{!!impact}]
>
> <$list filter="[status[In House]] [status[With Vendor]] 
> +[!sortsub:integer]">
> <$link/> (priority <$text text={{{ [{!!severity}add{!!impact}] }}}/>)
> 
>
> (For this to work you need to switch to the actual numbers, rather than a 
> string of 1's. Also note that the filter you gave above for tiddlers with a 
> particular value in the status field is incorrect because it contains a 
> space after the word *status* – a space isn't allowed there.)
>
> The {{{}}} allow you to transclude the result of a filter expression 
> ...so 
> that's how you "view the outcome of the mathematical operations".
>
> On Tuesday, May 18, 2021 at 5:58:08 PM UTC-5 mohamed...@hotmail.com wrote:
>
>> Thanks Mike,
>>
>> so basically i am trying to do is simulate a ticketing tool.. , and 
>> assign prioritys to tiddlers i am using as tasks ,  2 criteria(severity , 
>> impact) or more  that add up to a given priority/ranking , 
>>
>> so tiddler A is called " archive data" 
>>
>> field x is  "severity" and  has value 111
>> filed Y is  "impact"  and has value 1
>> Field z is "priority" and  has value {{!!severity}}{{!!impact}} --> 
>> translating to  
>>
>> tiddler b is called "restart server"
>>
>> field x is  "severity" and  has value 11
>> filed Y is  "impact"  and has value 111
>> Field z is "priority" and  has value {{!!severity}}{{!!impact}} --> 
>> translating to  1 
>>
>>
>>
>> they also have another field "status" which can be either " In House " or 
>> " With Vendor" , so thats another 4th field that will hold any of these 2 
>> values .
>>
>> then...
>>
>> <$list filter= 
>> "[status[In House]][status[With Vendor]]+[sort[priority]]">
>>
>>
>>
>> Now ,The reason i am using ones in the field values (ie 1) is because 
>> , i understand you cant do math in fields .. which is another problem ..
>>
>> but then my thinking was ,i run a filter on all tiddlers which has "In 
>> house " or "With Vendor " in the status field values  
>> [status [In House]][status[With Vendor]] 
>>
>> then sort them using the priority field , and that should sort the 
>> tiddlers with the higher ranking at top, and thats when i realized the 
>> sorting doesn work , hence this post.
>>
>> i have few questions
>>
>> if i understood correctly you are saying this can be done using tags 
>> instead ? 
>> so can it be done using field instead (so instead of  [tag[sortbyfield], 
>> could it be [status [In House]?
>> also how can i view the outcome of the mathematical operations?
>>
>> and finally , now that you know what i am after , is there a better way 
>> of doing all this ?
>>
>>
>>
>>
>>
>> On Tuesday, May 18, 2021 at 4:41:19 PM UTC+2 mwik...@gmail.com wrote:
>>
>>> For instance, in your specific example you could use a filter like 
>>> [{!!x}multiply[10]add{!!y}] in the sortsub for your list of tiddlers 
>>> containing x and y ... you don't need a z field for this particular use.
>>>
>>> So if you had a bunch of tiddlers tagged with "sortbyfield" you can do:
>>>
>>> \define ssfilter() [{!!x}multiply[10]add{!!y}]
>>>
>>> <$list filter="[tag[sortbyfield]sortsub:integer]"/>
>>>
>>> This works for your particular example that you provided because you can 
>>> do math in the filter. Not sure how easy it would be in the general sense.
>>>
>>> /Mike
>>>
>>> On Tuesday, May 18, 2021 at 9:03:46 AM UTC-3 Michael Wiktowy wrote:
>>>
 Not exactly what you want but if you can express your combination of 

[tw5] Re: sorting using refrenced values

2021-05-18 Thread paulgilbert2000
Thanks Mike,

so basically i am trying to do is simulate a ticketing tool.. , and assign 
prioritys to tiddlers i am using as tasks ,  2 criteria(severity , impact) 
or more  that add up to a given priority/ranking , 

so tiddler A is called " archive data" 

field x is  "severity" and  has value 111
filed Y is  "impact"  and has value 1
Field z is "priority" and  has value {{!!severity}}{{!!impact}} --> 
translating to  

tiddler b is called "restart server"

field x is  "severity" and  has value 11
filed Y is  "impact"  and has value 111
Field z is "priority" and  has value {{!!severity}}{{!!impact}} --> 
translating to  1 



they also have another field "status" which can be either " In House " or " 
With Vendor" , so thats another 4th field that will hold any of these 2 
values .

then...

<$list filter= 
"[status[In House]][status[With Vendor]]+[sort[priority]]">



Now ,The reason i am using ones in the field values (ie 1) is because , 
i understand you cant do math in fields .. which is another problem ..

but then my thinking was ,i run a filter on all tiddlers which has "In 
house " or "With Vendor " in the status field values  
[status [In House]][status[With Vendor]] 

then sort them using the priority field , and that should sort the tiddlers 
with the higher ranking at top, and thats when i realized the sorting doesn 
work , hence this post.

i have few questions

if i understood correctly you are saying this can be done using tags 
instead ? 
so can it be done using field instead (so instead of  [tag[sortbyfield], 
could it be [status [In House]?
also how can i view the outcome of the mathematical operations?

and finally , now that you know what i am after , is there a better way of 
doing all this ?





On Tuesday, May 18, 2021 at 4:41:19 PM UTC+2 mwik...@gmail.com wrote:

> For instance, in your specific example you could use a filter like 
> [{!!x}multiply[10]add{!!y}] in the sortsub for your list of tiddlers 
> containing x and y ... you don't need a z field for this particular use.
>
> So if you had a bunch of tiddlers tagged with "sortbyfield" you can do:
>
> \define ssfilter() [{!!x}multiply[10]add{!!y}]
>
> <$list filter="[tag[sortbyfield]sortsub:integer]"/>
>
> This works for your particular example that you provided because you can 
> do math in the filter. Not sure how easy it would be in the general sense.
>
> /Mike
>
> On Tuesday, May 18, 2021 at 9:03:46 AM UTC-3 Michael Wiktowy wrote:
>
>> Not exactly what you want but if you can express your combination of 
>> field x and field y as a filter expression, you should be able to use 
>> sortsub.
>> /Mike
>>
>>
>> On Monday, May 17, 2021 at 10:45:20 PM UTC-3 mohamed...@hotmail.com 
>> wrote:
>>
>>>
>>> Hi ,
>>>
>>> is it possible to sort transcluded /referenced values?
>>>
>>> so i have tiddler 1 which has 3 fields ,field x , field y and field z 
>>>
>>> field x = 1
>>> field y = 2
>>> field z=  {{!!field x}}{{!! field y}}  --> which translates to "12"
>>>
>>> Now i have the same exact thing happening for 4 or 5 other tiddlers with 
>>> different values for field x and field y , and field z referencing them
>>>
>>> now i am doing a list filter , that lists said tiddlers , and putting a 
>>> sort at the end ..
>>>
>>> so something like <$list filter=  criteria . and then towards the 
>>> end [sort[ field z ]]">
>>>
>>>
>>>  The sort is working, i also used nsort with no luck , so is there 
>>> something i am doing wrong, or referenced values cannot be used as a 
>>> criteria for a sort ?
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>>
>>>
>>>

-- 
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/624388b5-7991-4172-844b-162c70f40af7n%40googlegroups.com.


[tw5] sorting using refrenced values

2021-05-17 Thread paulgilbert2000

Hi ,

is it possible to sort transcluded /referenced values?

so i have tiddler 1 which has 3 fields ,field x , field y and field z 

field x = 1
field y = 2
field z=  {{!!field x}}{{!! field y}}  --> which translates to "12"

Now i have the same exact thing happening for 4 or 5 other tiddlers with 
different values for field x and field y , and field z referencing them

now i am doing a list filter , that lists said tiddlers , and putting a 
sort at the end ..

so something like <$list filter=  criteria . and then towards the end  
   [sort[ field z ]]">


 The sort is working, i also used nsort with no luck , so is there 
something i am doing wrong, or referenced values cannot be used as a 
criteria for a sort ?

Thanks in advance





-- 
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/a74be691-aece-4201-8502-965943dd7fb9n%40googlegroups.com.


Re: [tw5] First edition of Grok TiddlyWiki (TW textbook) is live

2021-05-16 Thread paulgilbert2000
i am new to tidly wiki , this will be my bible :) 

thank you very much

On Monday, May 17, 2021 at 1:10:59 AM UTC+2 joshua@gmail.com wrote:

> Well done! Love the sci-fi nod, Tiddlywiki is definitely something that 
> requires much meditation to "grok".
> (For the audience: https://en.wikipedia.org/wiki/Grok)
>
> Devouring now. Mahalo (thanks),
>
> Joshua Fontany
>
> On Sunday, May 16, 2021 at 9:37:10 AM UTC-7 Mohammad wrote:
>
>> Hi Soren,
>>
>>  Well done! You did a really great job!
>>
>>  A well organized book with interactive contents! It is kind of unique!
>>
>>  I absolutely recommend reading it not only for beginners but also for 
>> advanced users!
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Sun, May 16, 2021 at 7:13 PM Soren Bjornstad  
>> wrote:
>>
>>> I'm excited to announce that the first public edition of my TiddlyWiki 
>>> textbook, *Grok TiddlyWiki*, is live at https://groktiddlywiki.com/read
>>> . *Grok TiddlyWiki* is (from the book) “a textbook that helps you build 
>>> a deep, lasting understanding of and proficiency with TiddlyWiki through a 
>>> combination of detailed explanations, practical exercises, 
>>> and spaced-repetition reviews of prompts called *takeaways*.”
>>>
>>> I am hoping this book will fill in many of the gaps in TiddlyWiki's 
>>> documentation / learning ecosystem – right now we have lots of beginner 
>>> tutorials, and mostly good documentation for experts (with a few gaps), but 
>>> almost nothing for people in between. GTW is what I wished I had when I was 
>>> in that position: complete lessons on the features and idioms of TiddlyWiki 
>>> needed to bring someone from beginner to expert.
>>>
>>> The book is free to read and CC BY-NC-ND licensed (you can redistribute 
>>> it for noncommercial purposes). I am accepting donations 
>>>  to support my continued work on 
>>> GTW and other TiddlyWiki learning resources. I would also appreciate your 
>>> help spreading the word about the book, e.g., on TW links sites, 
>>> notes-related resources, or social media.
>>>
>>> A huge thanks to everyone from this community who provided feedback on 
>>> the prerelease (see the acknowledgments section for details). Barring me 
>>> getting run over by a bus, there will be updated editions in the future, so 
>>> please keep the feedback and suggestions coming. 
>>>
>>> -- 
>>>
>> You received this message because you are subscribed to the Google Groups 
>>> "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/f6b21644-9b9e-45eb-b5a4-eec4e929a00bn%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/8436d4d5-a849-4dae-8abe-ec6de94ca75dn%40googlegroups.com.


[tw5] How to stop Check box widget/radio buttons from changing all values in a list

2021-05-16 Thread paulgilbert2000
Hi,

I have a list filter , which shows all tiddlers matching a given criteria, 
i want to change field values for the listed tiddlers  from within the 
filter using radio buttons and check boxes .

i have created a tiddler called priority tiddler, with all the mix of radio 
buttons , check boxes i need  , then i transcluded in to the filter

Problem is when changing the value for one tiddler , all other tiddlers in 
the list are affected with the same change , how can i avoid that ?

list[image: list.PNG]

Radio buttons /check boxes

[image: piority.PNG]

-- 
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/132fee41-5c42-4c74-b510-4d987c0e51afn%40googlegroups.com.


[tw5] Re: automatically update field

2021-05-16 Thread paulgilbert2000
Hi,

Ok what i really wanted is to have a field populate a value automatically 
via action set field , which now i understand cant be done, however i did 
find a solution, as the timers /alarms widget was just updated to have 
action widgets triggered once an alarm reached its due date, which is 
exactly what i needed

checkout https://groups.google.com/g/tiddlywiki/c/YRx2ZdPHOU0 

On Sunday, May 16, 2021 at 1:17:27 AM UTC+2 Soren Bjornstad wrote:

> Is there any particular reason you need it to change a field, 
> specifically? As Joshua pointed out, the normal way to do this in 
> TiddlyWiki is to use a filter at the time you want to display whether the 
> task is urgent. Can you explain how you use these task tiddlers? For 
> example, are they in a list, and the items should have an "urgent" marker 
> next to them if urgent?
>
> On Friday, May 14, 2021 at 6:37:50 PM UTC-5 mohamed...@hotmail.com wrote:
>
>> Hi Soren,
>> .
>>
>> ok .all i am really after , is to have a field automatically populate a 
>> value "urgent"  once a  previously entered date value  in field B  is 3 
>> days away.
>>
>> so i am trying to flag task tiddlers that are due, hope this makes sense
>>
>> On Thursday, May 13, 2021 at 3:11:50 PM UTC+2 PMario wrote:
>>
>>> Hi,
>>> If you need spreadsheet-like calculations you may have a closer look at: 
>>> https://chronicles.wiki/TiddlyWikiFormula  Especially the "Spreadsheet 
>>> Prototype" tiddler
>>> -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/089957cc-92c0-4882-b99a-0fd92ccfda30n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-15 Thread paulgilbert2000
Thanks Eric,

followed the exact steps you mentioned with the new code, works perfect :) 
, the action now only takes place in fields for  tiddlers assigned an alarm 
, and not the entire list.

cant thank you enough , this was really helpful

On Saturday, May 15, 2021 at 5:13:25 PM UTC+2 Eric Shulman wrote:

> On Friday, May 14, 2021 at 9:53:23 AM UTC-7 mohamed...@hotmail.com wrote:
>
>> one more question , if i may, how would this work in a list situation , 
>> so if i am listing a group of tiddlers , i can assign different alarms to 
>> them, but when the action triggers for one alarm it affects all tiddlers , 
>> is this because how it is intended to be used , or am i using the code wrong
>>
>
> If I understand your PNG code snapshot, it appears that you want a 
> triggered alarm to set the "status2" field to "boom" in each tiddler that 
> has a status="In House".
>
> * For this to happen, you first need to put the desired <$action-setfield 
> status2="boom"/> widget *into a separate tiddler* (e.g., "AlarmActions").
> * Next, in your $list that shows tiddlers with a "status" field containing 
> "In House", transclude {{||TiddlyTools/Time/Alarms}} (as you have already 
> done).  This will display a separate Alarm input form for each matching 
> tiddler.
> * Then, for each status tiddler, use the associated Alarm input form to 
> specify a time/date and *enter the title of the alarm action tiddler as 
> the message text*.
> * Be sure to press the [+] button to use your inputs to actually add the 
> alarm definition to the corresponding status tiddler.  The defined alarm 
> will be shown below the input form.
> * When an alarm is triggered, the AlarmActions tiddler will be invoked, 
> performing the <$action-setfield> widget(s) that you specified.  Note that 
> the <> will be set to the tiddler in which the alarm is 
> defined (i.e., the corresponding "In House" tiddler), so the "status2" 
> field containing "boom" will be added to *that* "In House" tiddler.
>
> IMPORTANT: I've just updated the TiddlyTools/Time/Alarms code so that the 
> <> value is correctly set for each tiddler containing alarm 
> definitions.  Previously, $action widgets invoked using the default tiddler 
> (i.e., the currentTiddler) would be applied directly in the AlarmActions 
> tiddler, rather than the tiddler containing the alarm definition.
>
> Be sure to get the latest update here: http://tiddlytools.com/timer.html
>
> Let me now how it goes...
>
> 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/f79b1e0b-fadd-4297-8f41-94b66fe0debfn%40googlegroups.com.


[tw5] Re: automatically update field

2021-05-14 Thread paulgilbert2000
Hi Soren,
.

ok .all i am really after , is to have a field automatically populate a 
value "urgent"  once a  previously entered date value  in field B  is 3 
days away.

so i am trying to flag task tiddlers that are due, hope this makes sense

On Thursday, May 13, 2021 at 3:11:50 PM UTC+2 PMario wrote:

> Hi,
> If you need spreadsheet-like calculations you may have a closer look at: 
> https://chronicles.wiki/TiddlyWikiFormula  Especially the "Spreadsheet 
> Prototype" tiddler
> -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/eaa54c8e-da9b-4e47-8454-d02bc1d548f6n%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-14 Thread paulgilbert2000
Thank you very much eric

it works perfectly fine :)

one more question , if i may, how would this work in a list situation , so 
if i am listing a group of tiddlers , i can assign different alarms to 
them, but when the action triggers for one alarm it affects all tiddlers , 
is this because how it is intended to be used , or am i using the code wrong

thanks again for your help



On Friday, May 14, 2021 at 7:17:03 AM UTC+2 Eric Shulman wrote:

> On Thursday, May 13, 2021 at 8:34:41 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> how can i add a value in a field automatically after an alarm is 
>> triggered, so asside from the popup message ,i also want a field to say 
>> "done" for example?
>>
>
> I just added a new feature to the Alarms, so that you can invoke custom 
> actions instead of displaying a message box.
>
> *To define custom actions to be performed when an alarm is triggered:*
>
>- Create a tiddler containing one or more desired <$action-... 
>/> widgets and enter the title of this tiddler as the message text for the 
>alarm.
>- When the alarm is triggered, the <$action-... /> widgets contained 
>in the specified tiddler will be invoked.
>- To display a message in addition to performing the specified 
>actions, you can define a separate alarm with the desired message text.
>
> Get the updated code here: 
> http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAlarms
>
> 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/a52a074a-e0e6-4434-9f2f-01bd98bc899dn%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-05-13 Thread paulgilbert2000
how can i add a value in a field automatically after an alarm is triggered, 
so asside from the popup message ,i also want a field to say "done" for 
example?

On Saturday, May 1, 2021 at 5:14:37 AM UTC+2 paulgilbert2000 wrote:

> Thanks Eric,
>
> is it possible to pause the timer ? so would it be possible to do a drop 
> down with different values that would stop the , resume the timer based on 
> the value chosen ? this is what i am really after , pretty much similar to 
> a ticketing tool 
>
> On Monday, April 5, 2021 at 6:24:11 PM UTC+2 Eric Shulman wrote:
>
>> On Monday, April 5, 2021 at 7:58:29 AM UTC-7 mohamed.e...@vodafone.com 
>> wrote:
>>
>>> is it possible to trigger , start or stop a timer automatically if a 
>>> certain criteria is met?  so similar to a CRM ticketing tool, creating and 
>>> saving a new tiddler would automatically start a timer , or maybe creating 
>>> a new tiddler with a specific Tag would trigger a predefined duration ?
>>>
>>
>> Alarms are defined by creating a field named "alarms" in *any* tiddler.  
>> The contents of the alarms field is a space-separated list, where each 
>> alarm has several parts delimited by semi-colons, like this: 
>> type;date;time;msg, where:
>>
>> *type *is a keyword: "*once*", "*daily*", or a specific day (e.g., "
>> *Sunday*", "*Monday*", etc.)
>> *date *is specified using -0MM-0DD format (e.g. "*2021-04-05*")
>> *time *is specified using 0hh:0mm:0ss format (e.g., "*09:15:30*")
>> *msg *is the text to display when the alarm is triggered.
>>
>> Note that if the type is "*daily*" or a specific day, then the date part 
>> of the alarm definition is left blank but the semi-colon delimiters are 
>> still present, so there will be two adjacent semi-colons (see example 
>> below).  Also, if the msg text contains any spaces, then the entire alarm 
>> definition must be surrounded by doubled square brackets.  For example, the 
>> following "alarms" field content specifies four individual alarms:
>>
>> [[Monday;;07:00:00;Time for another work week :(]] 
>> [[daily;;12:00:00;Lunch break]] [[Friday;;17:00:00;Weekend starts...  
>> YAY!]] [[once;2021-01-01;00:00:00;Happy New Year!]]
>>
>> For your specific use-case (i.e. adding an alarm for a given criteria), 
>> you would need to have a custom button that would create the desired 
>> tiddler and add the appropriate alarms field definition, using one or more 
>> $action-setfield widgets.  It might also be possible to do this whenever a 
>> tiddler is created via the standard "save tiddler" button from the tiddler 
>> editor, but this would require adding some JS code to catch the 
>> "th-saving-tiddler" hook (see 
>> https://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler).
>>
>> 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/d13eedbf-290d-4898-b58c-4eeb2ba1a7a3n%40googlegroups.com.


[tw5] Help

2021-05-02 Thread paulgilbert2000
Hi ,

i have put together this dash board  after scavenging the forum for any 
code i can use with 0 coding experience and also with the help of people 
here who were kind enough to answer my rudimentary questions

the dashboard is meant to mimic a CRM ticketing tool in a way , so it  
would allow me to view all tiddlers which has a specific field value ( 
WithVendor, Inhouse and  Pending ..) and would also allow me to assign a 
priority value for every listed tidder

what i noticed is that for some reason , the listed tiddlers are 
duplicated  , so every tiddler appears twice in the dash board.

i believe it has to do with the way i laid out my filters ,

so my thinking is 

list Filter 1   to get all tiddlers with which has filed value " inhouse"
list Filter 2   to get all tiddlers with which has filed value " 
WithVendor" 
list Filter 3   to get all tiddlers with which has filed value " Pending" 

I was hoping by doing so i would be able to have a grouped view for tidlers 
with matching criteria, and maybe perhaps expand collapse them if possible

i think the filters are not being treated as separate , and probably are 
operating as one big broken filter, i might be wrong.. 

but if possible can someone point out to me where the mistake is in the 
code that is causing the duplication ?

[image: screenshot.PNG]

this is the code , which does other stuff as well

\define tagme() [[$(tagx)$]]

{{||TiddlyTools/Time/CountDown}}
<$list filter= 
"[!has[draft.of]status[InHouse]sort[created]]">

 

  <$link><$view field="created" format="date" template="DDth mmm 
hh:mm"/> - <$view field="title"/>

<$list filter="
[[!days:created[-10]]"> @@color:red;^^old^^@@









<$list filter="[all[current]tags[]]"><>






<$set name=tagx value={{!!title}}>
<$button>
<$action-listops $tags=<> 
<$action-sendmessage $message="tm-new-tiddler" title="Child" tags=<> 
text=<>/> 
<$action-sendmessage $message="tm-new-tiddler" title="Child" 
tags={{!!tags}} /> 

{{$:/core/images/github}}






@@color:brown; Priority<$select field="priority"…>
 
1
2
3
4



Status  <$select 
field="status"…>

Pending/Blocked
WithVendor
InHouse
Completed





Dependant <$select 
field="dependant"…>
<$list filter='[tag[task]]'>
<$view field='title'/>


<$tiddler tiddler={{$:/generated-list-demo-state}}>
<$transclude mode='block'/>





<$details 
summary="View"state="!!accordion1" >
 {{!!text}}

<$details 
summary="Edit"state="!!accordion1" >

<$edit field="text"/> 





<$list filter= 
"[!has[draft.of]status[WithVendor]sort[created]]">



 

  <$link><$view field="created" format="date" template="DDth mmm 
hh:mm"/> - <$view field="title"/>
<$list filter="
[[!days:created[-10]]"> @@color:red;^^old^^@@




<$list filter="[all[current]tags[]]"><>


<$set name=tagx value={{!!title}}>
<$button>
<$action-listops $tags=<> 
<$action-sendmessage $message="tm-new-tiddler" title="Child" tags=<> 
text=<>/> 
<$action-sendmessage $message="tm-new-tiddler" title="Child" 
tags={{!!tags}} /> 

{{$:/core/images/github}}





@@color:brown; Priority<$select field="priority"…>
 
1
2
3
4



Status  <$select 
field="status"…>

Pending/Blocked
WithVendor
InHouse
Completed





Dependant <$select 
field="dependant"…>
<$list filter='[tag[task]]'>
<$view field='title'/>


<$tiddler tiddler={{$:/generated-list-demo-state}}>
<$transclude mode='block'/>







<$details 
summary="View"state="!!accordion1" >
 {{!!text}}

<$details 
summary="Edit"state="!!accordion1" >

<$edit field="text"/> 




<$list filter= 
"[!has[draft.of]status[Pending/Blocked]sort[created]]">

 

  <$link><$view field="created" format="date" template="DDth mmm 
hh:mm"/> - <$view field="title"/>
<$list filter="
[[!days:created[-10]]"> @@color:red;^^old^^@@





<$list filter="[all[current]tags[]]"><>


<$set name=tagx value={{!!title}}>
<$button>
<$action-listops $tags=<> 
<$action-sendmessage $message="tm-new-tiddler" title="Child" tags=<> 
text=<>/> 
<$action-sendmessage $message="tm-new-tiddler" title="Child" 
tags={{!!tags}} /> 

{{$:/core/images/github}}






@@color:brown; Priority<$select field="priority"…>
 
1
2
3
4



Status  <$select 
field="status"…>

Pending/Blocked
WithVendor
InHouse
Completed



<$details>

summary="View"state="!!accordion1" >
 {{!!text}}

<$details 
summary="Edit"state="!!accordion1" >

<$edit field="text"/> 





-- 
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/a7e21e78-f8e7-45c5-8408-9bd488607cbcn%40googlegroups.com.


Re: [tw5] Re: Time Tracking in TiddlyWiki?

2021-04-30 Thread paulgilbert2000
Thanks Eric,

is it possible to pause the timer ? so would it be possible to do a drop 
down with different values that would stop the , resume the timer based on 
the value chosen ? this is what i am really after , pretty much similar to 
a ticketing tool 

On Monday, April 5, 2021 at 6:24:11 PM UTC+2 Eric Shulman wrote:

> On Monday, April 5, 2021 at 7:58:29 AM UTC-7 mohamed.e...@vodafone.com 
> wrote:
>
>> is it possible to trigger , start or stop a timer automatically if a 
>> certain criteria is met?  so similar to a CRM ticketing tool, creating and 
>> saving a new tiddler would automatically start a timer , or maybe creating 
>> a new tiddler with a specific Tag would trigger a predefined duration ?
>>
>
> Alarms are defined by creating a field named "alarms" in *any* tiddler.  
> The contents of the alarms field is a space-separated list, where each 
> alarm has several parts delimited by semi-colons, like this: 
> type;date;time;msg, where:
>
> *type *is a keyword: "*once*", "*daily*", or a specific day (e.g., "
> *Sunday*", "*Monday*", etc.)
> *date *is specified using -0MM-0DD format (e.g. "*2021-04-05*")
> *time *is specified using 0hh:0mm:0ss format (e.g., "*09:15:30*")
> *msg *is the text to display when the alarm is triggered.
>
> Note that if the type is "*daily*" or a specific day, then the date part 
> of the alarm definition is left blank but the semi-colon delimiters are 
> still present, so there will be two adjacent semi-colons (see example 
> below).  Also, if the msg text contains any spaces, then the entire alarm 
> definition must be surrounded by doubled square brackets.  For example, the 
> following "alarms" field content specifies four individual alarms:
>
> [[Monday;;07:00:00;Time for another work week :(]] [[daily;;12:00:00;Lunch 
> break]] [[Friday;;17:00:00;Weekend starts...  YAY!]] 
> [[once;2021-01-01;00:00:00;Happy New Year!]]
>
> For your specific use-case (i.e. adding an alarm for a given criteria), 
> you would need to have a custom button that would create the desired 
> tiddler and add the appropriate alarms field definition, using one or more 
> $action-setfield widgets.  It might also be possible to do this whenever a 
> tiddler is created via the standard "save tiddler" button from the tiddler 
> editor, but this would require adding some JS code to catch the 
> "th-saving-tiddler" hook (see 
> https://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler).
>
> 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/3c73f648-53dc-4f0b-8549-bd87c24b9d28n%40googlegroups.com.


[tw5] Re: list ala non system tidlers in drop down

2021-04-29 Thread paulgilbert2000
ok its actually in the documentation 
https://tiddlywiki.com/static/SelectWidget.html

<$select tiddler='$:/generated-list-demo-state'> <$list 
filter='[tag[TableOfContents]]'> <$view field='title'/> 
  <$tiddler tiddler={{$:/generated-list-demo-state}}> 
<$transclude mode='block'/> 


how do you close a thread ?
On Friday, April 30, 2021 at 2:37:57 AM UTC+2 paulgilbert2000 wrote:

> Hi,
>
> is there a way to list all non system tidlers in a drop down?
>

-- 
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/ea750422-3a9d-4a47-a978-0c287e61f82an%40googlegroups.com.


[tw5] list ala non system tidlers in drop down

2021-04-29 Thread paulgilbert2000
Hi,

is there a way to list all non system tidlers in a drop down?

-- 
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/a0f2898f-8520-43dd-9127-42eaf584e788n%40googlegroups.com.


[tw5] Re: folding sections in tidler

2021-04-29 Thread paulgilbert2000
adding a second   didnt change anything

On Thursday, April 29, 2021 at 5:25:26 AM UTC+2 cj.v...@gmail.com wrote:

> I see two <$list>, but only one 
>
> Unless my aging eyeballs are missing something ...
>
> On Thursday, April 29, 2021 at 12:10:58 AM UTC-3 mohamed...@hotmail.com 
> wrote:
>
>> Thanks David,
>>
>> should i be replacing anything ? i just added your code , unless i am 
>> doing something wrong, it doesn't seem to work
>>
>> [image: Capture8.PNG]
>>
>> On Thursday, April 29, 2021 at 3:35:43 AM UTC+2 David Gifford wrote:
>>
>>> Put this between <$list.> and  (no details widget needed):
>>>
>>> <$link><$view 
>>> field="title"/><$transclude field="text" 
>>> mode="block"/>
>>>
>>> On Wednesday, April 28, 2021 at 2:14:05 PM UTC-5 mohamed...@hotmail.com 
>>> wrote:
>>>
 apologies , what i really meant was  using a details widget , i just 
 want to expand /collapse the results for every filter , please let me know 
 if you need any clarificaiton

 On Wednesday, April 28, 2021 at 4:46:46 AM UTC+2 Mark S. wrote:

> You seem to have your select widget inside the main list filter, and 
> so your selection gets repeated over and over.
>
> You probably want to take the select widget outside the main list 
> widget. Then your code will be something like:
>
> <$select  as in your text ...>
>
> <$list filter="[!has[draft.of]status{!!status}priority{!!priority}]">
>
> (display results here)
>
> 
>
> On Tuesday, April 27, 2021 at 6:38:42 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> Hi,
>>
>> i have 3 filter that lists tiddlers matching a specific field value, 
>> one filter  for "in house" another for "pending" and one for "with 
>> Vendor"
>>
>> i want every filter have its results foldable , so in the below 
>> screen shot , i want it to be able  to click an arrow for example using 
>> the 
>> select widget which would collapse expand the tidlers with status  
>> pending 
>>
>> i tried several things with no luck , the select widget doesnt seem 
>> to accept my filter, 
>>
>> [image: Capture7.PNG]
>>
>

-- 
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/f4c4c550-c2de-451d-a489-3110cf56d76bn%40googlegroups.com.


[tw5] Re: folding sections in tidler

2021-04-28 Thread paulgilbert2000
Thanks David,

should i be replacing anything ? i just added your code , unless i am doing 
something wrong, it doesn't seem to work

[image: Capture8.PNG]

On Thursday, April 29, 2021 at 3:35:43 AM UTC+2 David Gifford wrote:

> Put this between <$list.> and  (no details widget needed):
>
> <$link><$view 
> field="title"/><$transclude field="text" 
> mode="block"/>
>
> On Wednesday, April 28, 2021 at 2:14:05 PM UTC-5 mohamed...@hotmail.com 
> wrote:
>
>> apologies , what i really meant was  using a details widget , i just want 
>> to expand /collapse the results for every filter , please let me know if 
>> you need any clarificaiton
>>
>> On Wednesday, April 28, 2021 at 4:46:46 AM UTC+2 Mark S. wrote:
>>
>>> You seem to have your select widget inside the main list filter, and so 
>>> your selection gets repeated over and over.
>>>
>>> You probably want to take the select widget outside the main list 
>>> widget. Then your code will be something like:
>>>
>>> <$select  as in your text ...>
>>>
>>> <$list filter="[!has[draft.of]status{!!status}priority{!!priority}]">
>>>
>>> (display results here)
>>>
>>> 
>>>
>>> On Tuesday, April 27, 2021 at 6:38:42 PM UTC-7 mohamed...@hotmail.com 
>>> wrote:
>>>
 Hi,

 i have 3 filter that lists tiddlers matching a specific field value, 
 one filter  for "in house" another for "pending" and one for "with Vendor"

 i want every filter have its results foldable , so in the below screen 
 shot , i want it to be able  to click an arrow for example using the 
 select 
 widget which would collapse expand the tidlers with status  pending 

 i tried several things with no luck , the select widget doesnt seem to 
 accept my filter, 

 [image: Capture7.PNG]

>>>

-- 
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/16ed3b48-c5c6-4ad0-90bc-7e98080f146dn%40googlegroups.com.


[tw5] Re: folding sections in tidler

2021-04-28 Thread paulgilbert2000
apologies , what i really meant was  using a details widget , i just want 
to expand /collapse the results for every filter , please let me know if 
you need any clarificaiton

On Wednesday, April 28, 2021 at 4:46:46 AM UTC+2 Mark S. wrote:

> You seem to have your select widget inside the main list filter, and so 
> your selection gets repeated over and over.
>
> You probably want to take the select widget outside the main list widget. 
> Then your code will be something like:
>
> <$select  as in your text ...>
>
> <$list filter="[!has[draft.of]status{!!status}priority{!!priority}]">
>
> (display results here)
>
> 
>
> On Tuesday, April 27, 2021 at 6:38:42 PM UTC-7 mohamed...@hotmail.com 
> wrote:
>
>> Hi,
>>
>> i have 3 filter that lists tiddlers matching a specific field value, one 
>> filter  for "in house" another for "pending" and one for "with Vendor"
>>
>> i want every filter have its results foldable , so in the below screen 
>> shot , i want it to be able  to click an arrow for example using the select 
>> widget which would collapse expand the tidlers with status  pending 
>>
>> i tried several things with no luck , the select widget doesnt seem to 
>> accept my filter, 
>>
>> [image: Capture7.PNG]
>>
>

-- 
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/7f5044c2-3644-4426-b394-a8be1cbd354dn%40googlegroups.com.


[tw5] folding sections in tidler

2021-04-27 Thread paulgilbert2000
Hi,

i have 3 filter that lists tiddlers matching a specific field value, one 
filter  for "in house" another for "pending" and one for "with Vendor"

i want every filter have its results foldable , so in the below screen shot 
, i want it to be able  to click an arrow for example using the select 
widget which would collapse expand the tidlers with status  pending 

i tried several things with no luck , the select widget doesnt seem to 
accept my filter, 

[image: Capture7.PNG]

-- 
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/c2228987-2516-4d52-b7c8-5e8bdb644f16n%40googlegroups.com.


[tw5] Re: FIlter TIderls with field value

2021-04-26 Thread paulgilbert2000
Hi Mike,

Thank you , this works, now the only  displayed tiddlers are the ones 
matching the criteria  

really appreciate your help and patience :)
[image: Capture6.PNG]

On Tuesday, April 27, 2021 at 3:57:30 AM UTC+2 mwik...@gmail.com wrote:

> The error message is a bit misleading. You have too many nested square 
> brackets ... I think that the filter should be [!has[draft.of]status[in 
> progress]sort[created]]
>
> /Mike
> On Monday, April 26, 2021 at 10:49:46 PM UTC-3 mohamed...@hotmail.com 
> wrote:
>
>> thanks mike 
>>
>> i removed the transclusion , now i am getting this  error ,but not sure 
>> where this missing bracket should be?
>> [image: Capture5.PNG]
>>
>>
>> On Tuesday, April 27, 2021 at 3:32:18 AM UTC+2 mwik...@gmail.com wrote:
>>
>>> You can certainly use this filter in lists but you have a bit too much 
>>> going on in there at the moment.
>>>
>>> The {{{ [ ] }}} construct is called Filtered Transclusion 
>>> <https://tiddlywiki.com/#Transclusion%20in%20WikiText> but all you need 
>>> is the filter part in a link widget. So you only need to include the 
>>> [status[in progress]] filter part and not the {{}} tranclusion part.
>>>
>>> I don't think that the all[] was doing much in any case.
>>>
>>> /Mike
>>>
>>> On Monday, April 26, 2021 at 5:07:15 PM UTC-3 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>> ok sorry to come again
>>>>
>>>> it does work on its own , however cant seem to get it work in my 
>>>> existing code 
>>>>
>>>> i originally had it querying tags 
>>>> [image: Capture2.PNG]
>>>> I changed it , to look for status instead ,but obviously i did 
>>>> something wrong , is it possible to incorporate  {{{ 
>>>> [all[]status[inprogress]] }}}  within a List filter macro 
>>>> [image: Capture3PNG.PNG]
>>>> On Monday, April 26, 2021 at 3:34:40 PM UTC+2 paulgilbert2000 wrote:
>>>>
>>>>> Thank you Mike /Tones , 
>>>>>
>>>>> this works :)
>>>>>
>>>>>
>>>>> On Monday, April 26, 2021 at 1:16:11 PM UTC+2 mwik...@gmail.com wrote:
>>>>>
>>>>>> To build on Tones' reply ... I think you wanted to find tiddlers with 
>>>>>> a specific value in the status field.
>>>>>>
>>>>>> See the field Operator for filters: 
>>>>>> https://tiddlywiki.com/#field%20Operator
>>>>>>
>>>>>> So to extend Tones example:
>>>>>>
>>>>>> {{{ [all[]field:status[specific status value]] }}}
>>>>>>
>>>>>> or since all unknown operators are assumed to be fields (and to use 
>>>>>> your specific search example) you can use the short form:
>>>>>>
>>>>>> {{{ [all[]status[in progress]] }}}
>>>>>>
>>>>>> I think that should get you what you want.
>>>>>>
>>>>>> /Mike
>>>>>>
>>>>>> On Monday, April 26, 2021 at 12:02:58 AM UTC-3 TW Tones wrote:
>>>>>>
>>>>>>> Try this example filter
>>>>>>>
>>>>>>> {{{ [all[]has[fieldname]] }}} if the fieldname contains a non blank 
>>>>>>> value
>>>>>>>
>>>>>>> and use
>>>>>>>
>>>>>>> {{{ [has:field[fieldname]] }}} for field exist with value or empty.
>>>>>>>
>>>>>>> Tones
>>>>>>>
>>>>>>> On Monday, 26 April 2021 at 12:36:02 UTC+10 mohamed...@hotmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> HI ,
>>>>>>>>
>>>>>>>> i am trying to list a number of tiddlers that have a specific value 
>>>>>>>> in a field i have created
>>>>>>>>
>>>>>>>> so basically I have a field  called " status " that exists in all 
>>>>>>>> tiddlers in my wiki , and usually  put in the field value text like , 
>>>>>>>> inprogress , pending etc..
>>>>>>>>
>>>>>>>> how can i view all tiddlers that have a specific value i , like for 
>>>>>>>> example "in progress  "
>>>>>>>>
>>>>>>>> i know how to filter with Tags , but i cant filter with a field 
>>>>>>>> value , is this possible ? 
>>>>>>>>
>>>>>>>

-- 
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/02b73d0a-b1a2-407c-b78b-3098805bd5f9n%40googlegroups.com.


[tw5] Re: FIlter TIderls with field value

2021-04-26 Thread paulgilbert2000
thanks mike 

i removed the transclusion , now i am getting this  error ,but not sure 
where this missing bracket should be?
[image: Capture5.PNG]


On Tuesday, April 27, 2021 at 3:32:18 AM UTC+2 mwik...@gmail.com wrote:

> You can certainly use this filter in lists but you have a bit too much 
> going on in there at the moment.
>
> The {{{ [ ] }}} construct is called Filtered Transclusion 
> <https://tiddlywiki.com/#Transclusion%20in%20WikiText> but all you need 
> is the filter part in a link widget. So you only need to include the 
> [status[in progress]] filter part and not the {{}} tranclusion part.
>
> I don't think that the all[] was doing much in any case.
>
> /Mike
>
> On Monday, April 26, 2021 at 5:07:15 PM UTC-3 mohamed...@hotmail.com 
> wrote:
>
>> ok sorry to come again
>>
>> it does work on its own , however cant seem to get it work in my existing 
>> code 
>>
>> i originally had it querying tags 
>> [image: Capture2.PNG]
>> I changed it , to look for status instead ,but obviously i did something 
>> wrong , is it possible to incorporate  {{{ [all[]status[inprogress]] }}}  
>> within a List filter macro 
>> [image: Capture3PNG.PNG]
>> On Monday, April 26, 2021 at 3:34:40 PM UTC+2 paulgilbert2000 wrote:
>>
>>> Thank you Mike /Tones , 
>>>
>>> this works :)
>>>
>>>
>>> On Monday, April 26, 2021 at 1:16:11 PM UTC+2 mwik...@gmail.com wrote:
>>>
>>>> To build on Tones' reply ... I think you wanted to find tiddlers with a 
>>>> specific value in the status field.
>>>>
>>>> See the field Operator for filters: 
>>>> https://tiddlywiki.com/#field%20Operator
>>>>
>>>> So to extend Tones example:
>>>>
>>>> {{{ [all[]field:status[specific status value]] }}}
>>>>
>>>> or since all unknown operators are assumed to be fields (and to use 
>>>> your specific search example) you can use the short form:
>>>>
>>>> {{{ [all[]status[in progress]] }}}
>>>>
>>>> I think that should get you what you want.
>>>>
>>>> /Mike
>>>>
>>>> On Monday, April 26, 2021 at 12:02:58 AM UTC-3 TW Tones wrote:
>>>>
>>>>> Try this example filter
>>>>>
>>>>> {{{ [all[]has[fieldname]] }}} if the fieldname contains a non blank 
>>>>> value
>>>>>
>>>>> and use
>>>>>
>>>>> {{{ [has:field[fieldname]] }}} for field exist with value or empty.
>>>>>
>>>>> Tones
>>>>>
>>>>> On Monday, 26 April 2021 at 12:36:02 UTC+10 mohamed...@hotmail.com 
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> HI ,
>>>>>>
>>>>>> i am trying to list a number of tiddlers that have a specific value 
>>>>>> in a field i have created
>>>>>>
>>>>>> so basically I have a field  called " status " that exists in all 
>>>>>> tiddlers in my wiki , and usually  put in the field value text like , 
>>>>>> inprogress , pending etc..
>>>>>>
>>>>>> how can i view all tiddlers that have a specific value i , like for 
>>>>>> example "in progress  "
>>>>>>
>>>>>> i know how to filter with Tags , but i cant filter with a field value 
>>>>>> , is this possible ? 
>>>>>>
>>>>>

-- 
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/464b2a36-d819-4ec4-8a8c-5755ad2381bfn%40googlegroups.com.


[tw5] Re: FIlter TIderls with field value

2021-04-26 Thread paulgilbert2000
ok sorry to come again

it does work on its own , however cant seem to get it work in my existing 
code 

i originally had it querying tags 
[image: Capture2.PNG]
I changed it , to look for status instead ,but obviously i did something 
wrong , is it possible to incorporate  {{{ [all[]status[inprogress]] }}}  
within a List filter macro 
[image: Capture3PNG.PNG]
On Monday, April 26, 2021 at 3:34:40 PM UTC+2 paulgilbert2000 wrote:

> Thank you Mike /Tones , 
>
> this works :)
>
>
> On Monday, April 26, 2021 at 1:16:11 PM UTC+2 mwik...@gmail.com wrote:
>
>> To build on Tones' reply ... I think you wanted to find tiddlers with a 
>> specific value in the status field.
>>
>> See the field Operator for filters: 
>> https://tiddlywiki.com/#field%20Operator
>>
>> So to extend Tones example:
>>
>> {{{ [all[]field:status[specific status value]] }}}
>>
>> or since all unknown operators are assumed to be fields (and to use your 
>> specific search example) you can use the short form:
>>
>> {{{ [all[]status[in progress]] }}}
>>
>> I think that should get you what you want.
>>
>> /Mike
>>
>> On Monday, April 26, 2021 at 12:02:58 AM UTC-3 TW Tones wrote:
>>
>>> Try this example filter
>>>
>>> {{{ [all[]has[fieldname]] }}} if the fieldname contains a non blank value
>>>
>>> and use
>>>
>>> {{{ [has:field[fieldname]] }}} for field exist with value or empty.
>>>
>>> Tones
>>>
>>> On Monday, 26 April 2021 at 12:36:02 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
>>>>
>>>> HI ,
>>>>
>>>> i am trying to list a number of tiddlers that have a specific value in 
>>>> a field i have created
>>>>
>>>> so basically I have a field  called " status " that exists in all 
>>>> tiddlers in my wiki , and usually  put in the field value text like , 
>>>> inprogress , pending etc..
>>>>
>>>> how can i view all tiddlers that have a specific value i , like for 
>>>> example "in progress  "
>>>>
>>>> i know how to filter with Tags , but i cant filter with a field value , 
>>>> is this possible ? 
>>>>
>>>

-- 
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/0f41c090-da38-4787-8741-935bda5421dcn%40googlegroups.com.


[tw5] Re: FIlter TIderls with field value

2021-04-26 Thread paulgilbert2000
Thank you Mike /Tones , 

this works :)


On Monday, April 26, 2021 at 1:16:11 PM UTC+2 mwik...@gmail.com wrote:

> To build on Tones' reply ... I think you wanted to find tiddlers with a 
> specific value in the status field.
>
> See the field Operator for filters: 
> https://tiddlywiki.com/#field%20Operator
>
> So to extend Tones example:
>
> {{{ [all[]field:status[specific status value]] }}}
>
> or since all unknown operators are assumed to be fields (and to use your 
> specific search example) you can use the short form:
>
> {{{ [all[]status[in progress]] }}}
>
> I think that should get you what you want.
>
> /Mike
>
> On Monday, April 26, 2021 at 12:02:58 AM UTC-3 TW Tones wrote:
>
>> Try this example filter
>>
>> {{{ [all[]has[fieldname]] }}} if the fieldname contains a non blank value
>>
>> and use
>>
>> {{{ [has:field[fieldname]] }}} for field exist with value or empty.
>>
>> Tones
>>
>> On Monday, 26 April 2021 at 12:36:02 UTC+10 mohamed...@hotmail.com wrote:
>>
>>>
>>> HI ,
>>>
>>> i am trying to list a number of tiddlers that have a specific value in a 
>>> field i have created
>>>
>>> so basically I have a field  called " status " that exists in all 
>>> tiddlers in my wiki , and usually  put in the field value text like , 
>>> inprogress , pending etc..
>>>
>>> how can i view all tiddlers that have a specific value i , like for 
>>> example "in progress  "
>>>
>>> i know how to filter with Tags , but i cant filter with a field value , 
>>> is this possible ? 
>>>
>>

-- 
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/e4a8140e-b688-4676-98a6-72a3d8e0f404n%40googlegroups.com.


[tw5] FIlter TIderls with field value

2021-04-25 Thread paulgilbert2000

HI ,

i am trying to list a number of tiddlers that have a specific value in a 
field i have created

so basically I have a field  called " status " that exists in all tiddlers 
in my wiki , and usually  put in the field value text like , inprogress , 
pending etc..

how can i view all tiddlers that have a specific value i , like for example 
"in progress  "

i know how to filter with Tags , but i cant filter with a field value , is 
this possible ? 

-- 
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/4c1d5ab2-c1d8-4a6a-a23c-24e8fbd162c0n%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-25 Thread paulgilbert2000
This works thanks Anjar

On Thursday, April 22, 2021 at 9:56:55 AM UTC+2 Anjar wrote:

> Hi,
>
> Okay, I guess you have a list that produces that list of tiddlers, so just 
> add <$list filter="[all[current]tags[]]"><> in 
> that list, after the code for the drop-list
>
> Best,
> Anders
>
> torsdag 22. april 2021 kl. 02:53:15 UTC+2 skrev mohamed...@hotmail.com:
>
>> Thanks Anders 
>>
>> Close enough!
>>
>> so i have this tiddler that lists other tiddlers matching certain Tag 
>> criteria , i also have some buttons and a drop list  , what i want is to 
>> add next to the buttons and the drop list all tags associated with these 
>> isted tiddlers 
>>
>> so this is how it looks like , i just need to add next to the droplists 
>> all tags associated with the test 2 for example , and preferably in the 
>> same pill format , hope this makes sense
>> [image: Capture.PNG]
>>
>>
>>
>> [image: Capture2.PNG]
>> On Wednesday, April 21, 2021 at 1:16:46 AM UTC+2 Anjar wrote:
>>
>>> Hi Mohamed,
>>>
>>> I'm not sure I fully understand your question, but here is an example 
>>> that produce a table with tiddlers (by letter) to the left and the tags of 
>>> the tiddler to the right; perhaps you wanted the opposite..?
>>>
>>> 
>>> <$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z">
>>> 
>>> <>
>>> 
>>> <$list filter="[ sortan[]prefix]">
>>> 
>>> <>
>>> <$list 
>>> filter="[titletags[]]"><>
>>> 
>>> 
>>> 
>>> 
>>>
>>> Best,
>>> Anders
>>>
>>> mandag 19. april 2021 kl. 06:30:30 UTC+2 skrev mohamed.e...@vodafone.com
>>> :
>>>
 Is it possible to display all associated tags with the listed tiddlers 
 next to them in the list?

 On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:

> Hi,
>
> As you've discovered, seemingly simple problems can get wuite 
> complex:) I agree with you that  is a nice solution, or you could 
> wrap 
> it in a  and have each element as a list item
>
> For now, I was unable to find a simply way to substring the titles; if 
> there was, you could get the first letter of all titles, make them 
> uppercase, remove duplicates and iterate through them with 
> match:caseinsensitive or something. Maybe it'll be possible in the future!
>
> PS I forgot XYZ;)
>
>
> Best,
> Anders
>
> onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:
>
>>
>> Nice solution. I tried it. It is case sensible. My code is not (it 
>> was needed).
>>
>> I will try to merge your solution into mine to see what I could 
>> achieve with two imbricated lists.
>>
>> Jean-Pierre
>> Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
>> écrit :
>>
>>> Thanks jn.pierr for your input - I'll check it later.
>>> In the meantime I found a solution:
>>>
>>> 
>>> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>>>
>>> <><$list filter="[ 
>>> sortan[]prefix]"> 
>>>  <> <$view 
>>> field="published" />  
>>> **
>>> 
>>> 
>>> 
>>>
>>> Stefan
>>> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 
>>> 21:11:10 UTC+2:
>>>
 As for listing letters for entries I have tghe following:

 \define all-initials()
 <$list filter="[tag[glossaire]]">
<$set name=1st value={{{ [all[current]split[]first[]] }}}>
   <<1st>>

 
 \end

 \define glossaryList()
 <$wikify name="all-letters" text=<>>
 <$list 
 filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
  
 variable="letter">
   <$link to=<>/>
 

 <$list 
 filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
  
 variable="letter">
 <$link to=<>/>
 <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
 <>
 
 
 
 \end

 added twist: make É and E the same entry. letters not used are not 
 seen. This example is with a "glossaire" tag, you would use "people" 
 instead or make it a variable of all-initials macro. the macro to be 
 used 
 is glossaryList (no argument).

 You would have to adapt it to your needs and language perhaps.

 note: I have created letterr tiddlers "A"', "B"', "C" etc before 
 hand. I have not yet found out how to create them on purpose (and 
 delete 
 them on purpose too). But they all have the same content (a call to 
 another 
 macro). Some are not used, that's it.
 Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
 écrit :

> Hello Anjar,
>
> I've adapted your example to generate a list of all my Tiddlers + 
> "published" 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-21 Thread paulgilbert2000
Thanks Anders 

Close enough!

so i have this tiddler that lists other tiddlers matching certain Tag 
criteria , i also have some buttons and a drop list  , what i want is to 
add next to the buttons and the drop list all tags associated with these 
isted tiddlers 

so this is how it looks like , i just need to add next to the droplists all 
tags associated with the test 2 for example , and preferably in the same 
pill format , hope this makes sense
[image: Capture.PNG]



[image: Capture2.PNG]
On Wednesday, April 21, 2021 at 1:16:46 AM UTC+2 Anjar wrote:

> Hi Mohamed,
>
> I'm not sure I fully understand your question, but here is an example that 
> produce a table with tiddlers (by letter) to the left and the tags of the 
> tiddler to the right; perhaps you wanted the opposite..?
>
> 
> <$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z">
> 
> <>
> 
> <$list filter="[ sortan[]prefix]">
> 
> <>
> <$list 
> filter="[titletags[]]"><>
> 
> 
> 
> 
>
> Best,
> Anders
>
> mandag 19. april 2021 kl. 06:30:30 UTC+2 skrev mohamed.e...@vodafone.com:
>
>> Is it possible to display all associated tags with the listed tiddlers 
>> next to them in the list?
>>
>> On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:
>>
>>> Hi,
>>>
>>> As you've discovered, seemingly simple problems can get wuite complex:) 
>>> I agree with you that  is a nice solution, or you could wrap it in a 
>>>  and have each element as a list item
>>>
>>> For now, I was unable to find a simply way to substring the titles; if 
>>> there was, you could get the first letter of all titles, make them 
>>> uppercase, remove duplicates and iterate through them with 
>>> match:caseinsensitive or something. Maybe it'll be possible in the future!
>>>
>>> PS I forgot XYZ;)
>>>
>>>
>>> Best,
>>> Anders
>>>
>>> onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:
>>>

 Nice solution. I tried it. It is case sensible. My code is not (it was 
 needed).

 I will try to merge your solution into mine to see what I could achieve 
 with two imbricated lists.

 Jean-Pierre
 Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
 écrit :

> Thanks jn.pierr for your input - I'll check it later.
> In the meantime I found a solution:
>
> 
> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>
> <><$list filter="[ 
> sortan[]prefix]"> 
>  <> <$view 
> field="published" />  
> **
> 
> 
> 
>
> Stefan
> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
> UTC+2:
>
>> As for listing letters for entries I have tghe following:
>>
>> \define all-initials()
>> <$list filter="[tag[glossaire]]">
>><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>>   <<1st>>
>>
>> 
>> \end
>>
>> \define glossaryList()
>> <$wikify name="all-letters" text=<>>
>> <$list 
>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>  
>> variable="letter">
>>   <$link to=<>/>
>> 
>>
>> <$list 
>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>  
>> variable="letter">
>> <$link to=<>/>
>> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
>> <>
>> 
>> 
>> 
>> \end
>>
>> added twist: make É and E the same entry. letters not used are not 
>> seen. This example is with a "glossaire" tag, you would use "people" 
>> instead or make it a variable of all-initials macro. the macro to be 
>> used 
>> is glossaryList (no argument).
>>
>> You would have to adapt it to your needs and language perhaps.
>>
>> note: I have created letterr tiddlers "A"', "B"', "C" etc before 
>> hand. I have not yet found out how to create them on purpose (and delete 
>> them on purpose too). But they all have the same content (a call to 
>> another 
>> macro). Some are not used, that's it.
>> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
>> écrit :
>>
>>> Hello Anjar,
>>>
>>> I've adapted your example to generate a list of all my Tiddlers + 
>>> "published" field (= date):
>>>
>>> <$list 
>>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>>> W"><><$list filter="[ 
>>> sortan[]prefix]">   
>>> <> <$view field="published" />  
>>>
>>> Is there a way to get an output list with only one Tiddler-title per 
>>> line?
>>>
>>> Thanks for feedback
>>> Stefan
>>>
>>> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>>>
 Hi,

 Absolutely, here is a quick example:

 <$list filter="A B C D E F G H I J K L M N O P Q R S T U V 
 W"><><$list 
 filter="[tag[People]sort[title]prefix]"> <> 
 

 The div is just to 

[tw5] Clone new tidler with unique tag

2021-04-15 Thread paulgilbert2000

Hi All

I am trying to establish a parent child relation ship between an existing 
tiddler and a newly created tiddler , my rationale is giving both of them a 
unique tag derived from the title would make them bound by this unique tag 
value

i have no coding experiencing and i am basically scavenging for and 
existing sample that does this exact same thing.

all i really want is to be able to create a child tiddler from an existing 
tiddler ,in the same fashion of a task subtask kind of relation ship you 
would find in software like JIRA for example



so what i need exactly is a button on a given tiddler which when activated 
would do the following

1-Clone the existing tiddler
2-Create a new Tag and add it to both the existing tiddler and also to the 
newly created tiddler , The tag value should be the same as the title of 
the existing tiddler
3-it would be also great if the newly created tiddler would retain the tags 
, the clone button , but not any other  content of the original tiddler

so basically after hitting the button 

Tiddler 1 with tags a,b and c would then have an extra tag with value " 
tiddler 1"

and newly created Tiddler 2 would have the same tags a,b,c and the new tag 
derived from the title" tiddler 1" and the clone button 



i have this , which creates a new tiddler , but doesn't clone it , also it 
only adds the tag to the newly created tiddler and not the original one as 
well ..

so how can i add to this code to clone the tiddler and also add a tag value 
derived from the title to both the existing tiddler and the newly cloned 
one , and if possible make the button carry over to the newly created 
tiddler without the reset of the content

\define tagme() [[$(tagx)$]]
<$set name=tagx value={{!!title}}>
<$button>
<$action-sendmessage $message="tm-new-tiddler"tags=<> text=/>
New Tiddler





-- 
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/8b03ec7e-9e34-4067-8ac1-3adf6a503e15n%40googlegroups.com.