Content management

Author Message

Zotov Vladimir

Sunday 16 March 2008 3:34:52 am

Please, help me. I need to add buttons into header in Web interface. As I understand, I have to change pagelayout.tpl file (may be I'm wrong?). But, there are so many of them, that I don't understand which of them is my target.
One more question. Sould I clear my web browser cash after applying css chages?

André R.

Sunday 16 March 2008 7:37:01 am

Take a look in settings/site.ini, there is a lot of settings to tweak the core of eZ Publish there. Ini files in "settings/" is mostly well commented, often with good examples.

The setting you need right now is under '[TemplateSettings]' in site.ini:

# If enabled will add a table with templates used to render a page.
# DebugOutput should be enabled too.
ShowUsedTemplates=disabled

You will also get the path to the file.

For more about ini files and configuration ( also how to override settings for a specific siteaccess or the whole system):
http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/configuration

For more about how you can override pagelayout.tpl and other templates so you don't have to tamper / edit eZ Publish or extension files:
http://ez.no/developer/articles/how_to_configure_an_ez_publish_site
http://ez.no/developer/articles/how_to_skin_an_ez_publish_now_site

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

Zotov Vladimir

Monday 17 March 2008 4:17:37 am

Thank you!

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 21:05:31
Script start
Timing: Jan 18 2025 21:05:31
Module start 'layout'
Timing: Jan 18 2025 21:05:31
Module start 'content'
Timing: Jan 18 2025 21:05:32
Module end 'content'
Timing: Jan 18 2025 21:05:32
Script end

Main resources:

Total runtime0.8851 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.8906152.6094
Module start 'layout' 0.00580.0034 740.500039.4141
Module start 'content' 0.00920.8743 779.9141536.2031
Module end 'content' 0.88350.0016 1,316.117212.1875
Script end 0.8851  1,328.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3883160.0002
Check MTime0.00150.1640160.0001
Mysql Total
Database connection0.00090.103210.0009
Mysqli_queries0.837694.6386570.0147
Looping result0.00080.0854550.0000
Template Total0.855896.720.4279
Template load0.00220.247320.0011
Template processing0.853696.435720.4268
Template load and register function0.00020.022510.0002
states
state_id_array0.00070.077710.0007
state_identifier_array0.00140.160020.0007
Override
Cache load0.00170.1934180.0001
Sytem overhead
Fetch class attribute can translate value0.00100.111820.0005
Fetch class attribute name0.00160.179040.0004
XML
Image XML parsing0.00060.072120.0003
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00090.1041170.0001
String conversion0.00000.001040.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/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs