Problem with ezflow and templates

Author Message

Sébastien Antoniotti

Sunday 06 April 2008 11:07:17 am

Hi,

I'm trying to add ezflow to an existing EZP 4.0, but I don't have a correct behaviour with layouts.

I have followed these steps :

- Installation of the extension package for ezflow
- runned the mysql script to create tables
- created a mysite_home class who just have one attribute : an layout datatype
- made the zone definition for my homepage in block.ini
- create the template layout (mylayout1.tpl) and place it under the templates/zone folder of my design
- made an instance named "home" of mysite_home class under the root folder
- edit this instance to manage blocks

The problem is that when I access the "home" node, my mylayout1.tpl is successfully loaded BUT design/standard/templates/node/view/full.tpl is loaded prior !
So I get the assistant message who tell me to made an override : "Vue par défaut de l'objet. Cliquez pour créer un template personnalisé, ID du Noeud : 88, ID de l'objet: 94"

Is there something I missed ?

Thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr

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 04:14:34
Script start
Timing: Jan 18 2025 04:14:34
Module start 'layout'
Timing: Jan 18 2025 04:14:34
Module start 'content'
Timing: Jan 18 2025 04:14:34
Module end 'content'
Timing: Jan 18 2025 04:14:34
Script end

Main resources:

Total runtime0.1265 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0625152.6406
Module start 'layout' 0.00520.0033 740.703139.4766
Module start 'content' 0.00840.1166 780.1797474.1484
Module end 'content' 0.12500.0015 1,254.32818.2891
Script end 0.1265  1,262.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.5836160.0002
Check MTime0.00141.0741160.0001
Mysql Total
Database connection0.00070.550010.0007
Mysqli_queries0.085067.1553480.0018
Looping result0.00050.3589460.0000
Template Total0.095075.120.0475
Template load0.00231.798520.0011
Template processing0.092873.295520.0464
Template load and register function0.00010.090110.0001
states
state_id_array0.00131.066210.0013
state_identifier_array0.00070.573720.0004
Override
Cache load0.00181.4300180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.514510.0007
Fetch class attribute name0.00060.475720.0003
XML
Image XML parsing0.00040.351810.0004
class_abstraction
Instantiating content class attribute0.00000.003020.0000
General
dbfile0.00090.6896160.0001
String conversion0.00000.005340.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs