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.

eZ debug

Timing: Jan 15 2025 07:41:59
Script start
Timing: Jan 15 2025 07:41:59
Module start 'content'
Timing: Jan 15 2025 07:42:00
Module end 'content'
Timing: Jan 15 2025 07:42:00
Script end

Main resources:

Total runtime1.3246 sec
Peak memory usage6,144.0000 KB
Database Queries195

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 684.6563214.7578
Module start 'content' 0.00901.2028 899.41411,885.7500
Module end 'content' 1.21180.1128 2,785.1641635.7656
Script end 1.3246  3,420.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00810.6085210.0004
Check MTime0.00140.1086210.0001
Mysql Total
Database connection0.00070.051310.0007
Mysqli_queries1.224292.42031950.0063
Looping result0.00150.11351920.0000
Template Total1.276896.420.6384
Template load0.00460.348220.0023
Template processing1.272296.041620.6361
Template load and register function0.00130.096210.0013
states
state_id_array0.00300.224010.0030
state_identifier_array0.00130.099020.0007
Override
Cache load0.00430.3240370.0001
Sytem overhead
Fetch class attribute can translate value0.00110.085040.0003
Fetch class attribute name0.00180.132770.0003
XML
Image XML parsing0.00290.222640.0007
class_abstraction
Instantiating content class attribute0.00000.001390.0000
General
dbfile0.00270.2046280.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs