Thanks Mike, I understand. I will follow up your tips about setting
passwords.

In the meantime it occurred to me that I don't need something as
complicated as passwords to get started in my project, though I can
see some use for it later on. So thanks for the tip.

Locking tiddlers is great when the page is online and visited by
strangers, but can be inconvenient when I am editing the page! The
ability to lock tiddlers when online and unlock them when offline
would be a great improvement.

I have made two unsuccessful attempts to combine the tag with the
location protocol:

Attempt 1:
<span macro="hideWhenTagged Locked || window.location.protocol!
="file:""></span>

Attempt 2:
<span macro="hideWhen tiddler.tags.contains('Locked') ||
window.location.protocol!='file:'"></span>

I fiddled with the single and double quotes (the examples I based my
code on seem to use either indifferently).

The idea is just this: if the file is online, hide the "edit" box for
all tagged tiddlers, but if the file is offline, show the "edit" box.
Can the code I have given be fixed?

Thanks,

Patrick.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to