How to modify the ezwebin content

Author Message

Luca Mellano

Tuesday 04 March 2008 3:49:12 am

Hi all, I'm very new to ezPublish. I'm trying to customize the ezwebin layout.
I was able to change the stylesheets and some template to match my need. Now, I'm starting to modify the content (menu and data).
I've found on the administrator interface some packages installed under

/var/www/[website]/var/storage/packages/eZ-systems

ezwebin_banners
ezwebin_classes
ezwebin_democontent
ezwebin_design_blue
ezwebin_design_gray
ezwebin_extension
ezwebin_site

In particular <b>ezwebin_banners</b> and <b>ezwebin_democontent</b> are packages relevant to the content of the ezwebin layout. These packages phisically install files under <b>var/storage</b> directory and probably also in the database.
My question is, what is the correct way to change the website content ?
The removal of the demo content package may corrupt the database ?

Thanks in advance.

André R.

Tuesday 04 March 2008 4:29:32 am

The packages are unimportant after the install.
Demo data is the content you find under the content tab in admin or on the front end of you site, and banners is placed under the media tab -> banners in the admin interface.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Luca Mellano

Tuesday 04 March 2008 5:03:30 am

André thanks for your prompt reply.

So my question is, if I want to change the content (i.e. add a folder containing images, add new menu items and so on) can I remove the packages ? Will this modify the current website ?

For examples, in the <b>democontent</b> there is a directory containing an image gallery. After the package installation the directory is created under:
<b>/var/www/[website]/var/ezwebin_site/storage/images/community/lyon-pictures/</b>

If I remove the package, will the gallery be kept ? If I want to add my own gallery physically stored on
<b>/var/www/[website]/var/ezwebin_site/storage/images/my_gallery</b>
how can I do ?

Thanks again.

André R.

Tuesday 04 March 2008 6:20:58 am

I think you can safely remove the packages, but removing them will not remove the content from the site.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Luca Mellano

Tuesday 04 March 2008 7:20:52 am

Sorry, but probably I haven't explained very well what I want to do.
If I uninstall a package (i.e. ezwebin_banners) I receive this warning from the system:

The package can be uninstalled from your system. Uninstalling the package will remove any installed files, content classes etc., depending on the package.
If you do not want to uninstall the package at this time, you can do so later on the view page for the package.
You can also remove the package without uninstalling it from the package list.
Uninstall items

    * Content object Banners (folder)
    * Content object Woman (Communities) (banner)
    * Content object Woman (Frontpage) (banner)
    * Content object Woman (Products) (banner)
    * Content object Woman (Partners) (banner)
    * Content object Pencils (Support) (banner)
    * Content object Woman (Training) (banner)
    * Content object Woman (Solutions) (banner)
    * Content object Only Lyon Banner (banner)

So, it seems that the <b>removal</b> is safe the <b>uninstall</b> is unsafe. I would like to change the location of the files and also the reference to these files in order to add new contents on the website.

How can I do this <b>basic</b> action (remove the demo items and insert the new ones) ?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 15:14:17
Script start
Timing: Jan 19 2025 15:14:17
Module start 'layout'
Timing: Jan 19 2025 15:14:17
Module start 'content'
Timing: Jan 19 2025 15:14:18
Module end 'content'
Timing: Jan 19 2025 15:14:18
Script end

Main resources:

Total runtime0.6209 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1875152.6250
Module start 'layout' 0.00520.0021 741.812539.4453
Module start 'content' 0.00730.6121 781.2578576.2422
Module end 'content' 0.61940.0015 1,357.500016.1563
Script end 0.6208  1,373.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.4522160.0002
Check MTime0.00110.1825160.0001
Mysql Total
Database connection0.00100.154610.0010
Mysqli_queries0.566391.2154630.0090
Looping result0.00050.0775610.0000
Template Total0.597896.320.2989
Template load0.00190.302520.0009
Template processing0.595995.970520.2979
Template load and register function0.00010.019610.0001
states
state_id_array0.00060.097810.0006
state_identifier_array0.00090.149920.0005
Override
Cache load0.00160.2529370.0000
Sytem overhead
Fetch class attribute can translate value0.00070.118720.0004
Fetch class attribute name0.00140.217570.0002
XML
Image XML parsing0.00200.326920.0010
class_abstraction
Instantiating content class attribute0.00000.0035100.0000
General
dbfile0.00240.3870200.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs