Template Look class question

Author Message

Daniele Nocentini

Tuesday 16 May 2006 7:37:15 am

How can I use the Template Look content class in ezpublish? Where can I make an instance of this class?

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

Kristof Coomans

Tuesday 16 May 2006 11:36:40 am

In the admin interface, navigato to Design > Look and Feel. This is the only instance of Template look used on a site.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Daniele Nocentini

Wednesday 17 May 2006 1:12:08 am

why I can't make an istances of this class in content structure?
I need to build multi site design and I wuold like to switch this designs via admin interface.

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

Kristof Coomans

Wednesday 17 May 2006 3:21:20 am

I have no experience with that. You can try to do it with multiple instances, I think that will work. The last edited instance will become the current one.

Only switching the logo will probably won't work out of the box because in the admin pagelayout there's a hardcoded search for a template look object where the id equals sitestyle_identifier.

Keep us informed. Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

ez man

Thursday 26 April 2007 5:34:33 am

Hi all
Suppose,I need to change the hardcoded content present in
http://www.example.org/index.php/events/news
How can i do that because there will not be physical file like events/news?
Please let me know in which folder i can edit the contents present in events/news ...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 07:04:50
Script start
Timing: Jan 19 2025 07:04:50
Module start 'layout'
Timing: Jan 19 2025 07:04:50
Module start 'content'
Timing: Jan 19 2025 07:04:50
Module end 'content'
Timing: Jan 19 2025 07:04:50
Script end

Main resources:

Total runtime0.7117 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 590.5703152.6250
Module start 'layout' 0.00490.0024 743.195339.4453
Module start 'content' 0.00740.7029 782.6406595.2891
Module end 'content' 0.71020.0014 1,377.929712.1641
Script end 0.7116  1,390.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4013160.0002
Check MTime0.00120.1647160.0001
Mysql Total
Database connection0.00080.114410.0008
Mysqli_queries0.653791.8523650.0101
Looping result0.00070.1053630.0000
Template Total0.684196.120.3421
Template load0.00180.254620.0009
Template processing0.682395.875120.3412
Template load and register function0.00020.034710.0002
states
state_id_array0.00080.114210.0008
state_identifier_array0.00090.124220.0004
Override
Cache load0.00150.2127230.0001
Sytem overhead
Fetch class attribute can translate value0.00110.151830.0004
Fetch class attribute name0.00130.177370.0002
XML
Image XML parsing0.00190.264230.0006
class_abstraction
Instantiating content class attribute0.00000.003290.0000
General
dbfile0.00190.2626220.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs