Extension development - little problem

Author Message

loukmane issa

Friday 18 September 2009 6:01:03 am

Hi my dear community,

i would like to develop an extension that override an existing template. I explain:

For example in the shop tab (administrator panel) you have a menu, how to do if you just want to add a new line (a new bullet)... Just one.

I hope you can help me,

Thanks very much :)

André R.

Friday 18 September 2009 1:00:38 pm

Unfortunately you'll have to override the menu template, it would be nice to make them use settings so we can add links without potentially conflict with other extension, but currently you cant.

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

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

Main resources:

Total runtime0.9089 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9375152.6250
Module start 'layout' 0.00660.0039 740.562539.4453
Module start 'content' 0.01050.8970 780.0078521.6875
Module end 'content' 0.90740.0014 1,301.69538.1563
Script end 0.9089  1,309.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3843160.0002
Check MTime0.00140.1515160.0001
Mysql Total
Database connection0.00150.168710.0015
Mysqli_queries0.860694.6823540.0159
Looping result0.00060.0659520.0000
Template Total0.871195.820.4356
Template load0.00210.234720.0011
Template processing0.869095.608720.4345
Template load and register function0.00020.024010.0002
states
state_id_array0.00150.164710.0015
state_identifier_array0.00080.093320.0004
Override
Cache load0.00180.1950110.0002
Sytem overhead
Fetch class attribute can translate value0.00150.170420.0008
Fetch class attribute name0.00120.131730.0004
XML
Image XML parsing0.00100.107520.0005
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00080.0873170.0000
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs