Where does an editing override template go?

Author Message

Peter Bailey

Friday 04 April 2003 6:40:56 am

I've made a new template for article editing (class 1) but I can't seem to find the right location for it, as it never shows up.

I've tried putting "edit_class_1.tpl" in

/design/(mydesign)/override/templates/
/design/(mydesign)/override/templates/content/
/design/(mydesign)/override/templates/node/
/design/(mydesign)/override/templates/node/edit/
/design/(mydesign)/override/templates/node/view/
/design/(mydesign)/templates/
/design/(mydesign)/templates/node/
/design/(mydesign)/templates/node/edit/
/design/(mydesign)/templates/node/view/

What am I missing? At least tell me the proper place so I can troubleshoot a different problem.

Karsten Jennissen

Friday 04 April 2003 6:54:00 am

Hi Peter,

I assume you are talking about editing content objects of a specific class (instead of actually editing the class). From what I see in the directory structure, I'd say it has to go into

/design/(mydesign)/override/templates/content/

But that you tried already. :-) Maybe you have caching on?

Karsten

Peter Bailey

Friday 04 April 2003 7:44:32 am

However, I don't have caching on. Turned it off the day I started developing and it hasn't been touched since.

DOH! I just realized, I gave it the wrong class-number. Articles are class_id 2, FOLDERS are class_id 1.

I swear, some days I think I open my mouth just to change feet.

Thanks just the same =)

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

Main resources:

Total runtime0.9352 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.0069 589.1641152.6406
Module start 'layout' 0.00690.0033 741.804739.4766
Module start 'content' 0.01020.9238 781.2813468.0000
Module end 'content' 0.93400.0012 1,249.28138.1250
Script end 0.9352  1,257.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3332160.0002
Check MTime0.00130.1382160.0001
Mysql Total
Database connection0.00130.143410.0013
Mysqli_queries0.885294.6547570.0155
Looping result0.00110.1129550.0000
Template Total0.897796.020.4489
Template load0.00210.223220.0010
Template processing0.895695.768320.4478
Template load and register function0.00020.016910.0002
states
state_id_array0.00200.214010.0020
state_identifier_array0.00170.182420.0009
Override
Cache load0.00170.1858260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.049020.0002
Fetch class attribute name0.00100.107730.0003
XML
Image XML parsing0.00030.027220.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00220.2381100.0002
String conversion0.00000.000940.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs