where to add 'default_navigation_part' for admin module ?!

Author Message

Selmah Maxim

Thursday 14 August 2003 1:38:14 am

I had create new module for admin, but I have problem with 'default_navigation_part' , I don`t know where to define it, I have write this in module.ini, but the 'default_navigation_part' doesn`t work :

$Module = array( 'name' => 'Companies' );

$ViewList = array();
$ViewList['list'] = array(
'script' => 'list.php',
"default_navigation_part" => 'ezcompaniesnavigationpart',
"unordered_params" => array( "offset" => "Offset" ) ,
"params" => array( "ViewMode"),
);

any help !

Selmah Maxim

Thursday 14 August 2003 1:49:33 am

I think i found it, but I must change in kernel/eznavigationpart.php
:(

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 30 2025 22:24:25
Script start
Timing: Jan 30 2025 22:24:25
Module start 'layout'
Timing: Jan 30 2025 22:24:25
Module start 'content'
Timing: Jan 30 2025 22:24:26
Module end 'content'
Timing: Jan 30 2025 22:24:26
Script end

Main resources:

Total runtime1.2154 sec
Peak memory usage8,192.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 588.2734151.2266
Module start 'layout' 0.00920.0049 739.5000220.7188
Module start 'content' 0.01411.2004 960.21884,163.3438
Module end 'content' 1.21450.0008 5,123.56257.9531
Script end 1.2153  5,131.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3071160.0002
Check MTime0.00130.1074160.0001
Mysql Total
Database connection0.00140.112910.0014
Mysqli_queries1.134293.3222520.0218
Looping result0.00070.0555500.0000
Template Total1.147994.420.5739
Template load0.00230.189020.0011
Template processing1.145694.254220.5728
Template load and register function0.00190.159610.0019
states
state_id_array0.00240.194510.0024
state_identifier_array0.00250.206420.0013
Override
Cache load0.00180.1499160.0001
Sytem overhead
Fetch class attribute can translate value0.00150.124810.0015
Fetch class attribute name0.00240.201320.0012
XML
Image XML parsing0.00010.009010.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.0611100.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs