[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
Well, I'm impressed. :-)
It's very nice of you to explain all this and I think I understand the 
basic principle.

After reading the documentation - is there a special reason, that you did 
use $field="tags" $subfilter="+[toggle[urgent]]" instead of 
$tags="+[toggle[dringend]]"? (just to proof I understood anything at all)

Thank you!

PMario schrieb am Montag, 31. Mai 2021 um 12:40:49 UTC+2:

> On Monday, May 31, 2021 at 11:49:48 AM UTC+2 PMario wrote:
>
> If you search for "toggle" at tiddlywiki.com you'll find: 
> https://tiddlywiki.com/#toggle%20Operator%20(Examples):%5B%5Btoggle%20Operator%20(Examples)%5D%5D%20%5B%5Btoggle%20Operator%5D%5D
>
> The examples already contain the "action-listops" ... 
>
> \define toggle-urgent()
>> <$action-listops $tiddler={{!!title}} $field="tags" 
>> $subfilter="+[toggle[urgent]]" />
>> \end
>>
>
> I did modify the $fields="tags" and 
> changed the $subfilter="+[toggle[urgent]]" .. so it toggles between 1 
> value 
>
> There's the action-listops docs 
> . It has a lot of 
> possibilities, but also a lot of examples to play with.
>  
>
>> <$button actions=<> >
>>
>
> This is a relatively common usage of the button-widget 
> . Using actions=<> will 
> clean up the code, if you need to call more than 1 action. ... It is "best 
> practice". 
>  
>
>> <$list 
>> filter="[all[current]tag[urgent]then[]else[]]"><>
>>
>
> all[current] ... will return the currentTiddler variable. 
> tag[urgent] ... tests if the "urgent" tag is set
> then[] ... will set the currentTiddler variable of the list-body 
> to the "filled star" character
> else[] ... will set the currentTiddler variable of the list-body 
> to the "empty star" character
>
> <> ... will show the star, depending on tag - then / else 
> ... see: currentTiddler 
> 
>  
> variable
>   
>
>> 
>>
>> You can call it with {{|| my-toggle-template}}
>>
>
> Uses the transcluded tiddler as a template. see more info here 
> .
>  
>
>  
>
>> If you want to hide the button use: <$button *class="tw-btn-invisible"* 
>> actions=<> > ... you will only get the star.
>>
>
> Just test it ;)
>
> hope that helps
> -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/98fda941-5118-403a-ae3d-7c16928d6f4fn%40googlegroups.com.


[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
Well that fits my needs. Even if I don't have the slightest idea what you 
have done. :D

That will be the next step ...

Thank You!

PMario schrieb am Montag, 31. Mai 2021 um 11:49:48 UTC+2:

> Hi, 
> Try the attached template tiddler. 
>
> \define toggle-urgent()
> <$action-listops $tiddler={{!!title}} $field="tags" 
> $subfilter="+[toggle[urgent]]" />
> \end
>
> <$button actions=<> >
> <$list 
> filter="[all[current]tag[urgent]then[]else[]]"><>
> 
>
> You can call it with {{|| my-toggle-template}}
>
> If you want to hide the button use: <$button *class="tw-btn-invisible"* 
> actions=<> > ... you will only get the star. 
>
> have fun!
> mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b77b91e-d550-4174-a6fa-dc9562c979d0n%40googlegroups.com.


[tw5] Re: Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
... in the ViewTemplate.

I would like to use it as a transclusion in different lists ...

PMario schrieb am Montag, 31. Mai 2021 um 11:30:57 UTC+2:

> Hi Jens, 
> Is it intended to be part of the ViewTemplate or the EditTempate?
> -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/66f1af45-e6b1-4811-858a-2466005658efn%40googlegroups.com.


[tw5] Toggle tags via button and reveal

2021-05-31 Thread 'JM' via TiddlyWiki
Hi there,

I'm trying to toggle the tag 'urgent' via two different buttons and 
switching between them via reveal:

<$fieldmangler>
<$reveal type="match" state={{!!title}}  tag="urgent"><$button 
class='tc-btn-invisible' message="tm-remove-tag" 
param="urgent"><$reveal 
type="nomatch" state={{!!title}} tag="urgent"><$button 
class='tc-btn-invisible'  message="tm-add-tag" param="urgent
">


It works well without the reveal part. :-(

Any hints?
Jens

-- 
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/e203f0f4-a777-4916-aeb0-526e57701c39n%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-05-26 Thread 'JM' via TiddlyWiki
Thank You!

I was somehow confused, because I'm sure it worked some time ago. Is it 
possible that the alphabetical order of the tags has something to do with 
this? Because there is another nested list (with different tags as 
parameters) and it worked out well.

Eric Shulman schrieb am Mittwoch, 26. Mai 2021 um 16:37:38 UTC+2:

> On Wednesday, May 26, 2021 at 7:15:49 AM UTC-7 JM wrote:
>
>> I want to exclude projects with tasks tagged with 'A'. Somehow it doesn't 
>> work out as expected (well it did, something changed and I'm not sure what 
>> and why ... :-\ )
>> I added !tag[A] in the second filter:
>> <$list filter="[tag[project]sort[]]">
>><$list filter="[tag{!!title}tag[CAD]limit[1]!tag[A]]" 
>> variable="has_tasks_with_CAD_tag">
>>   <$link>''<$view field="title"/>''
>>   <$list filter="[tag{!!title}tag[CAD]sort[]]">
>>  <$link />
>>   
>>
>>  
>>
>
> You need to put the "!tag[A]" syntax *before* the limit[1], and then also 
> add it to the inner filter, like this:
>
> <$list filter="[tag[project]sort[]]">
><$list filter="[tag{!!title}tag[CAD]!tag[A]limit[1]]" 
> variable="has_tasks_with_CAD_tag_and_not_A_tag">
>   <$link>''<$view field="title"/>''
>   <$list filter="[tag{!!title}tag[CAD]!tag[A]sort[]]">
>  <$link />
>   
>
>  
>
> 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/0d915d26-61fc-44bd-a1db-a0b9c1b9188en%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-05-26 Thread 'JM' via TiddlyWiki
Hi,

bringing this up again ...

I want to exclude projects with tasks tagged with 'A'. Somehow it doesn't 
work out as expected (well it did, something changed and I'm not sure what 
and why ... :-\ )

I added !tag[A] in the second filter:

<$list filter="[tag[project]sort[]]">
   <$list filter="[tag{!!title}tag[CAD]limit[1]!tag[A]]" 
variable="has_tasks_with_CAD_tag">
  <$link>''<$view field="title"/>''
  <$list filter="[tag{!!title}tag[CAD]sort[]]">
 <$link />
  
   
 

This screwed the whole list. Perhaps this isn't the correct way doing this 
...

Jens
Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 11:08:22 UTC+1:

> On Wednesday, February 17, 2021 at 10:35:15 PM UTC-8 JM wrote:
>
>> Something changed. Using my first solution, the space between project 
>> title was 'big', as If there was an empty list behind the project title of 
>> projects without tasks tagged CAD. Now there is no more space between those 
>> projects and the following project.
>>
>
> That's what happens when I post a "solution" without actually trying it 
> with some test data!
>
> This should work better:
>
> <$list filter="[tag[project]sort[]]">
><$list filter="[tag{!!title}tag[CAD]limit[1]]" 
> variable="has_tasks_with_CAD_tag">
>   <$link>''<$view field="title"/>''
>   <$list filter="[tag{!!title}tag[CAD]sort[]]">
>  <$link />
>   
>
>  
>
> Notes:
> * moved the "test" $list widget to surround the whole project item to 
> suppress display of projects that don't have tasks tagged with CAD
> * restored the explicit <$link>... for the project item to allow 
> bold formatting of the title
>
> -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/e8223fc5-a7ab-489f-a648-6633de5abc61n%40googlegroups.com.


[tw5] Re: Select widget showing current field value

2021-05-22 Thread 'JM' via TiddlyWiki
Well, that solved more than one problem, :-)

Thank you!

Eric Shulman schrieb am Samstag, 22. Mai 2021 um 11:57:53 UTC+2:

> On Saturday, May 22, 2021 at 1:16:55 AM UTC-7 JM wrote:
>
>> Status: <$select field='Status' default='new'>
>> new
>> A
>> B
>> C
>> D
>> 
>>
>
> The $select widget creates a field with the specified name (i.e. 
> "Status").  If you re-display the tiddler *during the current session* , 
> the selected value ("A") will be shown in the $select list, as you 
> expected.  However, all field names *must* be lower case to comply with the 
> HTML syntax used to store them in the file.  So, when you save and reload 
> the file in your browser, the fieldname has been automatically converted to 
> lower case (i.e., "status") and when you then display the tiddler, it will 
> show the default value (i.e., "new"), since the stored tiddler fieldname, 
> "status", no longer matches the specified tiddler fieldname, "Status".
>
> The solution is to always use only lower case field names.
>
> -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/39baa852-2567-4610-b709-ed54a470e8fcn%40googlegroups.com.


[tw5] Select widget showing current field value

2021-05-22 Thread 'JM' via TiddlyWiki

Hi there,

I use a select widget to fill a certain field. I would like to see the 
current field value - if set - in the dropdown-menu.

Status: <$select field='Status' default='new'>
new
A
B
C
D


So now the select widget shows 'new', even, if 'A' is set as field value. 
Is it possible to show A (if it is set)?

Jens

-- 
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/4cf6c971-6679-4176-9037-096f24fa4022n%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-18 Thread 'JM' via TiddlyWiki
Yes, thank you very much!

Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 14:32:34 UTC+1:

> On Thursday, February 18, 2021 at 3:47:01 AM UTC-8 JM wrote:
>
>> Next step would be understanding what you have archieved with "limit[1]". 
>> Ist the literal content of variable relevant?
>>
>  
> The $list widget filter, [tag{!!title}tag[CAD]], only produces output when 
> there are matching tiddlers. If there are more than one match, the body of 
> the widget is output multiple times.  By adding limit[1] to the filter the 
> body will only be shown once.
>
> Note: rather than referencing {!!title}, the filter could also have been 
> written as [tagtag[CAD]], which perhaps more clearly shows 
> how the currentTiddler's title is being used.
>
> Adding the variable="..." parameter to the $list widget assigns the 
> matching tiddler's title to the specified variable name.  For this 
> particular use-case, you don't actually need to reference this variable 
> inside the $list body; it is only used to prevent the $list widget from 
> changing the value of .  Thus, the name of the variable 
> isn't important and I have used it simply to describe the purpose of the 
> "test" filter.
>
> Hope this explains things...
>
> -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/50903b0d-2e88-40e8-ba3a-fb6f22f87ac5n%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-18 Thread 'JM' via TiddlyWiki
Thank you! :-)

Next step would be understanding what you have archieved with "limit[1]". 
Ist the literal content of variable relevant? 

Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 11:08:22 UTC+1:

> On Wednesday, February 17, 2021 at 10:35:15 PM UTC-8 JM wrote:
>
>> Something changed. Using my first solution, the space between project 
>> title was 'big', as If there was an empty list behind the project title of 
>> projects without tasks tagged CAD. Now there is no more space between those 
>> projects and the following project.
>>
>
> That's what happens when I post a "solution" without actually trying it 
> with some test data!
>
> This should work better:
>
> <$list filter="[tag[project]sort[]]">
><$list filter="[tag{!!title}tag[CAD]limit[1]]" 
> variable="has_tasks_with_CAD_tag">
>   <$link>''<$view field="title"/>''
>   <$list filter="[tag{!!title}tag[CAD]sort[]]">
>  <$link />
>   
>
>  
>
> Notes:
> * moved the "test" $list widget to surround the whole project item to 
> suppress display of projects that don't have tasks tagged with CAD
> * restored the explicit <$link>... for the project item to allow 
> bold formatting of the title
>
> -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/8665e8f5-d017-44d5-81f4-71dffdbb3b64n%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-17 Thread 'JM' via TiddlyWiki
Something changed. Using my first solution, the space between project title 
was 'big', as If there was an empty list behind the project title of 
projects without tasks tagged CAD. Now there is no more space between those 
projects and the following project.

Perhaps my description was bad (not native english ;) ). I want to mask 
those projects without tasks tagged CAD. 

-- 
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/816e70d3-bcf7-4f93-9f20-255c6afdc35en%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-17 Thread 'JM' via TiddlyWiki
Somehow, this doesn't work out. Projects without tasks tagged CAD still 
appear in the list.

Eric Shulman schrieb am Mittwoch, 17. Februar 2021 um 17:10:26 UTC+1:

> Notes:
> * used *<$link />* abbreviated syntax instead of verbose *<$link 
> to={{!!title}}><$view field="title"/>*
>
 
Thx for the explanations. If I use just <$link /> I am not able to fotmat 
the title, am I?

Jens

-- 
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/52bac364-c027-4649-95a6-cf384821dc56n%40googlegroups.com.


[tw5] Nested List, show Level 1 only if Level 2 exists

2021-02-17 Thread 'JM' via TiddlyWiki

Hi there,

I use nested lists to organize my To-Do-List

<$list filter="[tag[project]sort[title]]">
<$link to={{!!title}}>''<$view field="title"/>''
<$list filter="[is[current]tagging[]tag[CAD]sort[title]]">
<$link to={{!!title}}><$view field="title"/>



Is ist possible to show only those projects, of which tiddlers with the 
tags project-title and CAD exist?

-- 
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/ac72bc88-cb92-40dd-b2f5-1a20c9ac18cen%40googlegroups.com.


[tw5] Re: Creating a new tiddler with tag "title" from a list

2021-02-17 Thread 'JM' via TiddlyWiki
As I need this button quite often - is it possible to store the code of the 
button in a tiddler and use it as a reference?

JM schrieb am Freitag, 12. Februar 2021 um 19:46:38 UTC+1:

> This works out well! Thank you!
>
> JM schrieb am Freitag, 12. Februar 2021 um 18:47:21 UTC+1:
>
>> Sorry, now I realized it, I'll give it a second try!
>>
>> JM schrieb am Freitag, 12. Februar 2021 um 18:45:34 UTC+1:
>>
>>> No, unfortunately that makes no difference.
>>>  tags={{{ [] }}} 
>>> will also split a title consisting of multiple words into multiple tags.
>>>
>>> Mark S. schrieb am Freitag, 12. Februar 2021 um 18:35:56 UTC+1:
>>>
 You need to wrap the tiddler name with double braces, since the tags 
 field is a list field.  Since [[ and ]] have special meaning in filters, 
 they have to be added sidewise, using variables. In my example below, 
 you'll need to revert HelloThere back to your original tag:

 <$vars lb="[[" rb="]]">
 <$list filter="[tag[HelloThere]sort[title]]">
 <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
 <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
 tags={{{ [addprefixaddsuffix] }}} 
 />New Task
 <$list filter="[is[current]tagging[]sort[title]]">
 <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
 field="title"/>''
 
 
 

 On Friday, February 12, 2021 at 9:03:01 AM UTC-8 JM wrote:

>
> Hi there,
>
> I hope the title gives an idea of my problem:
>
> I'm working on my own To-Do-TiddlyWiki and I have build a list where 
> the tasks are listed by projects. That works out well. Now I want to have 
> a 
> button added behind the project-title that adds a tiddler tagged with the 
> specific title:
>
> <$list filter="[tag[project]sort[title]]">
> <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
> <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
> tags= />New Task
> <$list filter="[is[current]tagging[]sort[title]]">
> <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
> field="title"/>''
> 
> 
>
> This works out well, except for a project-title consisting of multiple 
> words, because two words will be treated as two different tags.
>
> Can anyone give me a hint?
>
> Thx
> Jens
>


-- 
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/9c5d4fa3-deff-4466-9e2c-4d7001711d1cn%40googlegroups.com.


[tw5] Re: Creating a new tiddler with tag "title" from a list

2021-02-12 Thread 'JM' via TiddlyWiki
This works out well! Thank you!

JM schrieb am Freitag, 12. Februar 2021 um 18:47:21 UTC+1:

