Tuesday, June 10, 2008

Couple of bug fixes

  • Reported by Raúl over on the GTD list - done/close now works when you rename a tiddler.
  • Reported by Chris W - Sync reports change while unplugged when it shouldn't have. This was due to bug in RenameTagsPlugin which Chris also helped locate.
Thanks very much Raúl and Chris. See here for how to update. You only need RenameTagsPlugin and SaveCloseTiddlerPlugin, but there's no harm in fetching them all to make sure you have the latest.

Wednesday, May 14, 2008

Minor MPTW/Tiddlyspot bug

If you created an MPTW on Tiddlyspot in the last two days you might want to get rid of the autosave default in MptwConfigPlugin. Find the following line:

config.options.chkAutoSave = true; // do autosave

and replace it with this:

config.options.chkAutoSave = (window.location.protocol == "file:"); // do autosave if we're in local file


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:
|Name|MyCustomTheme|
|Description|My Custom Theme|
|PageTemplate|MptwTheme##PageTemplate|
|ViewTemplate|MptwTheme##ViewTemplate|
|EditTemplate|##EditTemplateTweaked|
|StyleSheet|##StyleSheet|

!EditTemplateTweaked
<!--{{{-->
<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>
<!--}}}-->

!StyleSheet
/*{{{*/
[[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 <xxx@gmail.com> 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.