How to make the tiddlywiki only can be edit in some of the ip or the read only mode?

168 views
Skip to first unread message

imleg...@gmail.com

unread,
Sep 24, 2020, 10:33:03 PM9/24/20
to TiddlyWiki
Sometime my tiddler will be shared with others, but I don't want them to modify it. 
How to make the tiddler only can be edited on my pc, or share others with the 'read only' mode. I do some search just find a post created in 2014. Any progress now? 

Birthe C

unread,
Sep 25, 2020, 2:13:40 AM9/25/20
to TiddlyWiki

Birthe C

unread,
Sep 25, 2020, 2:55:03 AM9/25/20
to TiddlyWiki
Also look at Mats http://publicsidebar.tiddlyspot.com/  that will show a sidebar menu after the location of your file.


On Friday, September 25, 2020 at 4:33:03 AM UTC+2, imleg...@gmail.com wrote:

imleg...@gmail.com

unread,
Sep 25, 2020, 4:05:57 AM9/25/20
to TiddlyWiki
Thank you. 

I install the plugin but still don't know how to hide the pre-defined button, where is the pre-defined button? 
I Can't see any changes after install the plugin.  Can you give me a simple tutorial? 

Ton Gerner

unread,
Sep 25, 2020, 6:37:19 AM9/25/20
to TiddlyWiki
Hi

Since you mention 'predifined button', I assume you did install the 'simple readonly' plugin.
If you refresh your wiki after installing that plugin, a 'publish' button (square with pencil) will be available next to the hide/show sidebar button (top right).
Clicking that button openes a separate window with 4 tabs.
Do read the Help tab (the tutorial you asked for) carefully before proceding.
Carry out the mentioned steps and reload your wiki after the last step (save).

Hope that helps.

Ton

Cade Roux

unread,
Sep 25, 2020, 3:02:14 PM9/25/20
to TiddlyWiki
FWIW, if you have a process or something for publishing your wiki in another place for people to download, what I do is have a set of tiddlers that I import (ReleaseMode.json) during my build/publish process that turn off a bunch of buttons and UI elements, so I build a user version and an editor version using the nodejs tiddlywiki which has already been loaded with the master template:

tiddlywiki "Data Mart User Manual" --import ReleaseMode.json application/json

Obviously this technique can be enhanced (all these tiddlers are actually tagged in my full version so they can be deleted automatically).  Macros and other parts of your Wiki can look for the ReleaseMode tiddler to see if it's in Release Mode or not (perhaps to show some tiddlers differently).

[{
    "title" : "ReleaseMode"
    ,"text" : "# This Wiki is in Release mode"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/control-panel"
    ,"text" : "hide"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler"
    ,"text" : "hide"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki"
    ,"text" : "hide"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/config/PageControlButtons/Visibility/$:/plugins/tiddlywiki/markdown/new-markdown-button"
    ,"text" : "hide"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit"
    ,"text" : "hide"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions"
    ,"text" : "hide"
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/core/ui/SideBar/More"
    ,"text" : ""
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/core/ui/SideBar/Tools"
    ,"text" : ""
    ,"type" : "text/vnd.tiddlywiki"
}
,{
    "title" : "$:/core/ui/SideBar/Recent"
    ,"text" : ""
    ,"type" : "text/vnd.tiddlywiki"
}
]

J Haddon

unread,
Sep 25, 2020, 4:07:33 PM9/25/20
to TiddlyWiki
I have a similar question---

I'd like to make it so only some of the tiddlers in a stand-alone file are not editable, but the recipient can still add / edit / etc to the wiki. So there is a base set of tiddlers that remain constant, but the functions of the wiki are otherwise available.

is this possible?

(Understanding that with a text editor anything can be edited....)
Reply all
Reply to author
Forward
0 new messages