Hi Mat

There are a few different kinds of “hook”.

Often, I’ll be referring to JavaScript hooks. They’re a low level mechanism for 
JavaScript functions to be invoked as certain actions are performed (e.g. 
renaming a tiddler), allowing those actions to be customised.

We do also use the word more loosely in a wikitext context. The most important 
wikitext hook is the system tag mechanism that allows additional elements to be 
folded into TiddlyWiki’s user interface.

> I want to show this alert in the regular plugin list, ideally in the 
> $:/core/ui/Components/plugin-info tiddler which is the one showing each 
> separate plugin as a "row" in the plugin list.

So, we could extend $:/core/ui/Components/plugin-info to use a system tag in 
the same way.

> How should one approach manipulating core components? It is one matter for 
> personal tweaking but not so good when making public plugins. ...besides, 
> whose shadow tiddler wins? Once my overwrite is in a plugin it is no longer 
> an overwrite but a shadow, so which one should the system choose?

Plugin writers should avoid overwriting core tiddlers in almost all cases. 
Otherwise it’s difficult for plugins to co-exist reliably.

Best wishes

Jeremy

> 
> Jeremy has mentioned putting in hooks which I interpret to mean things for 
> these sort of matters... so should I just "request a hook" and specify 
> exactly where? Or maybe I'm using the term "hook" in a faul way.
> 
> <:-)
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywikidev 
> <https://groups.google.com/group/tiddlywikidev>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/bcbb2e82-f950-4461-9d41-037869be8fdd%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywikidev/bcbb2e82-f950-4461-9d41-037869be8fdd%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/2E628ED9-7C83-4725-87B2-F5E717C5F865%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to