> Sorry, now I realized it, I'll give it a second try!
>
> JM schrieb am Freitag, 12. Februar 2021 um 18:45:34 UTC+1:
>
>> No, unfortunately that makes no difference.
>>  tags={{{ [] }}} 
>> will also split a title consisting of multiple words into multiple tags.
>>
>> Mark S. schrieb am Freitag, 12. Februar 2021 um 18:35:56 UTC+1:
>>
>>> You need to wrap the tiddler name with double braces, since the tags 
>>> field is a list field.  Since [[ and ]] have special meaning in filters, 
>>> they have to be added sidewise, using variables. In my example below, 
>>> you'll need to revert HelloThere back to your original tag:
>>>
>>> <$vars lb="[[" rb="]]">
>>> <$list filter="[tag[HelloThere]sort[title]]">
>>> <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
>>> <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
>>> tags={{{ [addprefixaddsuffix] }}} 
>>> />New Task
>>> <$list filter="[is[current]tagging[]sort[title]]">
>>> <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
>>> field="title"/>''
>>> 
>>> 
>>> 
>>>
>>> On Friday, February 12, 2021 at 9:03:01 AM UTC-8 JM wrote:
>>>

 Hi there,

 I hope the title gives an idea of my problem:

 I'm working on my own To-Do-TiddlyWiki and I have build a list where 
 the tasks are listed by projects. That works out well. Now I want to have 
 a 
 button added behind the project-title that adds a tiddler tagged with the 
 specific title:

 <$list filter="[tag[project]sort[title]]">
 <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
 <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
 tags= />New Task
 <$list filter="[is[current]tagging[]sort[title]]">
 <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
 field="title"/>''
 
 

 This works out well, except for a project-title consisting of multiple 
 words, because two words will be treated as two different tags.

 Can anyone give me a hint?

 Thx
 Jens

>>>

-- 
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/692198cf-fc28-463f-b361-12566eaf52acn%40googlegroups.com.


[tw5] Re: Creating a new tiddler with tag "title" from a list

2021-02-12 Thread 'JM' via TiddlyWiki
Sorry, now I realized it, I'll give it a second try!

JM schrieb am Freitag, 12. Februar 2021 um 18:45:34 UTC+1:

> No, unfortunately that makes no difference.
>  tags={{{ [] }}} 
> will also split a title consisting of multiple words into multiple tags.
>
> Mark S. schrieb am Freitag, 12. Februar 2021 um 18:35:56 UTC+1:
>
>> You need to wrap the tiddler name with double braces, since the tags 
>> field is a list field.  Since [[ and ]] have special meaning in filters, 
>> they have to be added sidewise, using variables. In my example below, 
>> you'll need to revert HelloThere back to your original tag:
>>
>> <$vars lb="[[" rb="]]">
>> <$list filter="[tag[HelloThere]sort[title]]">
>> <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
>> <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
>> tags={{{ [addprefixaddsuffix] }}} 
>> />New Task
>> <$list filter="[is[current]tagging[]sort[title]]">
>> <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
>> field="title"/>''
>> 
>> 
>> 
>>
>> On Friday, February 12, 2021 at 9:03:01 AM UTC-8 JM wrote:
>>
>>>
>>> Hi there,
>>>
>>> I hope the title gives an idea of my problem:
>>>
>>> I'm working on my own To-Do-TiddlyWiki and I have build a list where the 
>>> tasks are listed by projects. That works out well. Now I want to have a 
>>> button added behind the project-title that adds a tiddler tagged with the 
>>> specific title:
>>>
>>> <$list filter="[tag[project]sort[title]]">
>>> <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
>>> <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
>>> tags= />New Task
>>> <$list filter="[is[current]tagging[]sort[title]]">
>>> <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
>>> field="title"/>''
>>> 
>>> 
>>>
>>> This works out well, except for a project-title consisting of multiple 
>>> words, because two words will be treated as two different tags.
>>>
>>> Can anyone give me a hint?
>>>
>>> Thx
>>> Jens
>>>
>>

-- 
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/49269927-6cf2-4bb6-9e4a-f63e2ed9dc13n%40googlegroups.com.


[tw5] Re: Creating a new tiddler with tag "title" from a list

2021-02-12 Thread 'JM' via TiddlyWiki
No, unfortunately that makes no difference.
 tags={{{ [] }}} 
will also split a title consisting of multiple words into multiple tags.

Mark S. schrieb am Freitag, 12. Februar 2021 um 18:35:56 UTC+1:

