Hello Claudio... Welcome to TiddlyWiki!

> I installed SinglePageModePlugin and think that it is working when
> accesing the file
> directly. However, the page does not work in single page when accessed
> through the web.

The setting that activates 'single page mode' is stored in a browser
cookie, which is location-specific.  Thus, there is a separate setting
for each place from which the document is loaded (e.g., file:// vs
http://).  In order to 'hard-code' the setting for a given document,
start by creating a tiddler called [[CookieJar]], tagged with
'systemConfig', containing:
   config.options.chkSinglePageMode=true;
Then, save-and-reload your document, so that the above line can be
invoked during startup.  From then on, the document will default to
using single page mode, regardless of whether or not a browser-cookie-
based setting is present.

> PS: this is the script I have in the wiki file :
>
> version.extensions.SinglePageModePlugin= {major: 2, minor: 9,
> revision: 6, date: new Date(2008,10,17)};
...

I notice that your message contains only the *code* portion of
SinglePageModePlugin. I hope this doesn't mean that you only copied
that part of the plugin into your document...

In order to properly install a plugin, you must copy *all* of the
plugin content... not just the code part... and the *best* way to
install a plugin is to use the built-in 'backstage>import' feature to
'pull' the complete tiddler directly from the remote document, rather
than relying upon a manual cut-and-paste method.

Also, in general, it's not necessary to include the code of the plugin
when you are posting a question to this group... just report the name
and *version* of the plugin, as indicated in the 'slice table' at the
top of the plugin.  Other basic info you should include with your
question:
   what system/browser are you using?
   what version of TiddlyWiki?
   what plugins are installed?
and, most important:
   exactly what steps did you do to produce the error?
   what result were you expecting?
   how do you know for certain that it didn't work?
   report the exact text of any error messages (*)

(*) note: if you recieve an "error in macro" display, click on that
text to see the actual macro error that you should report.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to