(tw5) tiddlywiki on node.js - howto control where tiddlers (and plugins) are stored, i.e. folder and file

199 views
Skip to first unread message

ch

unread,
Sep 12, 2015, 9:00:22 AM9/12/15
to TiddlyWiki
hi,

i created an empty tiddlywiki on node.js with the following command:

tiddlywiki mynewwiki --init server

...and started it with:

tiddlywiki mynewwiki --server

...now it's possible to access mynewwiki by pointing my browser to url:


i can view, create and edit tiddlers.

but, i want to be able to control where tiddlers are saved, now it seems to be a flat file structure where all tiddlers are stored in the "/tiddlers" folder, see:

http://tiddlywiki.com/#TiddlyWikiFolders

by default, newly added plugins also seems to be stored in the "/tiddlers" folder.

is it possible to change this behaviour? and instead save plugins in the "/plugins" folder and control exactly in which folder a new tiddler will be stored?

please note that i have limited experience about tw, so a detailed step-by-step guide is highly appreciated.

kindly,
christian

Ben H.

unread,
Sep 13, 2015, 5:52:02 PM9/13/15
to TiddlyWiki
There is currently no way to specify where new tiddler files are saved, regardless of type. If you manually move a tiddler, TW *should* remember where it was loaded from, and save changes to that file. You will need to organize them manually.

If you are doing everything through TW itself, rather than meddling in the source code or creating new plugins, I wouldn't bother moving them around on disk. Simply encode the hierarchical structure in the names of the actual tiddlers, like "folder/subfolder/tiddlername".

Reply all
Reply to author
Forward
0 new messages