Hi Jeremy, Thanks for the explanation!
Mark On Tuesday, April 21, 2015 at 2:27:28 PM UTC-7, Jeremy Ruston wrote: > > Hi Mark > > > So, in essence, repackPlugin doesn't seem to create shadow tiddlers, > though it does pack up the various associated values. > > The tiddlers within a theme plugin are not available unless the theme is > the selected theme (or a dependent of it). Same for language plugins. > > > Once I run repackPlugin, all the tiddlers I created (except tweak and > base) are deleted from the TW. Is there an equivalent UNPACK command that > will restore the tiddlers from the packed (and useless) theme plugin? > > No. The idea is that you can override any shadow tiddlers from the plugin > that you wish to change, and then invoke repackPlugin(). In the case of > themes, again you'll need to have the theme selected in order for it to > work. > > Best wishes > > Jeremy. > > > > > > > On Tue, Apr 21, 2015 at 10:17 PM, 'Mark S.' via TiddlyWikiDev < > [email protected] <javascript:>> wrote: > >> Hello, >> >> I'm following the instructions found here: >> >> >> http://tiddlywiki.com/dev/#How%20to%20create%20plugins%20in%20the%20browser >> >> What I want to do is to a create a clone of the theme represented by >> plugin >> >> $:/themes/tiddlywiki/vanilla (let's call it Vanilla) >> >> into a new clone which I am calling: >> >> $:/themes/tiddlywiki/vanilla/dev1 (let's call it Device) >> >> >> (for device #1) >> >> This will allow me to quickly switch between two or more tweaked themes >> depending what platform I'm using the same TW on. >> >> I started by cloning all the tiddlers inside of Vanilla and giving them >> all names with /dev1/ in it. I edited the cloned Tweak tiddler and cloned >> base Tiddler to reference the new tiddler set. >> >> Then I used the repackPlugin tool to create the new theme plugin. >> >> But the Device theme plugin doesn't contain shadow tiddlers like the >> original. Or rather, it doesn't manifest them. When I look inside the >> Device tiddler, I can see that all the contents are packed into a json data >> structure. But when I click on one of the tiddlers (from the theme view >> mode) the displayed tiddler does not show the content value (say >> font-size). Instead it invites me to create the new tiddler by clicking on >> the pen. If I do so, it does not give me the expected warning about this >> tiddler being a shadow tiddler. >> >> So, in essence, repackPlugin doesn't seem to create shadow tiddlers, >> though it does pack up the various associated values. >> >> Am I doing something wrong, or is there an additional trick or step that >> needs to be implemented? >> >> One more question. >> >> Once I run repackPlugin, all the tiddlers I created (except tweak and >> base) are deleted from the TW. Is there an equivalent UNPACK command that >> will restore the tiddlers from the packed (and useless) theme plugin? >> >> Thanks! >> Mark >> >> FF 33.0, TW 5.1.8 >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywikidev. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywikidev/81e63b9c-7e9e-4ee0-aecc-4faf5c4601f2%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywikidev/81e63b9c-7e9e-4ee0-aecc-4faf5c4601f2%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/e8c13dde-8bf9-41ca-8ad7-a44969ad7d86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
