Adding ezflow to an ezwebin site

Author Message

Marco Zinn

Saturday 04 June 2011 10:30:00 am

Hi there,

i'm trying to add ezflow to an existing ez 4.4 site, which is currently running ezwebin.

Unfortunatly, the docs for ezflow do not seem to handle this szenario: It's only "install it in the first place with the wizard" or "upgrade it".

I downloaded various packages from http://packages.ez.no/ezpublish/4.5/4.5.0/ and installed them. I activated the extension and can add the new "layout" datatype to any class (e.g. my frontpages). I also applied the SQL stuff from the ezflow extension to create the new ezm* tables.

But the layout only shows one zone ("Global Layout") or no zones at all, when i edit the class or the object with a "layout" datatype. zone.ini and block ini files look fine to me. But i muss the other layouts (2,3,4 zones).

Is there any good documentation available or do you have a clue where to look for? Log-Files do not give any usefull hint.

Marco
http://www.hyperroad-design.com

SEBBANE Alexandre

Saturday 04 June 2011 11:03:34 am

Hello

the zones are contentclass defined : see the zone.ini configration file

you should had your template write in it :

i mean if i want to had a lyout to the article contentclass , i add it bby administration AND i add it in this config file like that :

[GlobalZoneLayout]
ZoneTypeName=Global zone layout
Zones[]=main
ZoneName[main]=Global zone
ZoneThumbnail=globalzone_layout.gif
Template=globalzonelayout.tpl
AvailableForClasses[]=global_layout

AvailableForClasses[]=article <- add this line for your content class on all zoning you want.

i hope that helps you.

 

Alexandre

 

 

Paris, France

Marco Zinn

Saturday 04 June 2011 3:39:17 pm

Hello Alexandre,

 

I thought, i had read every line of those 2 INI files, but i overlooked that one.

AvailableForClasses[]=my_class_identifier

worked perfectly!

Merci beaucoup!

Marco
http://www.hyperroad-design.com

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 18 2025 02:21:46
Script start
Timing: Jan 18 2025 02:21:46
Module start 'layout'
Timing: Jan 18 2025 02:21:46
Module start 'content'
Timing: Jan 18 2025 02:21:46
Module end 'content'
Timing: Jan 18 2025 02:21:46
Script end

Main resources:

Total runtime0.0154 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.1719152.6406
Module start 'layout' 0.00530.0031 741.812539.4844
Module start 'content' 0.00840.0051 781.296993.4766
Module end 'content' 0.01350.0018 874.773434.2891
Script end 0.0153  909.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.7460140.0002
Check MTime0.00117.0470140.0001
Mysql Total
Database connection0.00053.558410.0005
Mysqli_queries0.002717.396530.0009
Looping result0.00000.130310.0000
Template Total0.00159.910.0015
Template load0.00084.957610.0008
Template processing0.00084.906410.0008
Override
Cache load0.00053.454510.0005
General
dbfile0.00032.011980.0000
String conversion0.00000.079140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs