Thanks Mike for your quick reply:
With the MptwTheme, I inserted on single line inspired from your code:
<span macro="hideWhenTagged lockedTiddler">
into the ViewTemplateToolbar section of the MptwTheme tiddler. I
summarize the relevant part of the code below:
!ViewTemplateToolbar
<div class='toolbar'>
<span macro="hideWhenTagged lockedTiddler">
<span macro='toolbar editTiddler closeTiddler'></span>
</div>
This does remove the "edit" button altogether and achieves my stated
objective.
I'm not sure what the other code you describe does. I created a
suspendToolbar tiddler as you describe and inserted the following
adaptation of your code into the ViewTemplateToolbar:
<span macro="showWhenTagged suspend">
<span macro='toolbar' macro='toolbar
[[ToolbarCommands::suspendToolbar]]'></span>
</span>
but it didn't work. Likewise editing the ToolbarCommands has no effect
under the MptwTheme. Also: not sure what part of Core Tweaks you are
referring to.
Relatedly, is there a way to make the "edit" button request a password
before allowing editing?
many 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
-~----------~----~----~----~------~----~------~--~---