Permanent settings changes

29 views
Skip to first unread message

tomblond

unread,
Sep 4, 2010, 12:23:22 AM9/4/10
to TiddlyWiki
Hey everyone, I love the idea of TiddlyWikis, and am currently
exploring them. One thing I'm not particularly keen on though is the
way it uses cookies to save changes. As I will use these on many
different computers, I can see this getting annoying. Is there a way
to make settings permanent?

Basically, I want to stop it from saving backups altogether. Is there
some code I can comment out? Or any other way?

Cheers,
Tom

Secret-HQ

unread,
Sep 4, 2010, 5:28:19 AM9/4/10
to TiddlyWiki
Hi, Tom --

I know this is floating around out there somewhere, but I can't find
it off-hand, so I'll just type it here. :P Create a tiddler called
"zOptionsDefaults," give it the tag "systemConfig," and paste this
into it:

/***
!Default User Name
***/
/*{{{*/
config.options.txtUserName = "YourName";
/*}}}*/
/***
!Default Save Options
***/
/*{{{*/
config.options.chkSaveBackups = false;
config.options.chkAutoSave = true;
config.options.txtBackupFolder = "/backup";
/*}}}*/

Editing the values will allow you to "permanently" set them in your
TiddlyWiki, which makes it a little more portable. (Actually, what
happens is that the tiddler resets all the values to what's saved in
it whenever you reload the TW; this means your current session cookies
have all the values you want them to whenever you fire up TiddlyWiki.
That's also why it has the name "zOptionsDefaults" -- so that it's the
last tiddler to load when you open your TW.)

Secret-HQ

unread,
Sep 4, 2010, 7:17:54 PM9/4/10
to TiddlyWiki
I was too addled this morning to find it, but I see someone else asked
the same question and another TiddlyWiker posted this link with all
the specs:

http://tiddlywiki.org/wiki/Persistent_Options
Reply all
Reply to author
Forward
0 new messages