[tw5] Re: Nested Tags on TOC SideBar

2020-08-24 Thread jin
I'll check this out, thank you again!
On Monday, 24 August 2020 at 16:29:31 UTC+8 TW Tones wrote:

> This variation also adds the year to the year field to make life easier.
>
> <$button>
> <$list filter="[all[]tag[Journal]]">
> <$set name=journal-tiddler value=<> >
>
> <$fieldmangler>
><$set name=year filter="[{!!title}split[]last[4]join[]]">
><$action-sendmessage $message="tm-add-tag" $param=<
> >/>
><$action-setfield $field=year $value=<> />
>
> 
> 
>
> 
> Add tag for year
> 
>
> I have attached my New Journal and New Journal here overwite of core 
> tiddlers here. This results in a Journal-date being set, so titles can 
> change and all journal dates will be valid. 
>
> You could add the above actions ito it so the year field is populated at 
> creation time.
>
> Just ask if you want me to update the macros and show you how to list 
> using year fields.
>
> Regards
> Tony
>
>
> On Monday, 24 August 2020 18:05:35 UTC+10, TW Tones wrote:
>>
>> The following will list all tiddlers with a Journal tag and extract the 
>> year number from the title,
>>
>>- If you are using the default journal title format DDth MMM 
>>- If you were using the created date or a journal date you could use 
>>first[4] rather than last[4]
>>
>> <$list filter="[all[]tag[Journal]]">
>><$set name=year filter="[{!!title}split[]last[4]join[]]">
>> <>   
>>
>> 
>>
>> Now wrap this in a button to trigger it, and add an action widget to add 
>> a tag to each tiddler for the year
>> For such messages we need to use the fieldmangler widget.
>> <$button>
>> <$list filter="[all[]tag[Journal]]">
>> <$fieldmangler>
>><$set name=year filter="[{!!title}split[]last[4]join[]]">
>><$action-sendmessage $message="tm-add-tag" $param=<>/>
>>
>> 
>> 
>> Add tag for year
>> 
>>
>> I will give you more soon.
>> Tones
>>
>>
>> On Monday, 24 August 2020 17:28:49 UTC+10, TW Tones wrote:
>>>
>>> Hi,
>>>
>>> So there is a tiddler called 2020 that tags 50 days or it it just a 
>>> section for all Journals with the year 2020?
>>>
>>> Perhaps show us what one of the 200 tiddlers looks like, its tags or 
>>> title?
>>>
>>> If what you want is as we see, in your image there is no reason not to 
>>> make you own tab, rather than try and play with the tags functions.
>>>
>>> We could also add a batch to add a "year" tag to all Journals, then you 
>>> could use the year tags?
>>>
>>>
>>> Regards
>>> Tony
>>>
>>>
>>>
>>> On Monday, 24 August 2020 14:36:00 UTC+10, justinehe...@gmail.com wrote:

 Here is a screenshot of what I meant haha. The Dates are under Journal 
 with the number of tiddlers in the tags. Hope you understand! 
 [image: Screenshot_1.png]

 On Monday, 24 August 2020 at 11:23:10 UTC+8 TW Tones wrote:

> Justine?
>
> You may need to spell this out in a few more sentences. An example 
> would be great, the more you help us understand, the easier it is for us 
> to 
> help you.
>
> Tones.
>
>
> On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com 
> wrote:
>>
>>
>> So I have a Journal tag and the Tiddlers are tagged between 
>> 2017-2020. What I wanted is to have my 2017-2020 tags to be under the 
>> Journal tags on my Sidebar so I can be able to browse my tiddlers easily 
>> and also have a number of tiddlers that are in the 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/39417c5e-41c6-498c-8303-ec08d6ec0b6en%40googlegroups.com.


[tw5] Re: Nested Tags on TOC SideBar

2020-08-24 Thread jin
Thank you so much! :DD
On Monday, 24 August 2020 at 16:05:35 UTC+8 TW Tones wrote:

