theSherwood / Mentat

A UI plugin for Tiddlywiki. Mentat: https://thesherwood.github.io/Mentat/ TiddlyWiki: https://tiddlywiki.com/
15 stars 2 forks source link

How to not overwrite the core tiddlers #16

Closed kookma closed 1 year ago

kookma commented 5 years ago

Please have a look at

(https://groups.google.com/d/msg/tiddlywiki/zpzMoGUGM0g/_u1DT6V4BwAJ) Is it possible to use this feature to NOT overwrite any of core tiddler including those overwritten by Volant?

As Jeremy recommend it is better to not overwrite the core tiddlers.

theSherwood commented 5 years ago

Are you referring to how Volant overwrites $:/core/ui/EditTemplate and $:/core/ui/ViewTemplate? I don't have a good idea at this point of how to avoid overwriting them. The discussion you linked to addresses the issue of expanding/overwriting widgets. But the reason I'm overwriting those core tiddlers is to wrap all their contents in a div. I haven't found any other way of doing this but overwriting the templates, or possibly making new tiddlers templates and overwriting the page template to include them instead of the core tiddler templates. In either case, something gets overwritten.

If you have any ideas how I can avoid this issue, I'd love to hear about it. But we may just be stuck until a more easily configurable templating system comes around.

kookma commented 5 years ago

I think if Mentat use its own theme, then it should be okay! By the way, I recommend to raise the question to Jeremy!