new class - where to get the line-view-template?

Author Message

Stefan van Zwoll

Wednesday 21 July 2004 7:06:27 pm

hi everybody,
i'm using ezp 3.4.1 (yes, all new) with the corporate set of templates. i've created a new class and an override template for the frontpage. i filtered my new made class in that template, so far so good. now i want the names of the objects to appear a custom way with

{node_view_gui view=line content_node=$Child:item}

.
first i created with the admin-tool a new template called fp_line.tpl, left the override keys for class and section at "any" and just slipped in a "2" at the node override. then i changed the view=line to view=fp_line but nothing showed up. what did i do wrong? i assume i would have to change the line.tpl at standard/node/view/ but there should be an override way, shouldn't it? i appreciate any help.

regards, stefan

Stefan van Zwoll

Thursday 22 July 2004 3:57:02 pm

well, found it out by myself. my mistake: set the override-key for the new class, the node only doesn't work. and: i did not change the view=line to something else. seemingly it gets the information of the template i made a copy of (?).
regards, stefan

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 20 2025 03:19:25
Script start
Timing: Jan 20 2025 03:19:25
Module start 'layout'
Timing: Jan 20 2025 03:19:25
Module start 'content'
Timing: Jan 20 2025 03:19:25
Module end 'content'
Timing: Jan 20 2025 03:19:25
Script end

Main resources:

Total runtime0.0242 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.0056 589.2891152.6406
Module start 'layout' 0.00560.0034 741.929739.4766
Module start 'content' 0.00900.0124 781.406389.3828
Module end 'content' 0.02140.0027 870.789130.3047
Script end 0.0241  901.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003012.5652140.0002
Check MTime0.00145.6507140.0001
Mysql Total
Database connection0.00104.117410.0010
Mysqli_queries0.002811.603230.0009
Looping result0.00000.054310.0000
Template Total0.00218.510.0021
Template load0.00135.239210.0013
Template processing0.00083.227410.0008
Override
Cache load0.00083.398110.0008
General
dbfile0.002811.790780.0004
String conversion0.00000.038540.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