Friday, April 25, 2008

Changing the default theme

So let's say you've followed the example in the previous post and created your custom theme. How do you make it the default theme when you start up?
  • Under tags tab click systemConfig
  • Open and edit MptwUserConfigPlugin
  • Paste in this:
config.options.txtTheme = 'MyCustomTheme';
  • Save and reload

Another method for changing your edit template

This is more advanced and serves as a guide on installing your own tweaks as a theme.
  • Under tags tab click systemTheme
  • Click 'new here' and create 'MyCustomTheme'
  • Paste in the following:
|Description|My Custom Theme|

<div class="toolbar" macro="toolbar +saveTiddler saveCloseTiddler closeOthers -cancelTiddler cancelCloseTiddler deleteTiddler"></div>
<div class="title" macro="view title"></div>
<div class="editLabel">Title</div><div class="editor" macro="edit title"></div>
<div macro='annotations'></div>
<div macro="showWhenExists EditPanelTemplate">[[EditPanelTemplate]]</div>
<div class="editLabel">Tags</div><div class="editor" macro="edit tags"></div> <!--- moved this above content --->
<div class="editorFooter"><span macro="message views.editor.tagPrompt"></span><span macro="tagChooser"></span></div>
<div class="editLabel">Content</div><div class="editor" macro="edit text"></div>

[[MptwTheme##StyleSheet]] /* include MPTW styles */

.title { color:red; } /* or whatever */


  • Click done
  • Under options >> click 'select theme' and select your new theme
Notice that we're using the ViewTemplate and PageTemplate from the original MptwTheme. Cool huh? This kind of stuff has only become possible since TiddlyWiki 2.3.

How to move your tags edit box back up above the tiddler content

Actually it used to be there but I moved it back to the bottom so as to be less different from standard TiddlyWiki. Here's what to do:
  • Under tags tab click systemTheme
  • Click MptwTheme and edit it
  • Scroll down to the EditTemplate section
  • Swap the order of these two lines:
<div class="editLabel">Content</div><div class="editor" macro="edit text"></div>
<div class="editLabel">Tags</div><div class="editor" macro="edit tags"></div>

  • Click done

MPTW in Outlook Today

See here.
Notice the screenshot. Looks very much like an MPTW.

Update: fixed link. Thanks Ken.

Thursday, April 24, 2008

Tags not showing in tags tab

On Thu, Apr 24, 2008 at 7:47 AM, John <> wrote:
When a tag name is first cap, it shows in the dropdown list, but not in the left side menu "tags" section.
A few people ask about this so I will cc this to the blog. The full tags list is available under the "More" tab.  There is a reason for this behaviour - if you use tags to structure your tiddlers hierarchically then your tags list will quicky become long and mostly useless. The convention of using lowercase for tags that are "just tags" along with the filtered TabTags reduces this tendancy. If you want to restore the default behaviour and list every tag in the main tags tab then simply delete a tiddler called TabTags. This will revert to the shadow TabTags and you will get the full list.

Saturday, April 12, 2008

ToggleTagPlugin updated

Using toggleTag macro normally doesn't set the tiddler modified date. Now it can optionally. Changeset details here. You probably don't need to get this update. It's mainly for the benefit of MonkeyGTD, so that your done actions can be sorted nicely by the date they were done.

Thursday, April 10, 2008

The other usual place

The other usual place is here. You can even see the change in trac if you're interested.

NewMeansNewPlugin Update

Alex Hough points out on the TiddlyWiki group that if you have an unsaved new tiddler open for edit, clicking new tiddler (with NewMeansNewPlugin installed of course) won't give you a new tiddler. Since new means new, this had to change. And now new really means new. Phew. Thanks Alex. To get this update import NewMeansNewPlugin from the usual place[1]. Or copy and paste from the usual place[2].


Now last time I updated MPTW it broke MPTW site creation on Tiddlyspot. So I'm off to test that now...

... yep (but fixed now). It's something to do with dos style newline chars. a) They're getting introduced somewhere and b) the r4tw as used by Tiddlyspot doesn't handle them properly. Darn it. Am considering a rewrite of r4tw in python since, a) it could use a rewrite, b) I could learn python, c) Google AppEngine is python and d) it might be useful to Chris Dent for TiddleWeb (which is also python). Numerous signs are pointing in the direction of python at the moment.