hi,
I tried it: installed TaggedTemplateTweak
Made a tiddler: testViewTemplate
<!--{{{-->
<html>
<style>
#sidebar { display:none !important;}
#mainMenu { display:none !important;}
#displayArea { margin-right:1em; }
#displayArea { margin-left:1em; }
</style>
</html>
[[a-pmTheme##ViewTemplate]]
<!--}}}-->
== end of tiddler ==
[[a-pmTheme##ViewTemplate]] .. points to my Theme ViewTemplate
If tiddler "test" is open it works great for me.
regards Mario
On Jan 12, 8:12 pm, Måns <[email protected]> wrote:
> Hi Mario and Tobias
>
> Thanks for the input:>PMario wrote:
> >If you open a tiddler tagged "Wide" it will toggle the sidebars.
> >If you open a second tiddler tagged "Wide" what shall happen?
>
> Nothing - the desired state is already invoked>third ....
>
> might be to be able to revert the action tagwise - but I don't need
> that.
>
> >I think using the TaggedTemplateTweak will be the cleanest solution,
> >because it definitely defines what you want.
>
> Does it? - I am using it to define custom View- and editTemplates -
> can you have custom StyleSheets with TaggedTemplateTweak?>Tobias wrote:
> > Why don't you try the current version of TaggedTemplateTweak which
> > works just fine with your wiki,
>
> Sorry - I don't understand how TaggedTemplateTweak can help me hide
> the menus? - unless it's possible to control them from custom View- or
> EditTemplates...
> I can't find any documentation that it can invoke possible custom
> StyleSheets or Pagetemplates for that matter..
>
> >only you may have forgotten to add:
> > #mainMenu{margin-left:1em};
>
> I appreciate your input - however I don't know if you are referring to
> my ThemedTiddler theme "WideSlideTheme" (http://tw-abc.tiddlyspot.com/
> #WideSlideTheme) or to the original StyleSheet tiddler (http://tw-
> abc.tiddlyspot.com/#StyleSheet)?
>
> When I input #mainMenu{margin-left:1em}; in my StyleSheettiddler my
> right sidebar (SideBarOptions) overlaps tiddlers and I loose
> operability of the toggle sidebarmenu buttons..
>
> I guess I'll have to install
> SwitchThemePluginhttp://www.TiddlyTools.com/#SwitchThemePlugin
> to be able to do what I want - My question remains the same - only the
> action "toggleMenu" is replaced by "ThemeShift".
>
> How do I invoke a Themeshift by opening a specific tiddler?
>
> YS Måns Mårtensson
--
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.