Re: SinglePageMode not working online?

63 views
Skip to first unread message

PMario

unread,
Aug 23, 2012, 6:03:38 AM8/23/12
to TiddlyWiki
SinglePageModePlugin uses several config.option variables, that can be
defined with cookies. If you set them from a file:// url they are only
set at your computer.

<<option chkSinglePageMode>> Display one tiddler at a time
<<option chkSinglePagePermalink>> Automatically permalink current
tiddler
<<option chkSinglePageKeepFoldedTiddlers>> Don't close tiddlers that
are folded
<<option chkSinglePageKeepEditedTiddlers>> Don't close tiddlers that
are being edited
<<option chkTopOfPageMode>> Open tiddlers at the top of the page
<<option chkBottomOfPageMode>> Open tiddlers at the bottom of the page
<<option chkSinglePageAutoScroll>> Automatically scroll tiddler into
view (if needed)

To set them permanently create a tiddler eg: zzConfig and tag it
systemConfig.

add eg:
// Display one tiddler at a time
config.options.chkSinglePageMode = true;

====
// starts a javascript comment and is ignored by TW core. It's just
for documentaiton.
To define the others just adjust the chk??? name

====
config.options.chkSinglePageMode = true;

sets the value. true is checked and false is unchecked option.

====
If you use FireFox brwoser, be sure to do a "shift" page reload, after
uploading to tiddlyspot. So the browser cach is not used. I do have
trouble some time with FF caching.

hope this helps
have fun!
mario

William

unread,
Aug 24, 2012, 6:57:52 AM8/24/12
to tiddl...@googlegroups.com
Perfect, thanks!
Reply all
Reply to author
Forward
0 new messages