Hi cb,

To use a different theme you'd be creating a different template, I guess 
and have that use a different default theme, e.g.

node ./tiddlywiki.js ~/MyWiki --rendertiddler $:/core/templates/*
tiddlywiki5.template.html* index.html text/plain

I don't think you want to turn off the sidebar entirely, otherwise it opens 
the question of where to put the search widget.

Besides, not to have a recent or tags tab doesn't seem like a good idea.

I can see why you'd want to restrict the available tabs or rearrange them 
but that's a different issue from turning off the sidebar entirely.

Have a look at the shadows...

   - $:/core/ui/SideBar
   - $:/core/ui/MoreSideBar

With a bit of html knowledge you can make the desired adaptations for 
custom template...

For example, you could change $:/core/ui/SideBar to...

<!-- The implementation of tabs here is currently a bit unreadable -->
> <div class="tw-sidebar-lists">
> <$linkcatcher to="$:/temp/search">
> <div class="tw-search"><$edit tiddler="$:/temp/search" type="search" 
> requireFocus="yes"/><$reveal state="$:/temp/search" type="nomatch" text=""> 
> <$link to="" 
> class="btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
> </$linkcatcher>
> <$reveal state="$:/temp/search" type="nomatch" text="">
> <div class="tw-search-results">
> <$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]" 
> emptyMessage="//No results//"/>
> </div>
> </$reveal>
> <$reveal state="$:/temp/search" type="match" text="">
> <div class="tw-tab-set">
> <div class="tw-tab-buttons">
> <$button type="set" set="$:/state/sideBarTabSet" setTo="openTab" 
> qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button>
> <$button type="set" set="$:/state/sideBarTabSet" setTo="tagsTab" 
> qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tags</$button>
> <$button type="set" set="$:/state/sideBarTabSet" setTo="recentTab" 
> qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Recent</$button>
> </div>
> <div class="tw-tab-divider tw-sidebar-tab-divider">
> </div>
> <div class="tw-tab-content">
> <$reveal type="match" state="$:/state/sideBarTabSet" text="openTab" 
> qualifyTiddlerTitles="yes">
> <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" 
> listview="pop" itemClass="tw-menu-list-item tw-open-tiddler-list">
> <$button message="tw-close-tiddler" class="btn-invisible 
> btn-mini">&times;</$button> <$view field="title" format="link"/>
> </$list>
> <$button message="tw-close-all-tiddlers" class="btn-invisible 
> btn-mini">close all</$button>
> </$reveal>
> <$reveal type="match" state="$:/state/sideBarTabSet" text="tagsTab" 
> qualifyTiddlerTitles="yes">
> <$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item">
> <$transclude title="$:/core/ui/TagTemplate"/> <small 
> class="tw-menu-list-count"><$count filter="[is[current]tagging[]]"/></small>
> </$list>
> </$reveal>
> <$reveal type="match" state="$:/state/sideBarTabSet" text="recentTab" 
> qualifyTiddlerTitles="yes">
> {{$:/snippets/recentchanges}}
> </$reveal>
> </div>
> </div>
> </$reveal>
> </div>


You can change $:/core/ui/SideBar directly on http://five.tiddlywiki.com to 
the above and find that it yields...

<https://lh5.googleusercontent.com/-HAvHMGv1R_0/Uh3vVlX93aI/AAAAAAAABO0/nOESVMsg6N0/s1600/CustomSidebar.jpg>

Best wishes, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to