Eric,

thank you for clarifying that for me.
regards,
seba

On 12 dec., 18:09, Eric Shulman <[email protected]> wrote:
> > It have to reload the page twice in order to see the changes (kiosk
> > mode on/off).
> > After I hit the reload I am prompted to enter the username (I set this
> > up on the pageTemplate) but the mode doesn't change. The second time
> > around after reloading the change is applied.
>
> > I tried it locally and over http.
> > Any ideas?
>
> All plugins are invoked *before* the page content (i.e., PageTemplate)
> is rendered.  As a consequence, the systemConfig tiddler that sets the
> theme, based on username, has *already been invoked* by the time the
> "ask for username" prompt is triggered from the PageTemplate.  Once
> the username is set (and stored in a cookie), reloading the page
> invokes the systemConfig tiddler again, but this time, there's a
> proper username cookie value, so the conditional theme-setting code
> will then work as expected.
>
> -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