[tw] Re: How can I make my [twc] page read only?

2013-12-14 Thread PMario
On Saturday, December 14, 2013 12:12:57 AM UTC+1, Anton Aylward wrote: Suppose I want to write a resume in TW and send the file to the recruiter. Yes, lame, I know, most recrutiers only deal in Word, and the idea of a wiki is beyond them. Heck most seem to chocke if you send them a PDF!

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-14 Thread Anton Aylward
PMario said the following on 12/14/2013 08:51 AM: On Saturday, December 14, 2013 12:12:57 AM UTC+1, Anton Aylward wrote: Suppose I want to write a resume in TW and send the file to the recruiter. Yes, lame, I know, most recrutiers only deal in Word, and the idea of a wiki is

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-13 Thread PMario
uups, sry for the typo :) that's the problem, when you write code, without creating a working test case. On Friday, December 13, 2013 2:47:00 AM UTC+1, Zane B Stein wrote: On another subject: Are there any templates out there that I can offer to the other not-computer-literate staff

[tw] Re: How can I make my [twc] page read only?

2013-12-13 Thread Anton Aylward
A variation on this ... Suppose I want to write a resume in TW and send the file to the recruiter. Yes, lame, I know, most recrutiers only deal in Word, and the idea of a wiki is beyond them. Heck most seem to chocke if you send them a PDF! But suppose. I need to compose on my machine but

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-12 Thread Zane B Stein
Hi, Mario, It does seem to be working. Here is what I did: 1. Under Options on the right I put Zane as the username 2. I created a tiddler called zzConfig and put the following into it: if (config.txtUserName === Zane) { readOnly = false; config.options.chkShowRightSidebar = true; } else if

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-12 Thread Eric Shulman
There's a typo in the code Mario provided: In all places, config.txtUserName ... should be config.options.txtUserName As written, the conditionals will always fall through to the set readOnly and hide sidebar code, since the value of config.txtUserName is *undefined* and thus will never match

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-12 Thread Zane B Stein
On Fri, Dec 13, 2013 at 1:26 PM, Eric Shulman elsdes...@gmail.com wrote: There's a typo in the code Mario provided: In all places, config.txtUserName ... should be config.options.txtUserName As written, the conditionals will always fall through to the set readOnly and hide sidebar code,

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-10 Thread PMario
On Tuesday, December 10, 2013 6:26:02 AM UTC+1, Zane B Stein wrote: Thank you! Zane B Stein You are welcome! Please report back, if it workes as expected. ... or what you did, that worked. Just for reference :) -mario -- You received this message because you are subscribed to the

[tw] Re: How can I make my [twc] page read only?

2013-12-09 Thread PMario
Hi Zane, The answer to your questions is yes. You can do all these things. IMO the reason, why nobody replied yet, is ... it depends on the theme you use. And a little bit on your abilities to use a browsers developer tools, because it may be possible to lock the TW, if something doesn't

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-09 Thread Zane Stein
Thank you! Zane B Stein On 9 Dec 2013, at 18:24, PMario pmari...@gmail.com wrote: Hi Zane, The answer to your questions is yes. You can do all these things. IMO the reason, why nobody replied yet, is ... it depends on the theme you use. And a little bit on your abilities to use

[tw] Re: How can I make my [twc] page read only?

2013-12-08 Thread Zane B Stein
No responses yet. Can someone please tell me at least where I can go to look for the answers to these questions? On Friday, December 6, 2013 11:14:26 AM UTC+8, Zane B Stein wrote: Hi, I just created my first TiddlyWiki page, and want to put it up on the local server so fellow employees