In my reading history log (thank you so much) how do I have a count of
entries for the month show up beside the month?
For instance, if I read 10 books in September, how do I get it to show:
September (10)
Ditto for year total of entries: 2020 (x)
I'm pretty sure this was the wrong way to do it:
<$list filter="[range[2018,2021]]" variable="year">
<$list filter="[tag<year>limit[1]]">
<<year>><<count>><br>
<$list
filter="[range[1,12]addprefix[$:/language/Date/Long/Month/]get[text]]"
variable="month">
<$list filter="[tag<year>tag<month>limit[1]]">
 <<month>><<count>><br>
<$list filter="[tag<year>tag<month>
has[finished-reading-date]sort[finished-reading-date]]">
  <$link /> (<$view
field="finished-reading-date"/>)<br>
</$list>
</$list>
</$list>
</$list>
</$list>
On Tuesday, September 22, 2020 at 5:11:16 PM UTC+8 Sapphireslinger wrote:
> TW Tones
>
> You say I now do not need year and month tag on my journal tiddlers.
>
> But if I get rid of the year and month tags, I assume this code will no
> longer work?
>
> <$list filter="[range[2000,2021]]" variable="year">
> <$list filter="[tag<year>limit[1]]">
> <<year>><br>
> <$list
> filter="[range[1,12]addprefix[$:/language/Date/Long/Month/]get[text]]"
> variable="month">
> <$list filter="[tag<year>tag<month>limit[1]]">
>  <<month>><br>
> <$list filter="[tag<year>tag<month>tag[Journal]sort[title]]">
>   <$link /><br>
> </$list>
> </$list>
> </$list>
> </$list>
> </$list>
>
> It needs to be modified in some way to take advantage of the journal-date
> field?
>
> On Tuesday, September 22, 2020 at 4:10:29 PM UTC+8 Sapphireslinger wrote:
>
>> TW Tones,
>>
>> So I just change the journal-date to the date the described events were
>> happening. For instance: I find an old journal entry from 2007, I enter the
>> 2007 date, not today's date, is that correct?
>>
>> On Tuesday, September 22, 2020 at 4:03:23 PM UTC+8 Sapphireslinger wrote:
>>
>>> TW-Tones,
>>>
>>> I made a third attempt and IT WORKED! Thank you, thank you so much!
>>>
>>> Now my files look like this:
>>>
>>> $:/core/ui/Actions/new-journal
>>> <https://www.google.com/url?q=https%3A%2F%2Ftiddlywiki.com%2F%23%2524%253A%252Fcore%252Fui%252FActions%252Fnew-journal&sa=D&sntz=1&usg=AFQjCNFNed9xwgHcYvPbBGHdfPefX6xovQ>
>>>
>>> <$vars journalTitleTemplate={{$:/config/NewJournal/Title}}
>>> journalTags={{$:/config/NewJournal/Tags!!tags}}
>>> journalText={{$:/config/NewJournal/Text}}>
>>> <$wikify name="journalTitle" text="""<$macrocall $name="now"
>>> format=<<journalTitleTemplate>>/>""">
>>> <$reveal type="nomatch" state=<<journalTitle>> text="">
>>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>>
>>> tags=<<journalTags>> journal-date=<<now "YYYY0MM0DD0hh0mm0ss0XXX">>
>>> text={{{ [<journalTitle>get[]] }}}/>
>>>
>>> </$reveal>
>>> <$reveal type="match" state=<<journalTitle>> text="">
>>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>>
>>> tags=<<journalTags>> journal-date=<<now "YYYY0MM0DD0hh0mm0ss0XXX">>
>>> text=<<journalText>>/>
>>> </$reveal>
>>> </$wikify>
>>> </$vars>
>>>
>>> $:/core/ui/Buttons/new-journal-here
>>> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FButtons%2Fnew-journal-here>
>>>
>>> \whitespace trim
>>> \define journalButtonTags()
>>> [[$(currentTiddlerTag)$]] $(journalTags)$
>>> \end
>>> \define journalButton()
>>> <$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}}
>>> aria-label={{$:/language/Buttons/NewJournalHere/Caption}}
>>> class=<<tv-config-toolbar-class>>>
>>> <$wikify name="journalTitle" text="""<$macrocall $name="now"
>>> format=<<journalTitleTemplate>>/>""">
>>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>>
>>> tags=<<journalButtonTags>> journal-date=<<now
>>> "YYYY0MM0DD0hh0mm0ss0XXX">>/>
>>>
>>> <$list filter="[<tv-config-toolbar-icons>match[yes]]">
>>> {{$:/core/images/new-journal-button}}
>>> </$list>
>>> <$list filter="[<tv-config-toolbar-text>match[yes]]">
>>> <span class="tc-btn-text">
>>> <$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>
>>> </span>
>>> </$list>
>>> </$wikify>
>>> </$button>
>>> \end
>>> <$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
>>> <$set name="journalTags" value={{$:/config/NewJournal/Tags!!tags}}>
>>> <$set name="currentTiddlerTag" value=<<currentTiddler>>>
>>> <<journalButton>>
>>> </$set>
>>> </$set>
>>> </$set>
>>> On Tuesday, September 22, 2020 at 3:36:34 PM UTC+8 Sapphireslinger wrote:
>>>
>>>> TW Tones,
>>>>
>>>> I'm using Quinoid on my smartphone, but to install things on my
>>>> tiddlywiki, I copy the tiddlywiki file to my microSD, which I take out of
>>>> my phone and plug in to the desktop computer. I open the file with
>>>> firefox/timini.
>>>>
>>>> FIRST ATTEMPT
>>>>
>>>> I dragged the your journal-date.json into my tiddlywiki. After hitting
>>>> "import", all I got was a tiddler named Untitled and all it contained was
>>>> the link:
>>>> https://docs.google.com/viewer?a=v&pid=forums&srcid=MTEyNjM4NzE3NzI3NzEyNTIyMDMBMDIwMDA4NzE2NDA4NTU3MzE3NDkBYW9HVUd2dTJCUUFKATAuMQEBdjI
>>>>
>>>> So I went to the link, copied the contents, pasted them into a new
>>>> tiddler, titled it "TW tones - new journal button", no tags, and saved it
>>>> as a json tiddler. Saved my tiddlywiki, closed and reopened it just to
>>>> make
>>>> sure.
>>>>
>>>> Nothing new happened when I clicked on any journal buttons :(
>>>>
>>>> SECOND ATTEMPT
>>>>
>>>> Then I tried pasting the contents of the link directly into the two
>>>> files you mentioned, in the empty space at the bottom of the code they
>>>> contained.
>>>>
>>>> 1. $:/core/ui/Actions/new-journal
>>>>
>>>> <https://www.google.com/url?q=https%3A%2F%2Ftiddlywiki.com%2F%23%2524%253A%252Fcore%252Fui%252FActions%252Fnew-journal&sa=D&sntz=1&usg=AFQjCNFNed9xwgHcYvPbBGHdfPefX6xovQ>
>>>> 2. $:/core/ui/Buttons/new-journal-here
>>>>
>>>> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FButtons%2Fnew-journal-here>
>>>>
>>>> So (1) $:/core/ui/Actions/new-journal
>>>> <https://www.google.com/url?q=https%3A%2F%2Ftiddlywiki.com%2F%23%2524%253A%252Fcore%252Fui%252FActions%252Fnew-journal&sa=D&sntz=1&usg=AFQjCNFNed9xwgHcYvPbBGHdfPefX6xovQ>
>>>>
>>>> looked like this:
>>>>
>>>> <$vars journalTitleTemplate={{$:/config/NewJournal/Title}}
>>>> journalTags={{$:/config/NewJournal/Tags!!tags}}
>>>> journalText={{$:/config/NewJournal/Text}}>
>>>> <$wikify name="journalTitle" text="""<$macrocall $name="now"
>>>> format=<<journalTitleTemplate>>/>""">
>>>> <$reveal type="nomatch" state=<<journalTitle>> text="">
>>>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>>
>>>> tags=<<journalTags>> text={{{ [<journalTitle>get[]] }}}/>
>>>> </$reveal>
>>>> <$reveal type="match" state=<<journalTitle>> text="">
>>>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>>
>>>> tags=<<journalTags>> text=<<journalText>>/>
>>>> </$reveal>
>>>> </$wikify>
>>>> </$vars>
>>>> [{"created":"20200609104906227","text":"Adds the journal-date field to
>>>> new journals be they new here or from the Page
>>>> Controls\n\n","title":"$:/PSaT/with-Journal-Date","tags":"","modified":"20200610031648548","description":"Modify
>>>>
>>>> core behaviour to New Journals With Journal-Date
>>>> field","rating":"5","package-filter":"[all[]prefix[$:/PSaT/with-Journal-Date]]
>>>>
>>>> [[$:/core/ui/Actions/new-journal]]
>>>> [[$:/core/ui/Buttons/new-journal-here]]","icon":"$:/core/images/new-journal-button"},{"created":"20200508083445369","text":"<$vars
>>>>
>>>> journalTitleTemplate={{$:/config/NewJournal/Title}}
>>>> journalTags={{$:/config/NewJournal/Tags!!tags}}
>>>> journalText={{$:/config/NewJournal/Text}}>\n<$wikify name=\"journalTitle\"
>>>> text=\"\"\"<$macrocall $name=\"now\"
>>>> format=<<journalTitleTemplate>>/>\"\"\">\n<$reveal type=\"nomatch\"
>>>> state=<<journalTitle>> text=\"\">\n<$action-sendmessage
>>>> $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalTags>>
>>>> text={{{ [<journalTitle>get[]] }}} journal-date=<<now
>>>> \"YYYY0MM0DD0hh0mm0ss000\">>/>\n</$reveal>\n<$reveal type=\"match\"
>>>> state=<<journalTitle>> text=\"\">\n<$action-sendmessage
>>>> $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalTags>>
>>>> text=<<journalText>> journal-date=<<now
>>>> \"YYYY0MM0DD0hh0mm0ss000\">>/>\n</$reveal>\n</$wikify>\n</$vars>\n","title":"$:/core/ui/Actions/new-journal","tags":"$:/tags/Actions","modifier":"Quick
>>>>
>>>> Config","modified":"20200626001201202","description":"create a new journal
>>>> tiddler","creator":"Quick Config"},{"text":"\\whitespace trim\n\\define
>>>> journalButtonTags()\n[[$(currentTiddlerTag)$]]
>>>> $(journalTags)$\n\\end\n\\define journalButton()\n<$button
>>>> tooltip={{$:/language/Buttons/NewJournalHere/Hint}}
>>>> aria-label={{$:/language/Buttons/NewJournalHere/Caption}}
>>>> class=<<tv-config-toolbar-class>>>\n<$wikify name=\"journalTitle\"
>>>> text=\"\"\"<$macrocall $name=\"now\"
>>>> format=<<journalTitleTemplate>>/>\"\"\">\n<$action-sendmessage
>>>> $message=\"tm-new-tiddler\" title=<<journalTitle>>
>>>> tags=<<journalButtonTags>> journal-date=<<now
>>>> \"YYYY0MM0DD0hh0mm0ss000\">>/>\n<$list
>>>> filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-journal-button}}\n</$list>\n<$list
>>>>
>>>> filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span
>>>> class=\"tc-btn-text\">\n<$text
>>>> text={{$:/language/Buttons/NewJournalHere/Caption}}/>\n</span>\n</$list>\n</$wikify>\n</$button>\n\\end\n<$set
>>>>
>>>> name=\"journalTitleTemplate\" value={{$:/config/NewJournal/Title}}>\n<$set
>>>> name=\"journalTags\" value={{$:/config/NewJournal/Tags!!tags}}>\n<$set
>>>> name=\"currentTiddlerTag\"
>>>> value=<<currentTiddler>>>\n<<journalButton>>\n</$set>\n</$set>\n</$set>\n","title":"$:/core/ui/Buttons/new-journal-here","tags":"$:/tags/ViewToolbar","modifier":"Quick
>>>>
>>>> Config","modified":"20200508083846432","description":"{{$:/language/Buttons/NewJournalHere/Hint}}","creator":"Quick
>>>>
>>>> Config","created":"20200508083825834","caption":"{{$:/core/images/new-journal-button}}
>>>>
>>>> {{$:/language/Buttons/NewJournalHere/Caption}}"}]
>>>>
>>>> And (2) $:/core/ui/Buttons/new-journal-here
>>>> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FButtons%2Fnew-journal-here>
>>>> looked like this:
>>>>
>>>> \whitespace trim
>>>> \define journalButtonTags()
>>>> [[$(currentTiddlerTag)$]] $(journalTags)$
>>>> \end
>>>> \define journalButton()
>>>> <$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}}
>>>> aria-label={{$:/language/Buttons/NewJournalHere/Caption}}
>>>> class=<<tv-config-toolbar-class>>>
>>>> <$wikify name="journalTitle" text="""<$macrocall $name="now"
>>>> format=<<journalTitleTemplate>>/>""">
>>>> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>>
>>>> tags=<<journalButtonTags>>/>
>>>> <$list filter="[<tv-config-toolbar-icons>match[yes]]">
>>>> {{$:/core/images/new-journal-button}}
>>>> </$list>
>>>> <$list filter="[<tv-config-toolbar-text>match[yes]]">
>>>> <span class="tc-btn-text">
>>>> <$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>
>>>> </span>
>>>> </$list>
>>>> </$wikify>
>>>> </$button>
>>>> \end
>>>> <$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
>>>> <$set name="journalTags" value={{$:/config/NewJournal/Tags!!tags}}>
>>>> <$set name="currentTiddlerTag" value=<<currentTiddler>>>
>>>> <<journalButton>>
>>>> </$set>
>>>> </$set>
>>>> </$set>
>>>> [{"created":"20200609104906227","text":"Adds the journal-date field to
>>>> new journals be they new here or from the Page
>>>> Controls\n\n","title":"$:/PSaT/with-Journal-Date","tags":"","modified":"20200610031648548","description":"Modify
>>>>
>>>> core behaviour to New Journals With Journal-Date
>>>> field","rating":"5","package-filter":"[all[]prefix[$:/PSaT/with-Journal-Date]]
>>>>
>>>> [[$:/core/ui/Actions/new-journal]]
>>>> [[$:/core/ui/Buttons/new-journal-here]]","icon":"$:/core/images/new-journal-button"},{"created":"20200508083445369","text":"<$vars
>>>>
>>>> journalTitleTemplate={{$:/config/NewJournal/Title}}
>>>> journalTags={{$:/config/NewJournal/Tags!!tags}}
>>>> journalText={{$:/config/NewJournal/Text}}>\n<$wikify name=\"journalTitle\"
>>>> text=\"\"\"<$macrocall $name=\"now\"
>>>> format=<<journalTitleTemplate>>/>\"\"\">\n<$reveal type=\"nomatch\"
>>>> state=<<journalTitle>> text=\"\">\n<$action-sendmessage
>>>> $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalTags>>
>>>> text={{{ [<journalTitle>get[]] }}} journal-date=<<now
>>>> \"YYYY0MM0DD0hh0mm0ss000\">>/>\n</$reveal>\n<$reveal type=\"match\"
>>>> state=<<journalTitle>> text=\"\">\n<$action-sendmessage
>>>> $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalTags>>
>>>> text=<<journalText>> journal-date=<<now
>>>> \"YYYY0MM0DD0hh0mm0ss000\">>/>\n</$reveal>\n</$wikify>\n</$vars>\n","title":"$:/core/ui/Actions/new-journal","tags":"$:/tags/Actions","modifier":"Quick
>>>>
>>>> Config","modified":"20200626001201202","description":"create a new journal
>>>> tiddler","creator":"Quick Config"},{"text":"\\whitespace trim\n\\define
>>>> journalButtonTags()\n[[$(currentTiddlerTag)$]]
>>>> $(journalTags)$\n\\end\n\\define journalButton()\n<$button
>>>> tooltip={{$:/language/Buttons/NewJournalHere/Hint}}
>>>> aria-label={{$:/language/Buttons/NewJournalHere/Caption}}
>>>> class=<<tv-config-toolbar-class>>>\n<$wikify name=\"journalTitle\"
>>>> text=\"\"\"<$macrocall $name=\"now\"
>>>> format=<<journalTitleTemplate>>/>\"\"\">\n<$action-sendmessage
>>>> $message=\"tm-new-tiddler\" title=<<journalTitle>>
>>>> tags=<<journalButtonTags>> journal-date=<<now
>>>> \"YYYY0MM0DD0hh0mm0ss000\">>/>\n<$list
>>>> filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-journal-button}}\n</$list>\n<$list
>>>>
>>>> filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span
>>>> class=\"tc-btn-text\">\n<$text
>>>> text={{$:/language/Buttons/NewJournalHere/Caption}}/>\n</span>\n</$list>\n</$wikify>\n</$button>\n\\end\n<$set
>>>>
>>>> name=\"journalTitleTemplate\" value={{$:/config/NewJournal/Title}}>\n<$set
>>>> name=\"journalTags\" value={{$:/config/NewJournal/Tags!!tags}}>\n<$set
>>>> name=\"currentTiddlerTag\"
>>>> value=<<currentTiddler>>>\n<<journalButton>>\n</$set>\n</$set>\n</$set>\n","title":"$:/core/ui/Buttons/new-journal-here","tags":"$:/tags/ViewToolbar","modifier":"Quick
>>>>
>>>> Config","modified":"20200508083846432","description":"{{$:/language/Buttons/NewJournalHere/Hint}}","creator":"Quick
>>>>
>>>> Config","created":"20200508083825834","caption":"{{$:/core/images/new-journal-button}}
>>>>
>>>> {{$:/language/Buttons/NewJournalHere/Caption}}"}]
>>>>
>>>> And now one of my "new journal buttons" does not appear to work at all.
>>>> (So sorry, can not remember where and when I got that particular new
>>>> journal button. But it's not the one that automatically tags my new
>>>> journal
>>>> tiddlers with month and year etc that I've been using for awhile.)
>>>>
>>>> Not sure what to try next.
>>>>
>>>>
>>>> On Sunday, September 20, 2020 at 12:47:34 PM UTC+8 [email protected]
>>>> wrote:
>>>>
>>>>> Thank you TW Tones,
>>>>>
>>>>> Works for me now.
>>>>>
>>>>> Birthe
>>>>>
>>>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c25b8cda-e0c0-4245-bf42-760104e562a8n%40googlegroups.com.