Sunday, March 11, 2007

TiddlyWiki Customization Notes

TiddlyWiki rocks the house, of course. Fantastic tool for a professional diary, and it's been tweaked for all kinds of tasks. I'm experimenting with using it as an content manager for static media, so I want to remove/hide the sidebar (what contains the search, options, tabs, etc):

1. remove the <div> sidebar stuff:
<div id='sidebar'>\n<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>\n<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>\n</div>\n (249:780)

2. recover the space for the content area:
#displayArea {\n margin: 1em 0em 0em 14em;\n} (247:4250)


The search box is the only thing I'm interested in keeping from the sidebar, so I move it to the MainMenu (right sidebar) simply by adding <<search>> to the content of MainMenu.

Because the content of the wiki will be static (it will eventually be the gateway to CD of deliverable documentation), I want to remove the editor and creation/modification date information on tiddler subtitle found on the ViewTemplate:

\n<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date [[DD MMM YYYY]]'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date [[DD MMM YYYY]]'></span>)</div>


I also changed all refs to "tiddler" to "entry" to grow things up a little bit.

I don't like the way the heading are formatted by default, viz. the blue background, so that's the next to go:
background: [[ColorPalette::PrimaryPale]];\n(246,446)

No comments: