[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-21 Thread Eric Weir
On Apr 21, 2009, at 7:45 PM, Elise Springer wrote: > NIce elegant site! Yes, and so are yours, Elise. Not to take anything away from Judith's at all. It is very nice. Sincerely, -- Eric Weir Decatur, GA USA eew...@bellsouth

[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-21 Thread Elise Springer
NIce elegant site! One further thing you (or others accessing this thread) might want to do, in making a website that is not distracting to people whose reasons for visiting are unrelated to TiddlyWiki, is use the excludeLists tag on anything you don't want in the Index or Timeline, as well as to

[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-21 Thread Ton van Rooijen
Thank you all, for the almost instantanious and complete answers. >From how I formulated my question I think you can imagine that I liked Eric's first answer most. But I surely do appreciate the elaborated additional input. And yes Alex, for web access you would often prefer less TW details, but I

[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-20 Thread Eric Shulman
> readOnly = (document.location.protocol!='file:'); > > The 'location' in document.location is called the javascript location property > Its saying "If the document location protocol, the part of a URL that > is "http:" or "file:" , is UNTURE ("!=" means untrue in Javascript) > then set the variab

[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-20 Thread Alex Hough
I found that once I removed one item for web viewing, i wanted to remove more. This is what I did: ConfigTweaks --- config.options.chkHttpReadOnly = true; readOnly = (document.location.protocol!='file:'); The 'location' in document.location is called the javascript location prope

[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-19 Thread FND
> I have seen things like "Authoring-mode" and other heavy > plugins like "ThemeSwitching" that i.m.o. go far beyond what I need. Just for the record, you don't always need a plugin; you could create a simple read-only mode theme* with a customized ViewTemplate: |ViewTemplateReadOnly|##View

[tw] Re: How to hide tiddler source for visitors over HTTP?

2009-04-19 Thread Eric Shulman
> So, my question is how I can accomplish this simple change through the > "standard API", e.g. with a tiny systemConfig-tagged tiddler? config.commands.editTiddler.hideReadOnly=true; enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~