Where to search?

Author Message

Mads Nordholm

Monday 21 February 2005 2:17:45 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 pages using pagelayout.tpl I do not get the output from my new body field.
It seems to me that getting the right output should be only a matter of changing a single variable in a template file but I can't figure out which one to edit. If anyone could possibly give me a hint as to which template to edit to control the output of calling {$module_result.content} in pagelayout.tpl I would greatly appreciate it.

Eivind Marienborg

Monday 21 February 2005 2:33:36 am

You have to create an override template for full.tpl. Tutorial: http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_welcome_page/creating_and_using_a_custom_template

Jason Weston

Friday 11 March 2005 2:07:15 pm

I've just run into the same problem. Can you tell me specifically how you solved your problem? I'm interested in files you may have changed, where they're located, and any other pertinent info you have on this.
Thanks!

Ulrich L.

Friday 11 March 2005 2:26:31 pm

Don't know wether I understand you fully... Do you mean the location
design/shop<in my case>/override/templates/full/article.tpl?

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

Main resources:

Total runtime0.0144 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 588.0078151.1953
Module start 'layout' 0.00450.0025 739.203136.6328
Module start 'content' 0.00690.0061 775.835990.1250
Module end 'content' 0.01300.0014 865.960933.9922
Script end 0.0144  899.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.5368140.0002
Check MTime0.00117.3712140.0001
Mysql Total
Database connection0.00074.655610.0007
Mysqli_queries0.002315.676830.0008
Looping result0.00000.076110.0000
Template Total0.00107.210.0010
Template load0.00085.313810.0008
Template processing0.00031.852310.0003
Override
Cache load0.00053.641810.0005
General
dbfile0.001812.451880.0002
String conversion0.00000.039740.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