Hi,

in my project a need switch want to switch the PageTemplate dynamically. 
For that i modified my local PageTemplate like this:


(and remind myself using a Diff-Mechanism if someone changes the 
PageTemplate-Tiddler during TW5-Development to have a look on it ;) )

The code i removed in the Screenshot above (marked mostly red) is part of 
the my "DefaultPageTemplate". When i like to switch to another style just 
change "ActivePageTemplate" to point to my active Template. It works like a 
charm for me (but may introduce performance-issues).

However, i more and more get the feeling that others also need to solve 
that problem and ask myself how they do that. Is there something i oversee? 
If not, can it be implemented into the core-TW5 somehow to make that change 
in my TW5-Instance a little less >>unstable<< (just means the fact that i 
overwrite the core-ShadowTiddler)?

Thanks a lot,
Mirko

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/a1af12ed-f3cf-471b-b04a-20fe78125098o%40googlegroups.com.

Reply via email to