Thanks Eric, that works.

I'm glad to be able to continue using checkboxes!

To keep things as simple as possible I'm just going to use [_(1)], [_
(2)] etc.
-Dave


On Oct 6, 3:30 pm, Eric Shulman <[email protected]> wrote:
> > > Don't use CheckboxPlugin.
>
> > :-(
> > oh well, I was thinking I might have to stop using it.
>
> You *can* use CheckboxPlugin.... just don't use the "inline X" storage
> format.
>
> The CheckboxPluginInfo documentation for "inline X":
> -------------------
> [ ]or[_] and [x]or[X]
>
> Simple checkboxes using 'Inline X' storage. The current unchecked/
> checked state is indicated by the character between the [ and ]
> brackets ("_" means unchecked, "X" means checked). When you click on a
> checkbox, the current state is retained by directly modifying the
> tiddler content to place the corresponding "_" or "X" character in
> between the brackets.
>
> NOTE: 'Inline X' syntax has been deprecated... This storage format
> only works properly for checkboxes that are directly embedded and
> accessed from content in a single tiddler. However, if that tiddler is
> 'transcluded' into another (by using the <<tiddler TiddlerName>>
> macro), the 'Inline X' will be erroneously stored in the containing
> tiddler's source content, resulting in corrupted content in that
> tiddler. For anything but the most simple of "to do list" uses, you
> should select from the various alternative storage methods described
> below...
> -------------------
> The rest of the documentation goes on to describe other ways to store
> the checkbox state:
>    * as a tag or custom field in either the current tiddler or any
> other tiddler you specify
>    * as an internal 'config.options[...]' true/false setting
> You can also use embedded bits of javascript code to add 'onInit',
> 'onBeforeClick', and 'onAfterClick' custom event handlers that can
> perform 'side-effect' processing whenever the checkbox state is
> changed.
>
> For your purposes, the simplest method would be to use tags on the
> current tiddler, like this:
>    [_(sometag)] content
>    [_(thistag)] content
>    [_(thattag)] content
>    [_(theothertag)] content
> If the indicated tag is present in the current tiddler, the checkbox
> is selected, otherwise, it is unselected.  Similarly, selecting the
> checkbox adds the tag to the tiddler, while unselecting the checkbox
> removes it.
>
> enjoy,
> -e
--~--~---------~--~----~------------~-------~--~----~
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