> You need to wrap the tiddler name with double braces, since the tags field 
> is a list field.  Since [[ and ]] have special meaning in filters, they 
> have to be added sidewise, using variables. In my example below, you'll 
> need to revert HelloThere back to your original tag:
>
> <$vars lb="[[" rb="]]">
> <$list filter="[tag[HelloThere]sort[title]]">
> <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
> <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
> tags={{{ [addprefixaddsuffix] }}} 
> />New Task
> <$list filter="[is[current]tagging[]sort[title]]">
> <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
> field="title"/>''
> 
> 
> 
>
> On Friday, February 12, 2021 at 9:03:01 AM UTC-8 JM wrote:
>
>>
>> Hi there,
>>
>> I hope the title gives an idea of my problem:
>>
>> I'm working on my own To-Do-TiddlyWiki and I have build a list where the 
>> tasks are listed by projects. That works out well. Now I want to have a 
>> button added behind the project-title that adds a tiddler tagged with the 
>> specific title:
>>
>> <$list filter="[tag[project]sort[title]]">
>> <$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
>> <$action-sendmessage $message="tm-new-tiddler" title="New Task" 
>> tags= />New Task
>> <$list filter="[is[current]tagging[]sort[title]]">
>> <$checkbox tag="done"> <$link to={{!!title}}>''<$view 
>> field="title"/>''
>> 
>> 
>>
>> This works out well, except for a project-title consisting of multiple 
>> words, because two words will be treated as two different tags.
>>
>> Can anyone give me a hint?
>>
>> Thx
>> Jens
>>
>

-- 
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/d018c0df-ab5c-4851-b922-523d47b8336fn%40googlegroups.com.


[tw5] Re: Creating a new tiddler with tag "title" from a list

2021-02-12 Thread 'JM' via TiddlyWiki
Sorry, of course tags=<>

-- 
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/0d513340-272f-4d7b-9e7d-f51c896fe02dn%40googlegroups.com.


[tw5] Creating a new tiddler with tag "title" from a list

2021-02-12 Thread 'JM' via TiddlyWiki

Hi there,

I hope the title gives an idea of my problem:

I'm working on my own To-Do-TiddlyWiki and I have build a list where the 
tasks are listed by projects. That works out well. Now I want to have a 
button added behind the project-title that adds a tiddler tagged with the 
specific title:

<$list filter="[tag[project]sort[title]]">
<$link to={{!!title}}>__''<$view field="title"/>''__ <$button>
<$action-sendmessage $message="tm-new-tiddler" title="New Task" 
tags= />New Task
<$list filter="[is[current]tagging[]sort[title]]">
<$checkbox tag="done"> <$link to={{!!title}}>''<$view 
field="title"/>''



This works out well, except for a project-title consisting of multiple 
words, because two words will be treated as two different tags.

Can anyone give me a hint?

Thx
Jens

-- 
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/02ff5f4b-66bf-4fb9-a3e8-bb6b7503752an%40googlegroups.com.


[tw] Re: Testers needed for new save extension 'savetiddlers'

2017-11-17 Thread 'JM' via TiddlyWiki
WFM - Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0, 
Ubuntu 16.04 LTS, using a symlink.

Thank you!

Am Mittwoch, 15. November 2017 22:12:45 UTC+1 schrieb BJ:
>
> I am just testing a new release, it should be ready within the hour.
>
>
> On Wednesday, November 15, 2017 at 8:50:41 PM UTC+1, JM wrote:
>>
>> Worked out fine on Win10 Prof, FF 56.* and 57 - I used a junction, too.
>>
>> Today I wanted to give it a try on Ubuntu 16.10, but unfortunately the 
>> add-on is not accessible due to a technical problem with the add-on itself. 
>> :-(
>>
>> I'm a bit lucky that Ubuntu still offers FF 56.* *and* I am willing to 
>> do some alpha- or beta-testing. ;-)
>>
>> Am Dienstag, 7. November 2017 20:30:39 UTC+1 schrieb BJ:
>>>
>>>
>>> I think that 'savetidders' (formerly bsaver) is about finished, and 
>>> needs some testings on different platforms. So I would be grateful if 
>>> people could try it. Remember don't use your own tiddlywikis  for testing 
>>> this extension!!!
>>>
>>> The install instructions are here: 
>>> https://github.com/buggyj/savetiddlers
>>>
>>> cheers
>>>
>>> BJ
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6bf1f2f-f177-4dcc-ae05-f6cd97e0e5e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.