paulgilbert2000
unread,Apr 15, 2021, 4:20:27 PM4/15/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi All
I am trying to establish a parent child relation ship between an existing tiddler and a newly created tiddler , my rationale is giving both of them a unique tag derived from the title would make them bound by this unique tag value
i have no coding experiencing and i am basically scavenging for and existing sample that does this exact same thing.
all i really want is to be able to create a child tiddler from an existing tiddler ,in the same fashion of a task subtask kind of relation ship you would find in software like JIRA for example
so what i need exactly is a button on a given tiddler which when activated would do the following
1-Clone the existing tiddler
2-Create a new Tag and add it to both the existing tiddler and also to the newly created tiddler , The tag value should be the same as the title of the existing tiddler
3-it would be also great if the newly created tiddler would retain the tags , the clone button , but not any other content of the original tiddler
so basically after hitting the button
Tiddler 1 with tags a,b and c would then have an extra tag with value " tiddler 1"
and newly created Tiddler 2 would have the same tags a,b,c and the new tag derived from the title" tiddler 1" and the clone button
i have this , which creates a new tiddler , but doesn't clone it , also it only adds the tag to the newly created tiddler and not the original one as well ..
so how can i add to this code to clone the tiddler and also add a tag value derived from the title to both the existing tiddler and the newly cloned one , and if possible make the button carry over to the newly created tiddler without the reset of the content
\define tagme() [[$(tagx)$]]
<$set name=tagx value={{!!title}}>
<$button>
<$action-sendmessage $message="tm-new-tiddler"tags=<<tagme>> text=/>
New Tiddler
</$button>
</$set>