Change name of "associated" tiddlers

56 views
Skip to first unread message

st...@sunyit.edu

unread,
Nov 28, 2018, 9:00:25 AM11/28/18
to TiddlyWiki
Greetings --

I am working with a set of tiddlers that are related / associated with each other. I have a primary tiddler, and then a macro that allows me to create additional tiddlers whose title contains an additional word plus the title of the original tiddler, and whose tags contain both parts of the title. This is done using a macro:

\define newtitlemacro() $(policy-title)$ $(bullet-title)$
\define newtitletags() [[$(policy-title)$]] [[$(bullet-title)$]]

\define makebullet(bullet-title)
<$vars bullet-title=$bullet-title$ policy-title={{!!title}}>
<$button class="tc-btn-invisible tc-tiddlylink">
<$action-setfield $tiddler=<<newtitlemacro>> tiddler-type="policy-bullet" from-policy=<<policy-title>> tags=<<newtitletags>>/>
<$action-sendmessage $message="tm-edit-tiddler" $param=<<newtitlemacro>>/
>
<<newtitlemacro>> </$button>
</
$vars>
\end

This works well enough for me now.

The challenge comes when I want to change the name of the "primary" tiddler. I nicely get this message:

Update [[primary tiddler name]] in the tags and list fields of other tiddlers

My question: how can I change the title field of other tiddlers as well as the tags and list fields?

Thanks!

//steve.



TonyM

unread,
Nov 28, 2018, 5:27:26 PM11/28/18
to TiddlyWiki
Steve,

Titles are in some ways keys to the information contained in a tiddler. Any design that demands tiddler titles to change is asking the one thing that that perhaps should remain the same is what I may call fragile.

I think we may be able to find an answer to you question however I respectfully suggest to try to identify an alternate design approach.

The message you are recieving is about changing the title of the current tiddler and where that title is used as a tag. It has no direct conection to the titles you created that included it.

Perhaps you can ask what you would like to have in your tiddlywiki rather than ask the detailed how to you ask here.

Regards
Tony

Reply all
Reply to author
Forward
0 new messages