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.
Phoca Install what modifications are allowed.
-
- Phoca Member
- Posts: 15
- Joined: 04 May 2008, 18:29
- Location: United States of America
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Install what modifications are allowed.
Hi,
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.
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
Still didn't find to create oneCouldn't find a section for Phoca Install, so I am posting here, feel free to move it to correct section.
The component I made to help developers, so you can modify it the way you want (but not violite GPL license )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.
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.
Added to feature request list.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.
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