package and templates

Author Message

Aleksey Tik

Monday 04 February 2008 5:53:29 am

Hi everyone.
i study templates now and i have a problem: in doc says, that template is looking in folders SiteDesign, AdditionalSiteDesign and if not find - in StandartSiteDesign.

i whant change a pagelayout of my site (for usel part). i create in design/ezwebin/templates a pagelayout.tpl file whith my own design. But i have not any effect. I try change pagelayout.tpl in base and standart directory but have not any changes. Then i find that eZ uses a pagelayout.tpl which stored at extension\ezwebin\design\ezwebin\templates\ . As i understand, this is package i installed while setup eZ Publish. But i can't find where and how it plugged to eZ Publish. I can't see it in ini files. i can't find a rules for override base template by package template... Is anybody can help me?

André R.

Monday 04 February 2008 8:46:08 am

You can find some customization info for ezwebin here:
http://ez.no/doc/extensions/website_interface
http://ezpedia.org/wiki/en/ez/overriding_the_ez_web_interface_ezwebin_with_custom_designs
http://ez.no/developer/forum/setup_design/ezwebin_multiple_domains_and_different_designs_for_each/

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

Aleksey Tik

Monday 04 February 2008 9:48:25 am

only first link is valid, others are broken :(

Stéphane Bullier

Monday 04 February 2008 11:19:21 am

Hello Aleksey,

http://ez.no/developer/forum/setup_design/ezwebin_multiple_domains_and_different_designs_for_each
http://ezpedia.org/wiki/en/ez/overriding_the_ez_web_interface_ezwebin_with_custom_designs
http://ez.no/developer/forum/setup_design/ezwebin_multiple_domains_and_different_designs_for_each/re_ezwebin_multiple_domains_and_different_des__2

Stéphane

Aleksey Tik

Tuesday 05 February 2008 11:40:54 pm

Thanks Stéphane, thanks André for your answers. :)

Can you answer me: as i see, index.php include autoload.php, which include autoload/ezp_extension.php file. As i understand, this file contains all plugined extensions. am i right?

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 18 2025 11:26:44
Script start
Timing: Jan 18 2025 11:26:44
Module start 'layout'
Timing: Jan 18 2025 11:26:44
Module start 'content'
Timing: Jan 18 2025 11:26:44
Module end 'content'
Timing: Jan 18 2025 11:26:44
Script end

Main resources:

Total runtime0.9371 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.0056 589.0234152.6250
Module start 'layout' 0.00560.0026 741.648439.4453
Module start 'content' 0.00820.9272 781.0938598.5313
Module end 'content' 0.93540.0017 1,379.625012.1719
Script end 0.9370  1,391.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3889160.0002
Check MTime0.00150.1615160.0001
Mysql Total
Database connection0.00070.073310.0007
Mysqli_queries0.876093.4763650.0135
Looping result0.00070.0784630.0000
Template Total0.900096.020.4500
Template load0.00270.289620.0014
Template processing0.897395.752720.4486
Template load and register function0.00010.014610.0001
states
state_id_array0.00160.171210.0016
state_identifier_array0.00100.112020.0005
Override
Cache load0.00220.2357230.0001
Sytem overhead
Fetch class attribute can translate value0.00090.094330.0003
Fetch class attribute name0.00220.230070.0003
XML
Image XML parsing0.00110.118630.0004
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00160.1701230.0001
String conversion0.00000.000640.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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