Hi Mat

Is the following possible:
>
> In TWC (and maybe also TW5, I haven't explored yet) you can nest
> stylesheets. I.e you simply add links to other stylesheets inside a
> stylesheet and the processing will ripple through them all in sequence.
>
> Could this idea be applied also to shadow/system tiddlers? I realize
> stylesheets are more trivial - it only(?) affects the looks of stuff and
> later commands simply override earlier ones. Still, maybe there could be
> some setup that allows prepending or appending code to a tiddler. Upgrading
> the original would then still be trivial. I guess what I'm asking for is if
> this is possible to add in the core(!) templates for shadow/system tiddlers?
>

The easiest way to provide access to overridden shadow tiddlers would be to
add a "plugin" attribute to the transclude widget. If it specifies a valid
plugin tiddler, then the specified tiddler within that plugin would be
transcluded.

For example:

<$transclude plugin="$:/core" tiddler="$:/sometiddler"/>

The example would transclude the specified tiddler from within the core
plugin, regardless of whether that tiddler has been overridden by another
tiddler.


> What other strategies are there to manipulate shadow/system tids but
> minimize upgrade consequences? I'm just looking into Ton's guides on how to
> add some basic menus and stuff - really basic use cases - but still I find
> I must manipulate shadowtids.
>

Basically, it's easy to augment the standard TW UI without overwriting any
shadow tiddlers. But if you want to modify or replace the existing
functionality the need to override at least one shadow tiddler is
unavoidable.

Best wishes

Jeremy



>
> Thank you!
>
> <:-)
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to