I have created custom component and a route plugin for Joomla 1.5 to to provide SEO URLs for my component and also articles and categories which are not menu tied. Now I have to install my component and route plugin separately. Is there a way to install both in one package please?
Thank you in advance! Vojtech
When any extension installed Joomla triggers an event ‘com_yourcomponent_install()’ to your install file, which you have mentioned in xml file.
write a function com_yourcomponent_install in which get the path of plugin folder and install it
For example
this function will contain the code as
$installer = new JInstaller();
// Install the packages
$installer->install($pluginPath);