1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-14 09:36:48 +00:00

Docs: How to customize TiddlyDesktop (#3018)

Adapted from Jeremy's post https://groups.google.com/d/msg/tiddlywiki/KXdrZyr9MZ4/pFPcZtu5DAAJ
This commit is contained in:
Marxsal 2018-11-06 07:35:31 -08:00 committed by Jeremy Ruston
parent 729c1e1030
commit abda6dd078
2 changed files with 34 additions and 2 deletions

View File

@ -1,5 +1,5 @@
created: 20140126125259638
modified: 20171113161541234
modified: 20171118195316103
tags: Definitions Platforms
title: TiddlyDesktop
type: text/vnd.tiddlywiki
@ -16,4 +16,4 @@ TiddlyDesktop is based on the OpenSource project [[NW.js]]. The source is on Git
https://github.com/Jermolene/TiddlyDesktop/
See [[TiddlyDesktop Releases]]
See [[TiddlyDesktop Releases]] and [[How to Customize TiddlyDesktop]]

View File

@ -0,0 +1,32 @@
created: 20171118194518819
modified: 20171118194518819
tags: Learning
title: How to Customize TiddlyDesktop
type: text/vnd.tiddlywiki
!! Prelude/caution:
Before experimenting with TiddlyDesktop internals you should find the location of the “user configuration folder” - click the “Settings” button on the main TiddlyDesktop window, and then click the button “Open user config folder”. Then move up to locate the parent folder, which should be called “TiddlyDesktop”. If things go wrong, you can reset TiddlyDesktop to its factory state by deleting this entire folder.
Click the `Backstage` button on the main TiddlyDesktop window to open the backstage wiki. This is is a Node.js-like instance of TiddlyWiki that runs the UI and logic of TiddlyDesktop.
!! How do I get rid of the "Add a ~TiddlyWiki Folder" button.
Within the backstage wiki, locate the tiddler `WikiListToolbar` (theres a link in HelloThere). Click it into edit mode and youll see the wikitext for all the toolbar buttons. If you make modifications and click “done” then the changes will immediately be reflected in the main TiddlyDesktop window.
!! How would I change the "advanced" button to the "reveal backups" button.
You can copy the code for the “reveal backups” button from the tiddler `$:/TiddlyDesktop/Settings` and paste it into `WikiListToolbar`.
!! How do I change the colors?
Just as usual in TiddlyWiki: you can use the palette, or define your own custom CSS.
!! How do I change the order in which the tiddlers are listed (which appears to be alphabetical)?
Open the `WikiList` tiddler, edit it, and scroll to the end. Then change the `<$list>` widget inside the ''wikilist'' macro:
```
<$list filter="[tag[wikilist]sort[title]!has[draft.of]]" emptyMessage="Add a ~TiddlyWiki file or folder to get started. Click the buttons above to browse, or drag and drop from your file Explorer/Finder" storyview="pop">
```