Hi ch I’m afraid that default-tiddler-location only affects the location for saving new tiddlers; it doesn’t affect the location from which tiddlers are read at startup. The docs could perhaps be clearer:
https://tiddlywiki.com/#tiddlywiki.info%20Files I don’t think that the core currently supports what you’re trying to achieve, but there has been some recent discussion on GitHub that is relevant: https://github.com/Jermolene/TiddlyWiki5/pull/3411 <https://github.com/Jermolene/TiddlyWiki5/pull/3411> What is your motivation for the change? Many thanks, Jeremy. > On 8 Oct 2018, at 12:32, ch <[email protected]> wrote: > > hi xavier, > > thanks for the pointer to the default-tiddler-location in the > tiddlerwiki.info <http://tiddlerwiki.info/> file (i didn't know it > existed)... however, it that option doesn't work at all with Tiddlywiki on > Node.js! > > if a configure like this: > > "config": { > "default-tiddler-location": "tiddlers" > }, > > i.e. which is the "default" configuration - everything works as expected > (with or without customising tiddler file naming) > > so, then i tried to change from "tiddlers" to "tiddlers2" without > "customising tiddler file naming": > > i.e. > > "config": { > "default-tiddler-location": "tiddlers2" > }, > > then, the "story list" (i.e. "$__StoryList.tid") is not handled correctly, > nor any other TiddlyWiki configurations you can do, like "default tiddlers" > (i.e. "$__DefaultTiddlers.tid") once i refresh (or restart the Node.js > session) - tiddlywiki doesn't seem to recognise the "story list", so it > creates another one named "$__StoryList 1.tid"), and another file for the > "default tiddlers" named "$__DefaultTiddlers 1.tid"... > > so, the "default-tiddler-location" configuration option in the > "tiddlywiki.info <http://tiddlywiki.info/>" file is sadly broken :-( > > i've tested this with Node.js ver 8.11.1 on Tiddlywiki ver 5.1.17 for Windows > 7 (the target platform i need to get this working on). > > i also tried "customising tiddler file naming", but that's broken as well > (the "$:/config/FileSystemPaths.tid" seem to be completely ignored). > > but, if i put a "$:/config/FileSystemPaths.tid" file in directory > "tiddlers/_system/config" with "default-tiddler-location" set to "tiddlers2", > and the content of "FileSystemPaths.tid" is: > > ``` > [is[system]removeprefix[$:/]addprefix[_system/]] > [!has[draft.of]] > ``` > the "customising tiddler file naming" seem to work (the tiddlers are stored > in directory hierarchy as configured by the "$:/config/FileSystemPaths.tid" > file), but suffers from the same problem as mentioned above with the "story > list" - so that's broken, as well. > > i didn't bother to get "default-tiddler-location" set to "." to work (which > is what i want), since this configuration i've used in this example must work > before i change the "default-tiddler-location" to the current directory... > > cheers! > > > Den sön 7 okt. 2018 kl 12:14 skrev Xavier Cazin <[email protected] > <mailto:[email protected]>>: > Hi ch, > > I meant to ".", not to "..", sorry. > > -- Xavier > > > On Sun, Oct 7, 2018 at 12:12 PM Xavier Cazin <[email protected] > <mailto:[email protected]>> wrote: > Hello ch, > > Maybe you can try to set a default-tiddler-location configuration option to > ".." in the tiddlywiki.info <http://tiddlywiki.info/> file (see > https://tiddlywiki.com//#tiddlywiki.info%20Files > <https://tiddlywiki.com//#tiddlywiki.info%20Files>) ? > > Regards, > -- Xavier Cazin > > > On Thu, Oct 4, 2018 at 6:33 PM ch <[email protected] > <mailto:[email protected]>> wrote: > hi, > > this is a feature i've wanted for a long time but never asked the friendly > TiddlyWiki community for help, but i really need your help with this question > - because i don't know how to accomplish this feature. > > - if you already understand what i want to accomplish, you can stop reading > here - if not, continue to read my elaborated example below: > > > so, the help option for running TiddlyWiki on Node.js gives you: > > $ tiddlywiki --help > usage: tiddlywiki [<wikifolder>] [--<command> [<args>...]...] > > ...and once you have initialized your demo wiki with: > > $ tiddlywiki demo --init server > > ...you can startup your new TiddlyWiki with: > > $ tiddlywiki demo --server > > ...and visit http://127.0.0.1:8080/ <http://127.0.0.1:8080/> in your favorite > browser and start editing and creating tiddlers. > > by default, the configuration for storing tiddlers are always in the > "<wikifolder>/tiddlers", i.e. in this case "demo/tiddlers" - i want the > tiddlers to be stored in the wikifolder (or another named directory, for > example "src" or "doc"), i.e. in this case the "demo" directory - is that > possible? i've never stumbled on any configuration option that makes this > possible. > > if this is an easy configuration option - i also want it to be compatible > with customising tiddler file naming, i.e. > > https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming > <https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming> > > > kind regards, > > ch > > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/CALyWh22Khp2RJmTjAbF6PrJ4%2Bqyu34ReZLYKmgR3cnv5LiuuWA%40mail.gmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/CALyWh22Khp2RJmTjAbF6PrJ4%2Bqyu34ReZLYKmgR3cnv5LiuuWA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/CADeSwYM4k8QC_XTXwge7ALSat1bB-DXDXWv7Ap%3Daz7p5Wugw%3DA%40mail.gmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/CADeSwYM4k8QC_XTXwge7ALSat1bB-DXDXWv7Ap%3Daz7p5Wugw%3DA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/CALyWh22wDq-LHWWkqhTqoK6ofXc5LEXkkCp_rY2_m4cTp24KmA%40mail.gmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/CALyWh22wDq-LHWWkqhTqoK6ofXc5LEXkkCp_rY2_m4cTp24KmA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/D57056BD-A587-4C7C-B85F-6F1D72AC2BB3%40gmail.com. For more options, visit https://groups.google.com/d/optout.

