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.