This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.

Ex:SelectiveButtonDisplay/answer

 22nd August 2020 at 2:26pm

The template $:/core/ui/PageTemplate/pagecontrols is responsible for actually rendering these controls. In here, you'll find, among other lines:

\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end
[...]
<$set name="hidden" value=<<config-title>>>
<$list filter="[<hidden>!text[hide]]" storyview="pop" variable="ignore">
[...]

Thus, if the tiddler $:/config/PageControlButtons/Visibility/NameOfYourButtonTiddler has content of hide, the button isn't transcluded onto the toolbar. Toggling the checkbox next to your button on the Tools tab of the sidebar will change the contents of this tiddler, thus hiding or showing it.

Go to question: Ex:SelectiveButtonDisplay