Eric,

Thanks so much for your quick response--and for having already built a
solution.

For some reason, though, I can't seem to make it all work. I have
toggled everything off, but I can't get it to toggle on with an
appropriate UserName. Could I have made a mistake in the code in the
new tiddler with the systemConfig tag. I assume I need to substitute
the actual UserNames in the second line (var authors=[ 'UserName',
'OtherUser', 'SomeoneElse', ... ];), which I did. Shouldn't that
enable me to author? Do I need to do something to the third line
( co.txtTheme=authors.contains[co.txtUserName]?'Stylesheet':'TotallyTiddlers'­; 
)?


Thanks
Hal


On Dec 5, 6:46 pm, Eric Shulman <[email protected]> wrote:
> > I’m trying to create an end-user interface that is clear of the
> > standard authoring elements ...
> > I do want the authoring features to be available for a handful of
> > authors, however, so I need some way that an authorized contributor
> > (with no technical skills), and only an authorized contributor, can
> > easily trigger them to appear....
>
> http://www.TiddlyTools.com/#SwitchThemePluginhttp://www.TiddlyTools.com/#TotallyTiddlers
>
> TotallyTiddlers is a *systemTheme* that hides ALL the TiddlyWiki
> elements: no headers, no sidebar/mainmenu, no tiddler titles, no
> toolbars... nothing but actual tiddler content.  This is also
> sometimes referred to as "kiosk mode", since it can be used to create
> TiddlyWiki documents that deliver interactive information to the
> general public using touchscreen-based "kiosk"-style read-only
> interfaces.
>
> To apply this theme at startup, so that only specific users to have
> "authoring" abilities, you can create a tiddler tagged with
> systemConfig, containing something like this:
>
> //{{{
> var co=config.options; // abbrev
> var authors=[ 'UserName', 'OtherUser', 'SomeoneElse', ... ];
> co.txtTheme=authors.contains[co.txtUserName]?'Stylesheet':'TotallyTiddlers'­;
> //}}}
>
> When processed, the above code determines, based on the current
> TiddlyWiki username, whether or not to apply the TotallyTiddlers theme
> or to fall back to the standard "full-featured" authoring theme.
>
> 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