Line return within double brackets

184 views
Skip to first unread message

ran...@cloudburstpoetry.com

unread,
Jul 20, 2010, 3:16:28 PM7/20/10
to tiddl...@googlegroups.com
Thanks ahead of time to a tremendous support group for TW.

I'm putting up a little website for a friend, located here for now:

http://engesetre.randal.fastmail.fm

Some of the menu items are long, with two or three words, and need to be
divided into two lines, but how do I insert a line return within the
brackets?

[[Recursos Humanos]]

And while I'm at it, how do I get the right column to disappear by
default when online? The instructions I read appeared to be out of date,
with some of the plugin code having been adopted into the TW code, I
think.

Randal Matheny
Sao Jose dos Campos (SP) Brazil

Eric Shulman

unread,
Jul 20, 2010, 4:34:18 PM7/20/10
to TiddlyWiki
> And while I'm at it, how do I get the right column to disappear by
> default when online? The instructions I read appeared to be out of date,
> with some of the plugin code having been adopted into the TW code, I
> think.

You are attempting to apply
http://www.TiddlyTools.com/#ToggleRightSidebar
but have not installed it properly...

1) The content in the "Configuration" section of ToggleRightSidebar is
informational only and simply documents the names and default values
for the available settings. To apply *non-default* settings for
ToggleRightSidebar, you need to create a separate tiddler (e.g,
"ConfigTweaks") containing the desired assignment statement:
config.options.chkShowRightSidebar=false;
and then tag *that* tiddler with 'systemConfig' so that when you
reload your document, the ConfigTweaks are invoked, and the desired
value is set for the current session

2) ToggleRightSidebar is a *transclusion*. This means that it's
functionality is only invoked when the content is *rendered* somewhere
in your document by "transcluding" (i.e., embedding) it via the
<<tiddler>> macro. For example, you could add the following to your
[[MainMenu]]:
<<tiddler ToggleRightSidebar>>

Because MainMenu content is always rendered during startup, embedding
ToggleRightSidebar ensures that it is invoked as soon as the document
is loaded, so that the initial display state of the sidebar (based on
the setting in your ConfigTweaks) is actually applied. It also
provides a convenient, fixed location for the ">" (or "<") command,
allowing you to toggle the sidebar whenever you want.

Note: In order to keep transclusion tiddlers as small as possible, the
documentation for most transclusions is minimal. Although this can be
sufficient for some, it is obviously not adequate for
ToggleRightSidebar, and I really need to re-write the documentation to
provide proper installation/usage instructions.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Tobias Beer

unread,
Jul 21, 2010, 5:34:30 AM7/21/10
to TiddlyWiki
I like the style of your topmenu... it's quite classy.
Reply all
Reply to author
Forward
0 new messages