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.