$:/core/ui/EditTemplate dilemma

54 views
Skip to first unread message

David Gifford

unread,
Apr 18, 2020, 2:45:30 PM4/18/20
to TiddlyWiki
Hi everyone

I am working on TiddlyBlink with Saq. One thing I realized today is that when I upgraded TiddlyWiki, the $:/core/ui/EditTemplate replaced the one I had tampered with. Expected behavior.

My dilemma is that for TiddlyBlink I do need to make a permanent change to that tiddler, so that saving the changes will create new tiddlers from the missing links in the tiddler. (I have this figured out, it works)

Unfortunately, $:/core/ui/EditTemplate is not like other tiddlers, where you can disable it by removing a tag, and then clone it to create your own version of it. So if I put this up, users will be fine until they upgrade, then their links won't work right. They will show as missing links.

How should I handle this? Could Jeremy change this tiddler so it can be disabled and cloned as other shadow tiddlers are? Or is there another workaround I am not thinking of?

Mark S.

unread,
Apr 18, 2020, 2:51:17 PM4/18/20
to TiddlyWiki


On Saturday, April 18, 2020 at 11:45:30 AM UTC-7, David Gifford wrote:

Unfortunately, $:/core/ui/EditTemplate is not like other tiddlers, where you can disable it by removing a tag, and then clone it to create your own version of it. So if I put this up, users will be fine until they upgrade, then their links won't work right. They will show as missing links.


Why can't you disable it? You might have to substitute your version in the list field of $:/tags/EditTemplate as an additional step.

David Gifford

unread,
Apr 18, 2020, 3:12:53 PM4/18/20
to TiddlyWiki
Hi Mark,

There is no tag on that tiddler that I can remove. How do you propose I disable it? And will the disabling process carry over when TW gets upgraded to the next version?

Mark S.

unread,
Apr 18, 2020, 3:32:03 PM4/18/20
to TiddlyWiki
Oops. You're right. It looks like you can change it by changing the contents of:

$:/config/ui/EditTemplate

I suspect that this will survive upgrades.The problem is that then people might not get the benefits of the
upgrade, or might report problems following the upgrade. So people would need to match your files
to the TW version. Perhaps an explanation in your welcome page could help people navigate upgrades.

David Gifford

unread,
Apr 18, 2020, 3:33:34 PM4/18/20
to tiddl...@googlegroups.com
Thank you and thank you, Mark!




--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/DzsX33zprFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5cd6cb93-29f9-4f0c-bc71-490f02a10448%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages