Unable to save the default settings while hosting on node.

43 views
Skip to first unread message

Prestige

unread,
Nov 21, 2020, 6:14:43 AM11/21/20
to TiddlyWiki
Hello all,


Quoting my problem exactly as there:

Whatever changes I make in the wiki get refreshed as soon as I kill the server and start again. How can I make the changes stay?
I cannot save and retain the changes:
  • The WikiTitle and Subtitle
  • The theme tweaks - like the sidebar width and tiddler width.
  • even the changes mentioned in the fix.
How to save it and retain everytime I run the wiki?

Kindly help :)
Prestige

Joshua Fontany

unread,
Nov 23, 2020, 2:10:54 AM11/23/20
to TiddlyWiki
You need to include the following in the "plugins" array in your tiddlywiki.info file:

"tiddlywiki/filesystem",
"tiddlywiki/tiddlyweb"

This causes the node server to load "tiddlywiki/filesystem" as its syncadaptor, while the wiki in the browser loads "tiddlywiki/tiddlyweb" as its syncadaptor.

This allows saving back to disk any chages made in the browser.

Best,
Joshua Fontany

Reply all
Reply to author
Forward
0 new messages