Hi Alfonso,

in short: instead of

/***
| PageTemplate | WebPageTemplate |
| ViewTemplate | WebViewTemplate |
| EditTemplate | WebEditTemplate |
***/

write just

|PageTemplate| WebPageTemplate |
|ViewTemplate| WebViewTemplate |
|EditTemplate| WebEditTemplate |

Explanations:

* I proposed to remove "/***" because they just don't do anything, not 
because they cause the problem
* the table in a theme tiddler is actually a set of slices definitions [1]. 
The theme processing looks for slices called "PageTemplate", "ViewTemplate" 
and "EditTemplate" in your theme tiddler. But spacebars in your table 
actually cause creating no slices at all: a wrong but illustrative 
explanation is that your slicenames are like " PageTemplate ", but in fact 
such notation with spacebars currently is not recognized as slices at all. 
So, like I showed above, remove the spacebars.

Best regards,
Yakov.

[1] http://tiddlywiki.org/#Slices

пятница, 15 февраля 2013 г., 5:49:00 UTC+4 пользователь Alfonso Arciniega 
написал:
>
> This is a general question, though probably Eric Shulman would catch the 
> problem in no time as I tried to use his suggestions/plugins.
>
> I am testing a TiddlyWiki for publishing some notes on the web. Very 
> simple, nothing fancy. I am using this test to learn as well.
> Started with a clean empty.html and added some plugins. I wanted to have a 
> different PageTemplate and ViewTemplate when viewed through HTTP. I also 
> put some configuration options in the zzConfigOptions tiddler.
>
> I created a StandardTheme and a WebTheme.
>
> The StandardTheme points to the shadow PageTemplate, ViewTemplate, and 
> EditTemplate.
>
> The WebTheme points to a WebPageTemplate where the sidebarOptions points 
> to a WebSideBarOptions tiddler and "do-not-show" Options nor sidebarTabs; 
> and a WebViewTemplate tiddler which points to a WebToolbarCommands tiddler 
> for a reduced number of tools in the ViewToolbar.
> I also created a WebEditTemplate and a WebStyleSheet tiddlers, though I am 
> not using these tiddlers as options for now.
>
> However, the whole theme changing in my TiddlyWiki does not seem to work. 
> Both local and HTTP views look the same, regardless of which theme is 
> loaded, in both places. What have I done wrong?
>
> If any of you are interested to help, see the TiddlyWiki at my dropbox:
> http://db.tt/kM3uY1VP
>
> Thanks much appreciated,
>
> Alfonso Arciniega
>

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


Reply via email to