As a technical communicator I am aware of the value of content reuse
through "chunking"; breaking down a body of information into
manageable parts that can stand alone or combined and recombined into
useful larger units. TiddlyWiki is an excellent medium for this
approach to information management. Tiddlers are the containers for
the smallest content blocks and renderers for combined content.

Editing is the challenge. Here is a hypothetical example of my nested
tiddler approach:
[[MainMenu]] contains:
    *<<tiddler Favorites>>
    *<<tiddler WikiMarkup>>
        [[WikiMarkup]] contains:
        *<<tiddler Headers>>
        *<<tiddler Lists>>
            [[Lists]] contains:
            *<<tiddler Unordered>>
            *<<tiddler Ordered>>
        *<<tiddler Tables>>
    *<<tiddler Research>>

When [[MainMenu]] renders I see all the notes in all the nested
tiddler quite nicely. But how to I edit [[Ordered]] or [[WikiMarkup]]
when I'm looking at [[MainMenu]]?

The solution I currently tolerate is to put {{{<<tiddler
tiddlerHeader>>}}} at the top of any tiddlers that hold "chunks" of
content. [[tiddlerHeader]] contains: {{{<<tiddler
ToggleSliders>>&#160;<<editTiddler>>}}}. The problem is that
{{{<<editTiddler>>}}} always opens the highest parent tiddler in the
chain, [[MainMenu]] in my example. I have tried various derivatives of
{{{<<tiddler tiddlerHeader with: {{tiddler.title}}>>}}} but always get
an error.

1. Does anyone have a better approach to chunking and editing? Keep in
mind that I want to open a tiddler for editing directly, not open it
to view first. If that were the case then [[ToolbarCommands]] in
[[ViewTemplate]] would suffice. Nested [[ViewTemplate]]s would be
great, e.g. [[ToolbarCommands]] or a simplified version at the start
of each nested tiddler, but I can't imagine how to implement that.

2. How can I pass the title of the tiddler I am editing into
{{{<<tiddler...>>}}}  or {{{<<editTiddler>>}}}? In addition to this
scenario, I have several other contexts where I would prefer to reuse
some kind of code that would evaluate to the name of the current
tiddler so I do not have to specify the tiddler name. For example:

/%
|''Description:''|blah, blah, blah|
|''Benefits:''|<<tiddler TIDDLER_TITLE##Highlights>>|
%/
/%
!Highlights
*stuff
!end
%/

In this example I want to only have to edit the Description line and
the hidden Highlights section, not the Benefits line.

Any help and/or brainstorming would be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to