Gossamer Forum
Quote Reply
plugin hook change
Hey guys,

I have an installed plugin which uses a plugin hook which i want to change. Without uninstalling the plugin, modifing the install.pm file and re-installing the plugin, is there a way for me to change the plugin hook? If so where is it defined?

Hagai
Quote Reply
Re: [hagai] plugin hook change In reply to
The plugin should be installed in admin/Plugins.

Adrian
Quote Reply
Re: [brewt] plugin hook change In reply to
Thats not what i meant.

The current plugin uses a hook on build_home.
I want to change that to hook on create_home.

I can go in to the pm file and modify it but i dont know that it will do anything. In the install.pm file for that plugin it installs a hook for build_home. These hooks have to be defined somewhere so that i can go into that file and modify it so that the plugin runs on create_home instead of build_home.

Thanks,

Hagai
Quote Reply
Re: [hagai] plugin hook change In reply to
The hooks are registered in plugin.cfg in that same directory.

Adrian
Quote Reply
Re: [brewt] plugin hook change In reply to
Thanks thats what i was looking for.

Hagai