Now I'm trying that, and wondering if it might be easier to create the 
tiddler the way you did, and then just remove the superfluous tags with 
action-listops...

But many others here would know off the bat the best way to increment the 
title; I'd have to look into it.

Best,
Chris

On Saturday, November 28, 2020 at 4:16:37 PM UTC-5 clutterstack wrote:

> Hi David,
>
> Looks like you are using the tm-new-tiddler message using the original 
> tiddler as a template ("$param"), and need to change it to use a title 
> parameter instead: 
> https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler
>
> Best,
> Chris
> On Saturday, November 28, 2020 at 9:36:11 AM UTC-5 David Gifford wrote:
>
>> Hi everyone!
>>
>> Below is the snippet for my "New tab here" button. It creates a new 
>> tiddler, with the title of the parent tiddler as the title and the tag of 
>> the child tiddler. A tabs macro in the parent tiddler displays the children 
>> tiddlers as tabs.
>>
>> The only problem I have is that the child tiddlers inherit the tags of 
>> the parent. I would like for that behavior to stop.
>>
>> What do I need to delete, add or change for that to happen? I tried 
>> various things but nothing worked. I appreciate any help I can get. 
>> Blessings.
>>
>> \whitespace trim
>> \define newHereActions()
>> <$set name="tags" filter="[<currentTiddler>] 
>> [{$:/config/NewTiddler/Tags!!tags}]">
>> <$action-sendmessage $message="tm-new-tiddler" $param=<<currentTiddler>> 
>> tags="" tags=<<tags>> text="* " caption="" meta="note"/>
>> </$set>
>> \end
>> \define newHereButton()
>> <$button actions=<<newHereActions>> 
>> tooltip={{$:/language/Buttons/NewHere/Hint}} 
>> aria-label={{$:/language/Buttons/NewHere/Caption}} 
>> class=<<tv-config-toolbar-class>>>
>> <$list filter="[<tv-config-toolbar-icons>match[yes]]">
>> {{$:/core/images/folder}}
>> </$list>
>> <$list filter="[<tv-config-toolbar-text>match[yes]]">
>> <span class="tc-btn-text">
>> <$text text={{$:/language/Buttons/NewHere/Caption}}/>
>> </span>
>> </$list>
>> </$button>
>> \end
>> <<newHereButton>>
>
>

-- 
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/97690fe8-55f0-4f8c-90ff-4fa82ab94a5an%40googlegroups.com.

Reply via email to