override and folder.tpl

Author Message

Marcin N.

Wednesday 13 December 2006 1:59:23 am

Hi!

I thought I know templates ;-)

I try to override folder.tpl from admin panel. I know that my site using <b>design/base/override/templates/full/folder.tpl</b> and this file overrides <b>/node/view/full.tpl</b>. I used Filter option in Design/Templates (admin panel) and found <b>/node/view/full.tpl</b> then clicked "New override" and I saw few options:
<b>Override keys:
Class: []
Section: []
Node ID: []</b>
and I choosed:
<b>Override keys:
Class: [folder]
Section: [All sections]
Node ID: []</b>
My tpl file was created with success. BUT I saw some strange things on my site. Then when I looked inside my new override template file I saw that the content is different then <b>design/base/override/templates/full/folder.tpl</b>.
My question is where I made mistake?
I check documentation but I didn't find <b>Override keys</b> (I think here is problem)

I have to add that first I thougt enough to override this:<b>design/base/override/templates/full/folder.tpl</b> but it doesn't work. eZ created new template but doesn't read it (it's not priority problem!).

Marcin

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.