> The following will list all tiddlers with a Journal tag and extract the 
> year number from the title,
>
>- If you are using the default journal title format DDth MMM 
>- If you were using the created date or a journal date you could use 
>firet[4] rather than last[4]
>
> <$list filter="[all[]tag[Journal]]">
><$set name=year filter="[{!!title}split[]last[4]join[]]">
> <>   
>
> 
>
> Now wrap this in a button to trigger it, and add an action widget to add a 
> tag to each tiddler for the year
> For such messages we need to use the fieldmangler widget.
> <$button>
> <$list filter="[all[]tag[Journal]]">
> <$fieldmangler>
><$set name=year filter="[{!!title}split[]last[4]join[]]">
><$action-sendmessage $message="tm-add-tag" $param=<>/>
>
> 
> 
> Add tag for year
> 
>
> I will give you more soon.
> Tones
>
>
> On Monday, 24 August 2020 17:28:49 UTC+10, TW Tones wrote:
>>
>> Hi,
>>
>> So there is a tiddler called 2020 that tags 50 days or it it just a 
>> section for all Journals with the year 2020?
>>
>> Perhaps show us what one of the 200 tiddlers looks like, its tags or 
>> title?
>>
>> If what you want is as we see, in your image there is no reason not to 
>> make you own tab, rather than try and play with the tags functions.
>>
>> We could also add a batch to add a "year" tag to all Journals, then you 
>> could use the year tags?
>>
>>
>> Regards
>> Tony
>>
>>
>>
>> On Monday, 24 August 2020 14:36:00 UTC+10, justinehe...@gmail.com wrote:
>>>
>>> Here is a screenshot of what I meant haha. The Dates are under Journal 
>>> with the number of tiddlers in the tags. Hope you understand! 
>>> [image: Screenshot_1.png]
>>>
>>> On Monday, 24 August 2020 at 11:23:10 UTC+8 TW Tones wrote:
>>>
 Justine?

 You may need to spell this out in a few more sentences. An example 
 would be great, the more you help us understand, the easier it is for us 
 to 
 help you.

 Tones.


 On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com 
 wrote:
>
>
> So I have a Journal tag and the Tiddlers are tagged between 2017-2020. 
> What I wanted is to have my 2017-2020 tags to be under the Journal tags 
> on 
> my Sidebar so I can be able to browse my tiddlers easily and also have a 
> number of tiddlers that are in the 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/105aa0d1-d534-4abf-90bb-524cc8fecd09n%40googlegroups.com.


[tw5] Re: Nested Tags on TOC SideBar

2020-08-24 Thread TW Tones
The following will list all tiddlers with a Journal tag and extract the 
year number from the title,

   - If you are using the default journal title format DDth MMM 
   - If you were using the created date or a journal date you could use 
   firet[4] rather than last[4]

<$list filter="[all[]tag[Journal]]">
   <$set name=year filter="[{!!title}split[]last[4]join[]]">
<>   
   


Now wrap this in a button to trigger it, and add an action widget to add a 
tag to each tiddler for the year
For such messages we need to use the fieldmangler widget.
<$button>
<$list filter="[all[]tag[Journal]]">
<$fieldmangler>
   <$set name=year filter="[{!!title}split[]last[4]join[]]">
   <$action-sendmessage $message="tm-add-tag" $param=<>/>
   


Add tag for year


I will give you more soon.
Tones


On Monday, 24 August 2020 17:28:49 UTC+10, TW Tones wrote:
>
> Hi,
>
> So there is a tiddler called 2020 that tags 50 days or it it just a 
> section for all Journals with the year 2020?
>
> Perhaps show us what one of the 200 tiddlers looks like, its tags or title?
>
> If what you want is as we see, in your image there is no reason not to 
> make you own tab, rather than try and play with the tags functions.
>
> We could also add a batch to add a "year" tag to all Journals, then you 
> could use the year tags?
>
>
> Regards
> Tony
>
>
>
> On Monday, 24 August 2020 14:36:00 UTC+10, justinehe...@gmail.com wrote:
>>
>> Here is a screenshot of what I meant haha. The Dates are under Journal 
>> with the number of tiddlers in the tags. Hope you understand! 
>> [image: Screenshot_1.png]
>>
>> On Monday, 24 August 2020 at 11:23:10 UTC+8 TW Tones wrote:
>>
>>> Justine?
>>>
>>> You may need to spell this out in a few more sentences. An example would 
>>> be great, the more you help us understand, the easier it is for us to help 
>>> you.
>>>
>>> Tones.
>>>
>>>
>>> On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com wrote:


 So I have a Journal tag and the Tiddlers are tagged between 2017-2020. 
 What I wanted is to have my 2017-2020 tags to be under the Journal tags on 
 my Sidebar so I can be able to browse my tiddlers easily and also have a 
 number of tiddlers that are in the 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/70e7ae3a-f559-443f-8d0f-36238ce1d957o%40googlegroups.com.


[tw5] Re: Nested Tags on TOC SideBar

2020-08-24 Thread jin
I guess I'll just try and play with the tags functions first, thank you. :)

On Monday, 24 August 2020 at 15:28:49 UTC+8 TW Tones wrote:

> Hi,
>
> So there is a tiddler called 2020 that tags 50 days or it it just a 
> section for all Journals with the year 2020?
>
> Perhaps show us what one of the 200 tiddlers looks like, its tags or title?
>
> If what you want is as we see, in your image there is no reason not to 
> make you own tab, rather than try and play with the tags functions.
>
> We could also add a batch to add a "year" tag to all Journals, then you 
> could use the year tags?
>
>
> Regards
> Tony
>
>
>
> On Monday, 24 August 2020 14:36:00 UTC+10, justinehe...@gmail.com wrote:
>>
>> Here is a screenshot of what I meant haha. The Dates are under Journal 
>> with the number of tiddlers in the tags. Hope you understand! 
>> [image: Screenshot_1.png]
>>
>> On Monday, 24 August 2020 at 11:23:10 UTC+8 TW Tones wrote:
>>
>>> Justine?
>>>
>>> You may need to spell this out in a few more sentences. An example would 
>>> be great, the more you help us understand, the easier it is for us to help 
>>> you.
>>>
>>> Tones.
>>>
>>>
>>> On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com wrote:


 So I have a Journal tag and the Tiddlers are tagged between 2017-2020. 
 What I wanted is to have my 2017-2020 tags to be under the Journal tags on 
 my Sidebar so I can be able to browse my tiddlers easily and also have a 
 number of tiddlers that are in the 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/2b842e51-fd66-4c92-8391-19459c13d233n%40googlegroups.com.


[tw5] Re: Nested Tags on TOC SideBar

2020-08-24 Thread TW Tones
Hi,

So there is a tiddler called 2020 that tags 50 days or it it just a section 
for all Journals with the year 2020?

Perhaps show us what one of the 200 tiddlers looks like, its tags or title?

If what you want is as we see, in your image there is no reason not to make 
you own tab, rather than try and play with the tags functions.

We could also add a batch to add a "year" tag to all Journals, then you 
could use the year tags?


Regards
Tony



On Monday, 24 August 2020 14:36:00 UTC+10, justinehe...@gmail.com wrote:
>
> Here is a screenshot of what I meant haha. The Dates are under Journal 
> with the number of tiddlers in the tags. Hope you understand! 
> [image: Screenshot_1.png]
>
> On Monday, 24 August 2020 at 11:23:10 UTC+8 TW Tones wrote:
>
>> Justine?
>>
>> You may need to spell this out in a few more sentences. An example would 
>> be great, the more you help us understand, the easier it is for us to help 
>> you.
>>
>> Tones.
>>
>>
>> On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com wrote:
>>>
>>>
>>> So I have a Journal tag and the Tiddlers are tagged between 2017-2020. 
>>> What I wanted is to have my 2017-2020 tags to be under the Journal tags on 
>>> my Sidebar so I can be able to browse my tiddlers easily and also have a 
>>> number of tiddlers that are in the 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/86abf34e-d5da-4145-bbf3-6d23b9de349do%40googlegroups.com.


[tw5] Re: Nested Tags on TOC SideBar

2020-08-23 Thread justinehe...@gmail.com
Here is a screenshot of what I meant haha. The Dates are under Journal with 
the number of tiddlers in the tags. Hope you understand! 
[image: Screenshot_1.png]

On Monday, 24 August 2020 at 11:23:10 UTC+8 TW Tones wrote:

> Justine?
>
> You may need to spell this out in a few more sentences. An example would 
> be great, the more you help us understand, the easier it is for us to help 
> you.
>
> Tones.
>
>
> On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com wrote:
>>
>>
>> So I have a Journal tag and the Tiddlers are tagged between 2017-2020. 
>> What I wanted is to have my 2017-2020 tags to be under the Journal tags on 
>> my Sidebar so I can be able to browse my tiddlers easily and also have a 
>> number of tiddlers that are in the 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/0e3f76fe-9811-4f06-9c70-89dad11cff2an%40googlegroups.com.


[tw5] Re: Nested Tags on TOC SideBar

2020-08-23 Thread TW Tones
Justine?

You may need to spell this out in a few more sentences. An example would be 
great, the more you help us understand, the easier it is for us to help you.

Tones.

On Sunday, 23 August 2020 17:06:52 UTC+10, justinehe...@gmail.com wrote:
>
>
> So I have a Journal tag and the Tiddlers are tagged between 2017-2020. 
> What I wanted is to have my 2017-2020 tags to be under the Journal tags on 
> my Sidebar so I can be able to browse my tiddlers easily and also have a 
> number of tiddlers that are in the 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/70c4cc9a-75c8-4cbb-b05e-6346182ec5b0o%40googlegroups.com.