SinglePageModePlugin help

13 views
Skip to first unread message

Sridhar

unread,
Jan 30, 2008, 5:37:21 PM1/30/08
to TiddlyWiki
This works perfectly when working locally but seems in-effective when
the page is viewed over http.

Do I need to change any specific setting?

-Sridhar

Eric Shulman

unread,
Jan 30, 2008, 5:51:35 PM1/30/08
to TiddlyWiki
SinglePageMode is activated by an option setting:
<<option chkSinglePageMode>>
by default, this option is OFF, so that the standard, multi-tiddler
display is used.

Options are stored as domain-specific *cookies*. When viewed locally,
your TW document is in the "file://" domain. When viewed on-line, the
document is in a different domain. Thus, the same document has
different option settings depending upon where it is placed.

To make the chkSinglePageMode option 'sticky' so that it is applied to
the document regardless of cookie values, do the following:

* create a tiddler (e.g. [[ConfigTweaks]]) containing:
config.options.chkSinglePageMode=true;
* tag this tiddler with "systemConfig" (makes it a plugin)
* save-and-reload

From then on, regardless of any cookie value, your document will
always be opened with SinglePageMode active. After the document is
loaded, you can clear the <<option chkSinglePageMode>> checkbox to use
multi-tiddler display, but that setting will be ignored the next time
you load the document.

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Reply all
Reply to author
Forward
0 new messages