Hi Stephen

> Is there a simple way to force the field to contain a specific value when
I open a tiddler?

No. In fact, in TiddlyWiki it would be wrong for displaying a tiddler to
have any side effects on the tiddler store.

> I want it to always open in View 1 regardless of what the position was
when I closed the tiddler.

A slightly different technique than Danielo suggested is to use provide an
appropriate value for the "default" attribute of both of the reveal widgets
that you're using.

Best wishes

Jeremy.


On Thu, Apr 9, 2015 at 3:29 PM, 'Stephen Kimmel' via TiddlyWiki <
[email protected]> wrote:

> Probably a simple question with a simple answer that I've missed along the
> way.
>
> I'm using a combination of buttons to toggle the display from one mode to
> another in much the same way the Show/Hide preview works when editing a
> Tiddler. For clarity, I'll call it View 1 and View 2. As it currently
> stands when I reopen a tiddler, I get whatever view goes with the last
> toggle position as recorded in a field. If I close a tiddler in View 2, it
> comes up in View 2 when I reopen it. I want it to always open in View 1
> regardless of what the position was when I closed the tiddler.
>
> Is there a simple way to force the field to contain a specific value when
> I open a tiddler?
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/879b028b-d3ab-4aeb-94d1-0b60b9110e75%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/879b028b-d3ab-4aeb-94d1-0b60b9110e75%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJa24MqyaOA-a-sf3k7uHkBgyG2BDBWSHxDVfwbCu4s-iQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to