Forums / Developer / Automatic fallback of ez designs

Automatic fallback of ez designs

Author Message

Romeo Antony

Friday 18 June 2010 1:53:14 am

The different designs to be used by must be defined in the "[DesignSettings]" block within an override for the "site.ini" configuration file. The following directives can be used:

  • SiteDesign
  • AdditionalSiteDesignList
  • StandardDesign

In which file do I need to put this ? is it in site.ini.append in the site access.Any idea will be helpful

Nicolas Pastorino

Friday 18 June 2010 2:29:47 am

Hi Romeo,

You need to define the design fallback in your siteaccess, meaning in the 'settings/siteaccess/<your_siteaccess>/site.ini.append.php' file.

Complimentary information here : http://ez.no/doc/ez_publish/technical_manual/4_x/concepts_and_basics/designs

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Romeo Antony

Friday 18 June 2010 3:02:55 am

Thank you Nicolas Pastorino

eZ debug

Timing: Jan 17 2025 23:42:43
Script start
Timing: Jan 17 2025 23:42:43
Module start 'content'
Timing: Jan 17 2025 23:42:45
Module end 'content'
Timing: Jan 17 2025 23:42:45
Script end

Main resources:

Total runtime1.3033 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.4609180.8281
Module start 'content' 0.00821.2895 770.2891547.3594
Module end 'content' 1.29770.0056 1,317.648442.1016
Script end 1.3033  1,359.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2252140.0002
Check MTime0.00130.1004140.0001
Mysql Total
Database connection0.00160.126510.0016
Mysqli_queries1.252896.1222590.0212
Looping result0.00050.0406570.0000
Template Total1.272697.620.6363
Template load0.00220.166020.0011
Template processing1.270597.477320.6352
Template load and register function0.00010.008710.0001
states
state_id_array0.00070.050510.0007
state_identifier_array0.00060.043920.0003
Override
Cache load0.00180.1389200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.037720.0002
Fetch class attribute name0.00120.095050.0002
XML
Image XML parsing0.00110.084020.0005
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00400.3071240.0002
String conversion0.00000.000730.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs