Forums / Setup & design / Error creating new class

Error creating new class

Author Message

Jens Kultima

Saturday 31 March 2007 10:00:09 am

Hi everyone,

I am using eZ Publish 3.9.0 online editor. When I create a new class or copy a class it is not shown correctly on my homepage.

I am using a Swedish version and get the following error:
"Standard objektsvy. Klicka för att skapa en egen mall, Nod ID: 332, Objekt ID: 361" and if I click the link I am suggested to create an override template.

This problem occurs even if I only copy the article-class and try to create a new object of that class.

Why do I get this error and what can I do about it?

Jens

Nabil Alimi

Sunday 01 April 2007 4:27:58 pm

Hi Jens,

Actually, this is not an error. The screen you have when viewing original articles is the override of the default node/view/full.tpl. The display is correct because override rules are defined in the override.ini file of the siteaccess and the match rules are probably set to match the "article" content class and of course not your newly copied class. You need to set correct override rules to solve this.

For more informations about override : http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_override_conditions

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr