So I have a couple buttons I borrowed from some other wikis for creating new 
tiddlers with specific tags and starting text. What I’m hoping to be able to do 
is send the current date as a hard link with the starting body text in order 
for the tiddler to be referenced in that days journal tiddler with TiddlyBlink. 

I really only know enough to break things, but if anyone has tips or can point 
me in the right direction I’d appreciate it. 

For the first button, ideally after “Started: “ I’d be able to pass the current 
date as [[DD MMM YYYY]] or [[22 April 2020]]. I’ve tried using the <<now>> 
macro but can’t seem to get it to work through this button and the spaces in my 
date format throw it off elsewhere. I tried using Fields as well, but they 
create soft links so they don’t show up under the Reference section with 
TiddlyBlink. 

[Books Button](https://wiki.tiv.today/#Books)

<$button tooltip="Add a book">Add a book
<$action-createtiddler
$basetitle='New Book'
text='by 

Started: 

Finished: 

---

!! Quotes'
tags='Books'
$savetitle='$:/.user/CreateBook!!newBook'
/>

For the second button, I copied the New Journal button to create two tiddlers 
(second one below) and was able to get the date through to the body text 
(<<journalTexx>>), but can’t figure out how to have brackets come through with 
it to create a hard link automatically. 

[Start the Day](https://wiki.tiv.today/#Table%20of%20Contents)

<$vars journalTitleTemplate=%24%3A/config/NewTDL/Title 
journalTags=%24%3A/config/NewTDL/Tags%21%21tags 
journalText=%24%3A/config/NewTDL/Text>
<$wikify name="journalTexx" text="""<$macrocall $name="now" 
format=<<journalText>>/>""">
<$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=%7B%20%5B%3CjournalTitle%3Eget%5B%5D%5D%20}/>
</$reveal>
<$reveal type="match" state=<<journalTitle>> text="">
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> 
tags=<<journalTags>> text=<<journalTexx>>/>
</$reveal>
</$wikify>
</$wikify>
</$vars>

Lastly, I don’t expect an easy answer for this one, but I wanted to see if 
anyone was aware of a plug-in that would allow for a calendar date picker to 
insert a hard linked date like the above, either through a button in the text 
editor (like the Stamp) or in some magical way through buttons similar to the 
above. I’m trying to figure out the easiest way to insert future dates in the 
body of my task tiddlers [here](https://wiki.tiv.today/#Tasks). 

Thanks again for any help. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f27b6350-fdb3-4eda-a487-cd31abf53556%40googlegroups.com.

Reply via email to