Losing settings for plugins

93 views
Skip to first unread message

Shango

unread,
Nov 13, 2012, 1:20:31 AM11/13/12
to tiddl...@googlegroups.com
Every once in a while my tiddlywiki loses the settings for all my plugins.  They will all suddenly revert back to default values for some reason.  It is really annoying because I have to go back into each one and set them all back.  I try to go back to a backup tiddlywiki but that doesn't seem to work.  I'm not sure why because where else would the plugin settings be saved if not the tiddlywiki file itself? 

So for example, under backstage / tweak, "Username for signing your edits" suddenly gets set back to "YourName." My custom plugins, AutoTaggerPlugin, FileDropPlugin, etc. all lose their settings.  I keep my tiddlywiki on a flash drive and it is all local (nothing "in the cloud").  Also, I'm using Firefox browser, latest version.  I don't know if that has anything to do with it.  I wish I could solve this issue once and for all because I'm getting tired of it. 

Thanks! 

whatever

unread,
Nov 13, 2012, 8:43:39 AM11/13/12
to TiddlyWiki
Hi!

Plugin settings are basically cookies. Most plugins, as well as TW
itself, set some default values. The changed values are temporary and
get reset to default values when you change computers or clean the
cache. In order for the changed values to persist, you need to make
them permanent. One way is to use either CookieSaverPlugin (1) or
CookieManagerPlugin (2) and simply save all the cookies and options,
or you can do it manually.

Manually, you can do it by putting the cookie name and its value into
a tiddler tagged systemConfig:
config.options.chkDisableAutoSelect=true;

Or, you can use the SystemSettings shadow tiddler (not tagged
systemConfig!), where the syntax is a bit different:
chkDisableAutoSelect: true


(1) http://www.TiddlyTools.com/#CookieSaverPlugin
(2) http://www.TiddlyTools.com/#CookieManagerPlugin

w

whatever

unread,
Nov 13, 2012, 8:45:53 AM11/13/12
to TiddlyWiki
Quick help for some system settings:

Tiddler tagged with systemConfig:
config.options.txtUserName="Shango"; //set username on load
config.options.chkSaveBackups=false; //disable SaveBackups
config.options.chkAutoSave=true; //always AutoSave

OR

SystemSettings shadow tiddler:
txtUserName: "Shango
chkSaveBackups: false
chkAutoSave: true

w

On Nov 13, 2:43 pm, whatever <kbrezov...@gmail.com> wrote:
> Hi!
>
> Plugin settings are basically cookies. Most plugins, as well as TW
> itself, set some default values. The changed values are temporary and
> get reset to default values when you change computers or clean the
> cache. In order for the changed values to persist, you need to make
> them permanent. One way is to use either CookieSaverPlugin (1) or
> CookieManagerPlugin (2) and simply save all the cookies and options,
> or you can do it manually.
>
> Manually, you can do it by putting the cookie name and its value into
> a tiddler tagged systemConfig:
> config.options.chkDisableAutoSelect=true;
>
> Or, you can use the SystemSettings shadow tiddler (not tagged
> systemConfig!), where the syntax is a bit different:
> chkDisableAutoSelect: true
>
> (1)http://www.TiddlyTools.com/#CookieSaverPlugin
> (2)http://www.TiddlyTools.com/#CookieManagerPlugin

PMario

unread,
Nov 13, 2012, 9:45:27 AM11/13/12
to TiddlyWiki
Have a look at:
http://tiddlywiki.com/#PersistentOptions

have fun!
mario

Shango

unread,
Nov 14, 2012, 9:09:02 AM11/14/12
to tiddl...@googlegroups.com
Thanks everyone for the great feedback!  I think I'm going to try one of
> (1)http://www.TiddlyTools.com/#CookieSaverPlugin
> (2)http://www.TiddlyTools.com/#CookieManagerPlugin

because I want to save the setting for FileDropPlugin which has a block of text with multiple lines, etc. for one of the options.  The PersistentOptions route might be more trouble to figure out how to make work with that. 

Thanks! 
Reply all
Reply to author
Forward
0 new messages