Page 1 of 1

Phoca Install what modifications are allowed.

Posted: 20 Nov 2010, 05:06
by aravot
Couldn't find a section for Phoca Install, so I am posting here, feel free to move it to correct section.

I would like to use Phoca Install to install some hacks but was wondering what modifications to the actual program is allowed, am I allowed to replace the image with my own.

Feature Request.
Another SQL field for update script, example version 2.0 of a hack has modification to SQL file allow users of version 1.0 to update to v2.0 by executing the second sql script.

Re: Phoca Install what modifications are allowed.

Posted: 22 Nov 2010, 22:13
by Jan
Hi,
Couldn't find a section for Phoca Install, so I am posting here, feel free to move it to correct section.
Still didn't find to create one :-(
I would like to use Phoca Install to install some hacks but was wondering what modifications to the actual program is allowed, am I allowed to replace the image with my own.
The component I made to help developers, so you can modify it the way you want (but not violite GPL license :-) )
In fact it was made to be modified, to exaxtly fit your needs - e.g. if you have users, customers, administrators and you don't want to make core hack by every server, you will prepare it to one installation package and then you only run this package. Or some of your extension needs a core hack to Joomla! so you will distribute this installation pack with your extension, etc.
Another SQL field for update script, example version 2.0 of a hack has modification to SQL file allow users of version 1.0 to update to v2.0 by executing the second sql script.
Added to feature request list.

For now you can solve it by e.g.:

- you will add to the SQL some if clause or "CREATE TABLE IF NOT EXISTS" etc.
- see the Phoca Install VM, some SQL queries or some specific parts of code are coded in controller:

controllers\phocainstallinstall.php
line 77 ...

- or you can add next button to the main screen - e.g. upgrade and then you will redirect it to upgrade controller - there you will past your code

Jan