Thank you Mario and Eric.
I will give both alternatives a try. Eric's seems to be the easier way
to me. Marios/Tobias' solution has the advantage that those undwanted to
make changes do not see the commandbar at all preventing them from
frustration.
Am 14.12.2013 18:05, schrieb Eric Shulman:
On Saturday, December 14, 2013 1:16:43 AM UTC-8, Jan wrote:
Is it possible to make certain tiddlers read-only, e.g. those
necessary to make the whole wiki work?
Yes... using these plugins:
http://www.TiddlyTools.com/#TiddlerPasswordPlugin
http://www.TiddlyTools.com/#TiddlerPasswordPluginConfig
http://www.TiddlyTools.com/#TaggedTemplateTweak
1) install the above plugins
2) create a tiddler called [[LockedEditTemplate]], containing:
----------------------
<span macro="getTiddlerPassword">
[[EditTemplate]]
----------------------
3) Edit the TiddlerPasswordPluginConfig (change default "admin"
password to some other password)
4) Tag desired tiddlers with "locked"
When you try to edit a 'locked' tiddler, the alternative
LockedEditTemplate is used, which invokes the <<getTiddlerPassword>>
macro *before* rendering the editor controls. If the incorrect
password is entered, you are prompted to try again, until either the
correct password is input or you cancel the password prompt dialog.
If you cancel the password dialog, the tiddler you were trying to
edit is automatically closed, thus preventing you from editing it. If
you enter the correct password, the tiddler editor is displayed and
you can proceed to edit the content as usual.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
EVERY DONATION IS IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://TiddlyTools.github.com/fundraising.html#MakeADonation
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
You received this message because you are subscribed to the Google
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.