Templates

Author Message

Mads Nordholm

Wednesday 16 February 2005 1:54:17 am

I have changed the layout of the main article class through the admin area "Setup -> Classes -> Article". I have removed the body field which was an xmlarea and added a new body field which is a textarea. Now when I call my pages using the /content/view/full I do not get the output from my new body field.
Which template should I edit to get the output from this new field?

Ɓukasz Serwatka

Tuesday 01 March 2005 10:48:17 pm

Hi Mads,

You should edit article.tpl located in design/base/override/templates/full/ if you using base design.

Look for line and change body attribute to your new.

 {attribute_view_gui attribute=$node.object.data_map.body} 

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.7500 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.8906152.6094
Module start 'layout' 0.00760.0044 740.500039.4141
Module start 'content' 0.01200.7365 779.9141524.4375
Module end 'content' 0.74860.0014 1,304.35168.3516
Script end 0.7500  1,312.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4669160.0002
Check MTime0.00140.1883160.0001
Mysql Total
Database connection0.00140.182510.0014
Mysqli_queries0.705894.1054540.0131
Looping result0.00050.0658520.0000
Template Total0.715495.420.3577
Template load0.00200.267120.0010
Template processing0.713495.118520.3567
Template load and register function0.00010.018810.0001
states
state_id_array0.00070.091310.0007
state_identifier_array0.00070.092820.0003
Override
Cache load0.00160.2172110.0001
Sytem overhead
Fetch class attribute can translate value0.00050.063220.0002
Fetch class attribute name0.00110.149430.0004
XML
Image XML parsing0.00060.084220.0003
class_abstraction
Instantiating content class attribute0.00000.001630.0000
General
dbfile0.00170.2299180.0001
String conversion0.00000.001840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs