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>
--
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/8b03ec7e-9e34-4067-8ac1-3adf6a503e15n%40googlegroups.com.