pagelayout

Author Message

P K

Thursday 19 July 2007 12:50:53 pm

Hi everybody!
I got a question about pagelayouts.
I got an internal page that I want to create a different design for it. I read all about how to create the template for this page but I couldn't find how to connect between the template that I have created and the node.

Thanks for your help
PK

paul bolger

Thursday 19 July 2007 8:27:10 pm

You need to create an override for your pagelayout. Take a look at "Showing latest articles on the Frontpage" in the setup and design forum.

Paul Bolger

P K

Friday 20 July 2007 2:18:06 pm

Hi Paul!
Thanks for your answer, it was very helpful.
I got another question:
I saw in the override/templates folder that there are different templates for classes that were created.
My question is, can I create a new class and change the template there or it will create a conflict?

Thanks
PK

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 22:19:21
Script start
Timing: Jan 18 2025 22:19:21
Module start 'layout'
Timing: Jan 18 2025 22:19:21
Module start 'content'
Timing: Jan 18 2025 22:19:21
Module end 'content'
Timing: Jan 18 2025 22:19:21
Script end

Main resources:

Total runtime0.6822 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9219152.6094
Module start 'layout' 0.00600.0029 741.531339.3984
Module start 'content' 0.00890.6716 780.9297530.1406
Module end 'content' 0.68050.0016 1,311.07038.2031
Script end 0.6821  1,319.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4504160.0002
Check MTime0.00130.1848160.0001
Mysql Total
Database connection0.00080.118410.0008
Mysqli_queries0.635693.1679570.0112
Looping result0.00060.0863550.0000
Template Total0.647694.920.3238
Template load0.00180.269520.0009
Template processing0.645894.665720.3229
Template load and register function0.00020.034310.0002
states
state_id_array0.00080.124110.0008
state_identifier_array0.00090.131520.0004
Override
Cache load0.00150.2183190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.119920.0004
Fetch class attribute name0.00160.240040.0004
XML
Image XML parsing0.00060.091620.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00230.3390160.0001
String conversion0.00000.001240.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs