On Mar 5, 4:05 pm, Kosmaton <[email protected]> wrote:
> 4. @Mario
> Can/should I rename the NeUIemTheme tiddler somehow to make clear it is
> a modified version?
Yes, you should do so. Some adjustments are needed :)
And you should update the header.

|''Name:''|[[yourThemeName]]|
|''Description:''|see [C]|
|''Original author:''|Mario Pietsch see [C] remove this|
|''Edited by:''|Kosmaton (Feb 2011)|
|''Generator:''| *remove this line  see [A]|
|''Gen.Description:''| *remove this line [A]|
*|''PageTemplate:''|##PageTemplate|
*|''ViewTemplate:''|##ViewTemplate|
*|''EditTemplate:''|##EditTemplate|
**|''RevisionTemplate:''|yourThemeName##RevisionTemplate|
*|''StyleSheet:''|##StyleSheet|
|''UsedClones:''| see [B] |

* I marked the slices, which are needed by the core theme handler with
an asterisk !! You need to keep them!!
** needed by the core. Since the RevisionTemplate doesn't understand
"relative" section info, you need to update "yourThemeName"
accordingly. If not found the core will use the ViewTemplate. (if
ViewTemplate is used. The revert to revision x is gone)

=======
If you remove/rename NeUIemTheme tiddler, the default tiddler will be
activated again. Which makes it possible to switch themes on the fly,
if the <<selectTheme>> macro is available for the user. If not,
nothing happens :)

Goto [[zzConfig]] tiddler and set
config.options.txtTheme = "yourThemeName"

so it will be default automatically.

If you have a look at zzConfig you'll see, that you used
config.options.txtTheme = "NeUIemTheme03"   until now.

http://triptych-theme.tiddlyspace.com/#NeUIemTheme03
links back to NeUIemTheme for PageTemplate, ViewTemplate ....
Only adds some CSS for the #sidebarTabs

So if you copy
#sidebarTabs .tabset{...}
#sidebarTabs .tabset:hover{...}
#sidebarTabs .tabset .tab{...}

including the CSS stuff to your "StyleSheetTriptych" it should work
fine.
=======

[A] remove these lines, since it is "hand made" now. The core theme
manager doesn't need this info.

[B] The clones section should be kept, because if something is
missing, it won't work propperly. I am working on this, to make the
list much shorter. And I think it is a nice list, to open all
dependencies. It made finding them a lot easier for me.

[C] insert your description there. It would be nice if you append
"derived from [[NeUIemTheme]] by Mario Pietsch" at the end. If someone
is interested, they can click it and get the original tiddler, with
all it's info and links. So you don't need to keep extra links to me.

=========
About the user StyleSheet. You should insert your StyleSheetTriptych
at the StyleSheet section of yourThemeName tiddler, because it belongs
there. So StyleSheet tiddler is a user only stylesheet again.

The end of the !StyleShee section should look like:
/*-- emastic System --*/
[[EmasticSystem]]

/*-- theme specific stuff --*/
[[StyleSheet_neui-em]]

/*-- your theme info text --*/
[[StyleSheetTriptych]]

/*-- call the standard StyleSheet --*/
[[StyleSheet]]

As I wrote, I am working on the stylesheet dependencies. But since
there are soooooo many dependencies it is quite hard to make it
smaller and keep some backwards compatibility.

have fun!
-m

-- 
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.

Reply via email to