SinglePageModePlugin

4 views
Skip to first unread message

infopro247

unread,
Mar 11, 2008, 5:14:52 PM3/11/08
to TiddlyWiki
I made a tiddlywiki and posted it to http://riverbend.tiddlyspot.com/,

When I view it offline, everything works-- I want each tiddler to open
at the top of the screen and only one to open at a time.

When it is uploaded, sometimes it works and more often it does not.

Can I force it to open one at a time?

Eric Shulman

unread,
Mar 11, 2008, 5:24:07 PM3/11/08
to TiddlyWiki
The TW option settings are stored as cookies, which are specific to
the individual browser installation *and* the domain on which the
document is hosted.... and, of course, "file://" is a different
domain from http://riverbend.tiddlyspot.com. Thus, they can have
different values for this setting.

To set the option for SinglePageModePlugin so that it is *sticky*
(i.e., it travels *with* the document, rather than being associated
with your individual browser installation):

Create a tiddler (e.g., [[ConfigTweaks]] or [[CookieJar]]), tagged
with "systemConfig", containing this one line of javascript:
----------------
config.options.chkSinglePageMode=true;
----------------
This will supercede the cookie value stored with the browser and
*always* enable single-page mode, for all visitors, regardless of the
hosting location for the document.

enjoy,
-e

infopro247

unread,
Mar 11, 2008, 8:25:25 PM3/11/08
to TiddlyWiki
That did it! Thanks

Reply all
Reply to author
Forward
0 new messages