> I am relatively new to tiddly and I am still struggling with the
> basics. I have a problem with the SinglePage plugin. I've searched
> here on the groups but I didn't find an answer.
>
> In my offline working version the plugin works fine. However in my
> published version on a server the plugin fails and every tiddler opens
> on top of others. The two versions are the same, no differences.
>
> Any ideas?
By default, the plugin's primary feature ("show one tiddler at a
time") is not enabled until you have checked the <<option
chkSinglePageMode>> checkbox. Once you have selected this checkbox,
the single-page behavior is activated...
Note, however, that *all* TiddlyWiki checkbox settings are stored as
*cookies*, which are local to *your* browser and are not shared by
visitors to your online website. Cookies are also specific to the
location from which the document is being viewed, so a TW document
opened from a file://... URL will not share settings with that same
document when uploaded and then viewed from an online http://... URL.
The way to make things work is to store a *hard-coded* setting
directly in the document itself, rather than as a cookie in your
browser. To do this, you can create a tiddler, e.g., [[CookieJar]],
that is tagged with 'systemConfig', and a simple javascript assignment
statement, like this:
--------------
config.options["chkSinglePageMode"]=true;
--------------
Each time the document is loaded, regardless of the location, browser,
or user, the 'chkSinglePageMode' setting will be enabled by the above
statement. This ensures that *everyone* will get this same setting
every time they visit the page, even if they have changed the setting
during a previous session, or have never been to the site before at
all.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--
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.