How to check layout in template

Author Message

Piotr Switkowski

Monday 29 August 2005 5:45:55 am

Hi

Do anyone konw, how to check what is current layout (print or normal). I do need to check it within template

Regards

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 31 2025 06:16:35
Script start
Timing: Jan 31 2025 06:16:35
Module start 'layout'
Timing: Jan 31 2025 06:16:35
Module start 'content'
Timing: Jan 31 2025 06:16:35
Module end 'content'
Timing: Jan 31 2025 06:16:35
Script end

Main resources:

Total runtime0.0172 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.0067 588.1328151.2109
Module start 'layout' 0.00670.0047 739.343836.6641
Module start 'content' 0.01140.0044 776.007884.9375
Module end 'content' 0.01570.0014 860.945329.9922
Script end 0.0172  890.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.7877140.0002
Check MTime0.00116.5086140.0001
Mysql Total
Database connection0.00084.755310.0008
Mysqli_queries0.005431.618430.0018
Looping result0.00000.134410.0000
Template Total0.00106.010.0010
Template load0.00084.638910.0008
Template processing0.00021.325010.0002
Override
Cache load0.00053.086610.0005
General
dbfile0.00031.609180.0000
String conversion0.00000.051340.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