Ticket #1415 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

What's the theme

Reported by: jdlrobson Owned by: JeremyRuston
Priority: minor Milestone: 2.7.1
Component: core Version:
Severity: undefined Keywords:
Cc:

Description

Several times I have been caught out by applied themes in TiddlyWiki. I'll be looking at the EditTemplate? not understanding where the currently applied theme is.

Especially in my early experiences this caught me out with MPTW and I know has caught others out for example Colm and recently this guy:  http://www.google.com/url?sa=X&q=http://www.firewallr.us/%3Fp%3D216&ct=ga&cad=CAcQAhgAIAIoATAAOABA2IeF6QRIAVAAWABiBWVuLVVT&cd=Ip_422FHxUg&usg=AFQjCNFrm8l9kNaUDS3Kmb1KxyKSgK9azA

What would be ideal is if the annotation for the shadows overriden by the theme referred the user to the theme tiddler. The sample code below could be a good starting point

//{{{ if(store.tiddlerExists(config.options.txtTheme)) { var newAnnotation = "Please see [[%0]] for the current active theme".format([config.options.txtTheme]) merge(config.annotations, { ViewTemplate?: newAnnotation, EditTemplate?: newAnnotation, PageTemplate?: newAnnotation, StyleSheet?: newAnnotation })

} //}}}

Change History

Changed 2 years ago by MartinBudden

  • milestone set to 2.7.1
Note: See TracTickets for help on using tickets.