> @ken or anyone (help!)
> i am thoroughly confused now.
> i set
> config.options.chkHttpReadOnly = true;
> readOnly = true;
> and now i can't edit the file anymore offline or online!
First, in order to fix your document, you need to bypass the tiddler
in which you set the above. To do this, open a *local* copy of the
document in 'safe' mode by adding
#start:safe
to the end of the URL and reloading the page.
Next, go to the tiddler with your errant settings, and change this:
readOnly = true;
to this:
readOnly = (document.location.protocol!='file:');
Save-and-reload... you should now be able to edit the document
normally again.
Note: instead of looking for "file:", you could set/clear the readOnly
flag for a specific TW username... like this:
readOnly = (config.options.txtUserName!='JohannesK');
This way, regardless of whether you are online or offline, *you* will
always be able to edit the document, while everyone else will always
get a readOnly rendering (unless, of course, they set *their* username
to 'JohannesK').
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios