Thursday 19 February 2009 6:29:56 pm
I've extended a frontpage class, naming it frontpage2. I've create an extension, in which I would put the frontpage2.tpl. In override.ini.append.php I've written:
[frontpage2]
Source=node/view/full.tpl
MatchFile=frontpage2.tpl
Subdir=templates Match[class_identifier]=frontpage2 and I've put my tpl in myext/design/templates/frontpage2.tpl.
When I try to load a frontpage2 object, ez cannot find my template. Here's where it searches:
extension/ezflow/design/ezflow/override/templates/frontpage2.tpl,
extension/ezflow/design/standard/override/templates/frontpage2.tpl,
extension/ezwebin/design/ezwebin/override/templates/frontpage2.tpl,
extension/ezdhtml/design/standard/override/templates/frontpage2.tpl,
extension/ezodf/design/standard/override/templates/frontpage2.tpl,
extension/ezodf/design/standard/override/templates/frontpage2.tpl,
design/standard/override/templates/frontpage2.tpl,
design/base/override/templates/frontpage2.tpl,
It doesn't search in my extension folder. :( Here's my design.ini.php.append in my extension:
<?php /* #?ini charset="utf-8"?
# transmit to eZ, to search for designs in myext
[ExtensionSettings]
DesignExtensions[]= myext
*/ ?>
Any ideas?
|