-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to override packaged plugin #500
Comments
That's easy, add the following to your call janus#disable_plugin('zoomwin', "Replaced with a newer version zoomwin2") and then rename There's no easy solution for what should be loaded first, like you said this plugin protects itself from being loaded twice (as it should) but not all plugins do that unfortunately so if we loaded May I ask, where is the newer zoomwin version ? Wael |
Wael, Thank you for the response, I understand the difficulties in coming up with a load order that works for all cases. I'll give this solution a try. I found a new version of zoomwin at: https://github.com/itspriddle/ZoomWin Thanks! |
Issue #603 might be relevant here. |
Closing this one as it's resolved. |
I'm attempting to replace the ZoomWin plugin that is bundled with janus with a newer version. From my understanding of the customization instructions, this should be possible by installing the replacement plugin into .janus. So I should be able to override ZoomWin by installing the replacement version into
~/.janus/zoomwin
.After following these instructions, the old plugin is still being loaded. I verified that the new plugin is installed correctly by blowing away the old plugin's directory temporarily. The newer version then loads correctly.
Looking at the ZoomWin plugin source code, there is a trap to prevent it from being loaded more than once. From the observed behavior, I would assume that the plugins in .janus are loaded after the packaged plugins? If this is the case, how would I should I override this plugin?
The text was updated successfully, but these errors were encountered: