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

eZ debug

Timing: Jan 18 2025 15:56:37
Script start
Timing: Jan 18 2025 15:56:37
Module start 'content'
Timing: Jan 18 2025 15:56:38
Module end 'content'
Timing: Jan 18 2025 15:56:38
Script end

Main resources:

Total runtime0.9176 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0107 589.4922180.8125
Module start 'content' 0.01070.7873 770.3047627.1328
Module end 'content' 0.79800.1195 1,397.4375341.0547
Script end 0.9175  1,738.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00550.5950210.0003
Check MTime0.00290.3128210.0001
Mysql Total
Database connection0.00090.095210.0009
Mysqli_queries0.827290.15232050.0040
Looping result0.00230.25152030.0000
Template Total0.868394.620.4341
Template load0.00240.259820.0012
Template processing0.865994.366820.4329
Template load and register function0.00010.014710.0001
states
state_id_array0.00140.150210.0014
state_identifier_array0.00150.164620.0008
Override
Cache load0.00210.2262300.0001
Sytem overhead
Fetch class attribute can translate value0.00130.142140.0003
Fetch class attribute name0.00100.113190.0001
XML
Image XML parsing0.00180.195940.0004
class_abstraction
Instantiating content class attribute0.00000.0027120.0000
General
dbfile0.00850.9278400.0002
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs