On Sep 11, 1:52 am, Amzg <
matiasg...@gmail.com> wrote:
> I've managed to prevent actual editing from visitors on a public TW,
> but is there any way to simply make it impossible for them to even go
> into "view" mode?
> I.e "double click" causing nothing.
> No "view" menu option, and actually no "more" either preferably?
Edit the slice table in the shadow tiddler, [[ToolbarCommands]].
The individual slices (table rows) define the toolbar content for the
ViewTemplate and EditTemplate, respectively.
If a toolbar command is preceded by "+", it is associated with the
double-click action. By default, the ViewTemplate toolbar includes
"+editTiddler"... if you remove the "+", then no double-click action
will be performed. If you remove the entire "+editTiddler" entry in
the list, the "view/edit" menu will be omitted from the toolbar.
The "more" stuff is also defined in the same [[ToolbarCommands]] slice
table... look for a ">" symbol. When the toolbar is actually
rendered, that symbol is automatically replaced with "more", and the
rest of the commands that follow it are hidden until you click on the
"more" link. If you want to completely eliminate all of the "more"
command items, just remove the ">" and everything after it from the
appropriate slice definition in [[ToolbarCommands]].
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios