On Sunday, February 23, 2014 5:56:01 AM UTC-8, [email protected] wrote:
>
> Currently I am using the TWc plugin BreadCrumbsPlugin (from TiddlyTools) 
> in Firefox 27 (and sometimes Chrome 33); it's an excellent way for users to 
> see which tiddlers they have opened. 
> I configured the plugin to only show 3 breadcrumbs max, and save my 
> configuration every time I alter the settings. But somehow the 
> configuration of the plugin keeps resetting at 'unlimited breadcrumbs'. 
> This affects the sleek design of the Tiddly I am trying to achieve. Does 
> anyone know a way around, maybe to hard code the configuration in the 
> Tiddly?
>

By default, TWC stores <<option>> settings (checkboxes and text inputs) as 
browser-based cookies.  However, some browsers refuse to store cookies for 
documents accessed locally (i.e., "file://...").  Thus, while you can set 
the options during a session, your choices are not actually saved in 
between sessions and the plugin settings revert to their built-in defaults, 
as you have observed.

In http://www.tiddlytools.com/#BreadcrumbsPluginInfo, I have documented the 
numerous configuration settings available, including <<option 
chkBreadcrumbsLimit>> and <<option txtBreadcrumbsLimit>>, which enable the 
'breadcrumbs limit' feature and set the limit value itself, respectively.

To store the option values *without using browser cookies*, you can use 
http://classic.tiddlywiki.com/#PersistentOptions, like this:

* Open and edit the [[SystemSettings]] tiddler (see More>Shadowed sidebar 
tab)
* Add the following text:
chkBreadcrumbsLimit: true
txtBreadcrumbsLimit: 3

* press "done"
* save and reload your document to confirm that the setting is 'sticky'.

That's it.  As long as those entries are in that tiddler, any <<option>> 
values entered for the breadcrumbs will be automatically saved *in the 
document itself*, so that the setting is the same for everyone who views 
the document, regardless of how the browser handles cookie storage.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to