Forums / Developer / Some questions about packages and installation of site types

Some questions about packages and installation of site types

Author Message

Sebastiaan van der Vliet

Thursday 07 April 2005 9:49:53 am

Hello,

I was wondering if anyone could help me out by answering some questions about ezp packages:

1. During the eZ publish setup process it is possible to select different site types (e.g. plain, news, corporate, etc.). Is it possible to add user defined site types to this list without hacking the kernel, and if so, how to do this?

2. When importing a package containing content classes, the classes are duplicated when the package contains classes that are already available. For example, I use a different folder content class definition than the standard ez one. When I import a package, I need my folder definition to replace the default ezp one, instead of creating a second folder class. Is it possible to force a replace or delete?

3. Is there any documentation available on the package manager?

What I have in mind is a solution where a complete site package (content classes, templates, design, etc.) can be put on a cd-rom. Before running the setup process, the user could drag the package on the cd-rom to the package folder in ezp, so would get listed in as a site type. The user could then select this site type, and continue the installation process.

Am I dreaming, or is this possible? If not, are there any plans to develop this functionality? If not, is there anyone interested in developing this functionality together?

Thanks for your help!

Regards,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Wenyue Yu

Monday 11 April 2005 1:00:07 am

Hi,

Answer for question 1: It is not possible to add any new sites without changing the kernel. You need to have a look at kernel/setup/ezsetuptypes.php.

Answer for question 2: Sorry. Force a replace or delete is not possible.

Answer for question 3: No doc. for package manager currently. We have only doc. for content object import.

Regards,
Wenyue

Sebastiaan van der Vliet

Monday 11 April 2005 3:35:38 am

Hi Wenyue,

Thank you very much for answering this question. Are there any plans to make it possible in the future to add site packages to the setup, so the user can select a custom product during the setup? What would be required to make it work? A modification of the ezsetuptypes.php file (so it can read from a settings file included in the package), or changes in the package manager as well?

I think it would really make eZ publish even more attractive, not only for potential customers, but also for partners who sell customized solutions developed on basis of eZ publish.

Kind regards,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Frederik Holljen

Monday 11 April 2005 4:11:19 am

Hi Sebastiaan,

Nothing is set in stone yet, but I it looks like the changes you are looking for will appear in eZ publish 4.0

Frederik

Sebastiaan van der Vliet

Tuesday 12 April 2005 12:25:57 am

Hi Frederik,

That is good news! If you need any input on this, please let me know!

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.