Working with ezflow and templates

Author Message

Alejandro Dominguez

Monday 07 February 2011 1:56:03 am

Hello guys,

I'm starting to design the template of my ezpublish site and I have some doubts.

For the frontpage I want to use a newspaper style, so I think this can be done with ezflow. For each category of my news I want a blog layout and here is where I have the doubts. For the frontpage I use a the frontpage type but for this blog style... Should I use the frontpage with a layout or a non ezflow template?

cheers,

Alejandro

Thiago Campos Viana

Monday 07 February 2011 4:08:53 am

If you want a blog template style for each category, why not use a blog?

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Alejandro Dominguez

Monday 07 February 2011 5:15:30 am

uhmm... I made a stupid question :$ I forgot that type. Thanks!

I have another question about working with ezflow and templates. I create a custom class for my articles and I would like to show it in a block of ezflow, so I have created a copy of the article.tpl which is stored in extension/ezflow/design/ezflow/override/ and call it identifier_of_my_class.tpl but I when I create a block with this new class items adn I can't see them. รง

I have been debugging the templates render for the pages and this templates isn't been rendered. Any ideas of what should I do?

Thiago Campos Viana

Monday 07 February 2011 5:25:46 am

Did you changed your template overrride settings ( settings/siteaccess/your_siteaccess_name/override.ini.append.php )? You also need check if you choosed the correct template to override ( line, full, inline, embed, and so on ).

Clear the cache.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Alejandro Dominguez

Tuesday 08 February 2011 2:14:56 am

It seems the fail was the template override settings. I'm going to try this.

Thanks Thiago for your answers :)

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

Main resources:

Total runtime0.8098 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.0066 589.3672152.6250
Module start 'layout' 0.00660.0041 741.992239.4531
Module start 'content' 0.01070.7975 781.4453565.8750
Module end 'content' 0.80820.0016 1,347.320316.4688
Script end 0.8098  1,363.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4934160.0002
Check MTime0.00150.1801160.0001
Mysql Total
Database connection0.00070.091410.0007
Mysqli_queries0.748492.4184630.0119
Looping result0.00060.0730610.0000
Template Total0.772495.420.3862
Template load0.00330.410820.0017
Template processing0.769094.960020.3845
Template load and register function0.00010.013710.0001
states
state_id_array0.00120.151910.0012
state_identifier_array0.00090.114320.0005
Override
Cache load0.00260.3252250.0001
Sytem overhead
Fetch class attribute can translate value0.00050.064120.0003
Fetch class attribute name0.00100.128370.0001
XML
Image XML parsing0.00110.130420.0005
class_abstraction
Instantiating content class attribute0.00000.0023100.0000
General
dbfile0.00110.1337220.0000
String conversion0.00000.001340.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs