Forums / Setup & design / How to make a new template look content class?

How to make a new template look content class?

Author Message

Daniele Nocentini

Monday 19 March 2007 8:15:14 am

In the list of content class that the admin can make it's not present the template look class, how can I create a new template look content under design folder?

Antica Bottega Digitale srl
http://www.abd.it

Daniele Nocentini

Friday 06 April 2007 1:02:27 am

I need to create a new template look content object, but the class "template look" itsn't in available class dropdown list.

Antica Bottega Digitale srl
http://www.abd.it

Daniele Nocentini

Thursday 19 April 2007 2:58:50 am

Anyone can help me? I need to create a new template look content object.

Antica Bottega Digitale srl
http://www.abd.it

Egil Fujikawa Nes

Thursday 19 April 2007 3:58:35 am

Hi Daniele

I'm not totally sure if I'm following your problem. As fare as I understand, you are trying to make a template override.

Look into the example here about how to make an override:
http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_template_override_system/template_override_example

You need to go to your Design tab in the administrator interface and then choose templates. Under "Most common templates" you will find the template /node/view/full.tpl, this is probably the first template that you will make overrides to.

Hope this will help you :)

BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo
URL: http://www.buildcms.com

Daniele Nocentini

Thursday 19 April 2007 5:31:25 am

No I don't need to make a template override I need to make a new istance of "template_look" class.
If you login in the admin interface of ez and you move on the content class list you can find a class called "Template Look", but in the select class list for create a new content there is no "template look" class. Why?

Antica Bottega Digitale srl
http://www.abd.it

André R.

Thursday 19 April 2007 7:03:19 am

Several reasons:
I'ts a part of Setup Class Group (or should be)
I'ts not multisite safe since it is writing changes to override ini files

If you still want to be able to add more, do the following in your admin site:
Go to /content/view/full/58 and copy the existing template_look to your desire

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom