milan
milan

Reputation: 2219

joomla extensions zip then uninstall then install

I have been writing my own joomla extension and I am finding it annoying that every change I make, I have to zip my package up again, then uninstall the old one, then install my new package. I know I can edit in the joomla directory but is there a better way? Has someone already written something to take care of this? Thank you

This is Joomla 1.5

Upvotes: 0

Views: 282

Answers (2)

Martin
Martin

Reputation: 10563

Once your component is installed Joomla puts your component files in the correct directories. You just need to replace those files with the ones you have made changes on either via FTP or on your local computer if you have Joomla running locally.

Upvotes: 0

Gaurav
Gaurav

Reputation: 28755

You can install your extension once and then can make changes in code in files of your extension. You need to not to uninstall or install it again.

Or

use <install type="component" version="1.5.0" method="upgrade"> this line of code in XML file of your extension installer. Then you need not to uninstall the extension, just install it over existing. It will over-write the files of installed extension with new one.

Upvotes: 3

Related Questions