Phoca Install what modifications are allowed.

General Forum
aravot
Phoca Member
Phoca Member
Posts: 15
Joined: 04 May 2008, 18:29
Location: United States of America

Phoca Install what modifications are allowed.

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Install what modifications are allowed.

Post 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
If you find Phoca extensions useful, please support the project
Post Reply