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"
}
]
On Friday, September 25, 2020 at 5:37:19 AM UTC-5 Ton Gerner wrote:
> 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
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5ed15ff8-784b-4624-9a29-bbf92e4f1e60n%40googlegroups.com.