Hi Adithya

> Suppose "abc" has a tiddler "$:/plugins/abc/abc/hi.js". 
> 
> Now, I want to change how this plugin behaves by overriding the tiddler 
> "hi.js" using another plugin "xyz"
> 
> Can I replace the "hi.js" tiddler from plugin "abc" with a new one in "xyz"?
> Is there a mechanism to achieve this?

Yes, with the following points to watch:

* The module tiddlers must have exactly the same title
* If the module is added dynamically (eg drag and drop), the override won't 
take effect until TW is restarted
* Non-shadow modules always override shadow modules with the same title, but if 
you're overriding with another shadow module then the plugin doing the 
overriding may need to set its "plugin-priority" field to a numerical value to 
control the loading order of plugins

Best wishes

Jeremy


> 
> Thanks and Regards,
> Adithya
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/19495cd8-c52b-45d6-b932-1c70bc82ca6cn%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A1276283-B116-415F-ACC4-FA828CD9AF3A%40gmail.com.

Reply via email to