No to worry. I worked it out I added this line
<$set name="tags" filter="[<currentTiddler>] [{$:/config/NewTiddler/Tags}]"> and changed <<currentTiddler>> to <<tags>> This is the final code, please let me know if this is the correct way to do it. \define button() <$button tooltip={{$:/language/Buttons/NewHere/Hint}} class=<<tv-config-toolbar-class>> actions=<<actions>>> {{$:/core/images/new-button}} </$button> \end \define actions() <$set name="tags" filter="[<currentTiddler>] [{$:/config/NewTiddler/Tags}]"> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<tags>> text="""▴[[$(tid)$]]<hr>"""/> \end <$wikify name=tid text=<<currentTiddler>>> <<button>> </$wikify> On Monday, 18 October 2021 at 14:51:51 UTC+1 Russell Price wrote: > Hi! > > This works great! but when there are spaces in the tiddler title then it > creates a tag per word instead of one for all. How would this be fixed? > > Thanks > > On Friday, 15 October 2021 at 13:22:40 UTC+1 strikke...@gmail.com wrote: > >> The tiddler you are looking for is titled >> $:/.giffmex/ViewToolbar/new-note-here >> it has the tags $:/giffmex/stroll and $:/tags/ViewToolbar. use advanced >> search the system tab to search for the tiddler. >> >> When you have found it, you will have to open it for edit. >> >> Insert the following: >> >> ``` >> \define button() >> <$button tooltip={{$:/language/Buttons/NewHere/Hint}} >> class=<<tv-config-toolbar-class>> actions=<<actions>>> >> {{$:/core/images/new-button}} >> </$button> >> \end >> >> \define actions() >> <$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> >> tags=<<currentTiddler>> text="""[[$(tid)$]]"""/> >> \end >> >> <$wikify name=tid text=<<currentTiddler>>> >> <<button>> >> </$wikify> >> ``` >> Save and you should be good to go >> >> On Friday, October 15, 2021 at 1:37:51 PM UTC+2 blund...@gmail.com wrote: >> >>> Hello >>> >>> Is anyone familiar with stroll here? >>> >>> When clicking the '+' button to "create a new tiddler that links to this >>> one" it automatically creates a link in the new tiddler which is great but >>> I am using the TableOfContents macro so I also need it to add a tag as >>> well. How do I get it to automatically add a tag with the same name as the >>> link it creates? >>> >>> Thanks >>> >> -- 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/cabec0b7-0724-419a-bfda-b791aac50b6dn%40googlegroups.com.