> How can I force sidebartabs to show tags tab by default rather than
> timeline?

You *could* change the order of the parameters in the <<tabs>> macro
within SideBarTabs, so that the "Tags" tab definition occurs first.
The first tab in the set is the 'natural' default, used when no other
tab has been selected.  However, as soon as you pick another tab, a
*TW option/cookie* ('txtMainTab') saves the name of the current tab so
that, when the page is reloaded, the sidebar tabs display is restored
to the last tab viewed, rather than showing the default tab.  In
addition, this approach also changes the interface (the order of
tabs), which may not be what you want.

Fortunately, there is a way to ensure that the sidebar tabs will
*always* start out showing the Tags view each time the page is loaded,
regardless of the tab last viewed in the previous document session.
Simply add the following "hard-coded" option setting to a tiddler
tagged with systemConfig (e.g., CookieJar, ConfigTweaks, etc.)

//{{{
config.options.txtMainTab="Tags";
//}}}

When your document loads, this setting overrides the cookie-based
setting, effectively ignoring the stored value and forcing the desired
tab (ie., "Tags") to be displayed instead.

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