Forums / Setup & design / view template won't show up

view template won't show up

Author Message

Stephane Persyn

Tuesday 01 September 2009 1:47:31 pm

Hi,

I've created a class (identifier = societe).
I've added in */ezpublish/settings/siteaccess/ezwebin_site_user/override.ini.append.php the following:

[full_societe]
Source=node/view/full.tpl
MatchFile=full/societe.tpl
Subdir=templates
Match[class_identifier]=societe

Then I've created my societe.tpl file in the following directory:
*/ezpublish/extension/ezwebin/design/ezwebin/override/templates/full/societe.tpl

My template file is inspired from article.tpl which already is in the same "*/full" directory.

I then clear the cache, to check....

No change : the societe class content object are still displayed as before (from node/view/full.tpl I suppose)...

Any ideas on what did I wrong?

Thanks,

Stéphane

Stephane Persyn

Tuesday 01 September 2009 2:25:40 pm

after enabling debug mode, the single frontpage displays the follwing error:

Error: eZTemplateDesignResource::overrideArray Sep 01 2009 23:17:26
Custom match file: path 'full/societe.tpl ' not found in any resource. Check the template settings in settings/override.ini

when checking this file, comments clearly indicate it shouldn't be edited, but we should rather create a override.ini.append.php in the settings/siteaccess/myaccess/ directory, which is exactly what I did.

So.... any help would be very apreciated...

Stéphane