For anybody reading this on the mailing list, I made some substantial 
changes to the code I posted earlier (see above). Please use this version 
instead: 

<$button>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/control-panel"
 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import" 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions"
 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone" 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here" 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler"
 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki" 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions"
 
text="hide"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit" 
text="hide"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/More" 
tags="-$:/tags/SideBar"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Tools" 
tags="-$:/tags/SideBar"/>
<$action-setfield $tiddler="$:/core/ui/ViewTemplate/tags" 
tags="-$:/tags/ViewTemplate"/>
Hide Admin Controls
</$button>

<$button>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/control-panel"
 
text="show"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import" 
text="show"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions"
 
text="show"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone" 
text="show"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here" 
text="show"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler"
 
text="show"/>
<$action-setfield 
$tiddler="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki" 
text="show"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions"
 
text="show"/>
<$action-setfield 
$tiddler="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit" 
text="show"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/More" 
tags="$:/tags/SideBar"/>
<$action-setfield $tiddler="$:/core/ui/SideBar/Tools" 
tags="$:/tags/SideBar"/>
<$action-setfield $tiddler="$:/core/ui/ViewTemplate/tags" 
tags="$:/tags/ViewTemplate"/>
Show Admin Controls
</$button>

{{$:/core/ui/Buttons/save-wiki}}

Cheers,

Stef

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1af129f8-82e5-4f29-a8b4-fe8638d0e287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to