New tab like Content structure in admin interface

Author Message

Tin Nguyen

Wednesday 26 November 2008 3:03:54 am

Hi,

I am trying to add a new Tab like Content structure in admin interface. I have added new Tab and custom a node as top (follow: http://ez.no/developer/forum/setup_design/new_tab_in_administration_menu/re_new_tab_in_administration_menu__2 and http://ez.ryba.eu/index.php/ez_publish/lab/custom_top_level_nodes_is_that_possible_round_i_exploration). Now i can create content under new tab, it works the same with Content structure. But there are somewhere i was being stuck:

- How to display active link for that new tab? Currently, Content structure tab is actived when i'm staying new tab. Any override solution to implement this (i don't want modify direct in kernel)

- How can i make left menu of new tab working like left menu of Content structure?

Thanks a lot for your help!

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

Main resources:

Total runtime0.0176 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2656151.2266
Module start 'layout' 0.00480.0036 739.492236.6953
Module start 'content' 0.00840.0077 776.187585.9844
Module end 'content' 0.01610.0015 862.171929.9922
Script end 0.0176  892.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.9040140.0002
Check MTime0.00105.8163140.0001
Mysql Total
Database connection0.00074.131510.0007
Mysqli_queries0.002916.493730.0010
Looping result0.00000.136510.0000
Template Total0.00116.110.0011
Template load0.00084.811110.0008
Template processing0.00021.286210.0002
Override
Cache load0.00063.168210.0006
General
dbfile0.003419.047280.0004
String conversion0.00000.062140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs