pagelayout question

Author Message

enigmista enigmista

Monday 09 February 2004 10:08:27 am

can i use more than one pagelayout for each section? (like ez2)

Tore Skobba

Monday 09 February 2004 10:14:43 am

At first thought no! Section were made to have various layouts on your site, and controll access.. However, with creative template code I think you could manage it. But it would not be nice and I would not recoment it.

Tore

Paul Borgermans

Monday 09 February 2004 1:53:54 pm

Yes, provided you can use other "selectors" that differentiate pagelayouts. Availableare:

- node id
- class of current node/object
- depth in the node tree
- parent node id
- object id

You need to edit the override.ini.append "by hand" and put the most specific on top of the ini file

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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

Main resources:

Total runtime0.0143 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.0044 587.9063152.6250
Module start 'layout' 0.00440.0021 740.531339.4297
Module start 'content' 0.00650.0057 779.960989.2891
Module end 'content' 0.01220.0020 869.250030.3047
Script end 0.0142  899.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.9317140.0002
Check MTime0.00107.2877140.0001
Mysql Total
Database connection0.00064.530210.0006
Mysqli_queries0.001812.955130.0006
Looping result0.00000.063510.0000
Template Total0.001611.310.0016
Template load0.00096.600410.0009
Template processing0.00074.643910.0007
Override
Cache load0.00074.832910.0007
General
dbfile0.001510.247780.0002
String conversion0.00000.050240.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