Reuse page layouts created using ez-flow

Author Message

Pavanred

Monday 20 December 2010 9:25:34 am

If I create a page using ezflow - I might have 2 column page layout and define different content blocks in them, is it possible to reuse this layout in diffrent pages? Or should i manually create the page layout using ezflow again?

My blog - http://www.pavankumar.info

Carlos Revillo

Monday 20 December 2010 10:20:12 am

Yes, it's possible. you only need to trick your zone.ini.append.php file and tell there that your layout is available for one or more classes.

You can then use distinct blocks for every page, having same layout selected for all of them.

Pavanred

Tuesday 21 December 2010 12:27:49 am

"

Yes, it's possible. you only need to trick your zone.ini.append.php file and tell there that your layout is available for one or more classes.

You can then use distinct blocks for every page, having same layout selected for all of them.

"

wow, thats cool. But, I haven't used ez-publish before and I dont know much about it, so could you please tell me how to do it? Or if you could point me to any documentation about how to do it, it would be very helpful.

Thanks.

My blog - http://www.pavankumar.info

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

Main resources:

Total runtime0.0147 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.0054 588.0469152.6406
Module start 'layout' 0.00540.0028 740.687539.4844
Module start 'content' 0.00810.0045 780.171989.2891
Module end 'content' 0.01270.0020 869.460930.2891
Script end 0.0147  899.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.6361140.0002
Check MTime0.00117.6033140.0001
Mysql Total
Database connection0.00096.165710.0009
Mysqli_queries0.002416.061730.0008
Looping result0.00000.298610.0000
Template Total0.001610.910.0016
Template load0.00095.948310.0009
Template processing0.00074.934210.0007
Override
Cache load0.00064.077510.0006
General
dbfile0.00031.945480.0000
String conversion0.00000.051940.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