slow node tree browser

Author Message

Jack Rackham

Thursday 01 September 2005 2:42:09 am

How do I remove the node tree browser on the left side of the admin panel? Loading this mini browser really slows large sites down!

Kristof Coomans

Thursday 01 September 2005 5:18:28 am

You can alter design/admin/templates/parts/content/menu.tpl.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Jack Rackham

Thursday 01 September 2005 6:54:36 am

Do you think I cud remove from myadminsite.app…
admin_treemenu=1 to admin_treemenu=0?

CachedViewPreferences[full]=admin_navigation_content=0;admin_navigation_details=0;admin_navigation_languages=0;admin_navigation_locations=0;admin_navigation_relations=0;admin_navigation_roles=0;admin_navigation_policies=0;admin_navigation_content=0;admin_navigation_translations=0;admin_children_viewmode=list;admin_list_limit=1;admin_edit_show_locations=0;admin_leftmenu_width=10;admin_url_list_limit=10;admin_url_view_limit=10;admin_section_list_limit=1;admin_orderlist_sortfield=user_name;admin_orderlist_sortorder=desc;admin_search_stats_limit=1;admin_treemenu=1;admin_bookmarkmenu=1;admin_left_menu_width=13

Kristof Coomans

Thursday 01 September 2005 7:04:38 am

No. As far as I know, that settings is only used by view caching.

Just delete everything in design/admin/templates/parts/content/menu.tpl and save it.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Jack Rackham

Thursday 01 September 2005 8:28:56 am

Well that removed the link to the trash as well, but it's better to have no shortcut to the trash than to display that awful menu.

Kristof Coomans

Thursday 01 September 2005 8:54:28 am

The template code for the link to trash:

{section show=ne( $ui_context, 'browse' )}
<div id="trash">
<ul>
    <li><img src={'trash-icon-16x16.gif'|ezimage} width="16" height="16" alt="Trash" />&nbsp;<a href={concat( '/content/trash/', ezini( 'NodeSettings', 'RootNode', 'content.ini' ) )|ezurl} title="{'View and manage the contents of the trash bin.'|i18n( 'design/admin/parts/content/menu' )}">{'Trash'|i18n( 'design/admin/parts/content/menu' )}</a></li>
</ul>
</div>
{/section}

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Paul Borgermans

Thursday 01 September 2005 10:19:58 am

Hi,

There are also settings in contentstructuremenu.ini

MaxDepth and MaxNodes are your friends there (ezp 3.6.1 is what I use here).

Try for instance

MaxDepth=3
MaxNodes=10

Clear the caches and see what happens

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 03:42:08
Script start
Timing: Jan 31 2025 03:42:08
Module start 'layout'
Timing: Jan 31 2025 03:42:08
Module start 'content'
Timing: Jan 31 2025 03:42:08
Module end 'content'
Timing: Jan 31 2025 03:42:08
Script end

Main resources:

Total runtime0.0214 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0234151.1953
Module start 'layout' 0.00440.0040 739.2188220.6563
Module start 'content' 0.00840.0117 959.87501,005.8672
Module end 'content' 0.02010.0013 1,965.742237.9922
Script end 0.0214  2,003.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.7452140.0002
Check MTime0.00115.0310140.0001
Mysql Total
Database connection0.00062.891810.0006
Mysqli_queries0.002612.296730.0009
Looping result0.00000.060010.0000
Template Total0.00094.310.0009
Template load0.00073.385510.0007
Template processing0.00020.913910.0002
Override
Cache load0.00052.467110.0005
General
dbfile0.00031.239780.0000
String conversion0.00000.032240.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