Forums / Setup & design / Adding new navigation part

Adding new navigation part

Author Message

Sebastiaan van der Vliet

Monday 01 November 2004 3:20:02 am

Hi,

I have added a new navigation part to the admin interface by modifying the pagelayout.tpl admin template. However, to show the new tab as 'active' when a user clicks on the tab, I had to add the following entry to the file 'kernel\classes\eznavigationpart.php':

array( 'name' => 'Library',
'identifier' => 'ezlibrarynavigationpart' ),

Is it possible to show a new tab as 'active' when a user clicks on it, without editing eznavigationpart.php?

The tab displays an extension, but adding the line

    'default_navigation_part' => 'ezlibrarynavigationpart',

to the module.php file of the extension does not seem to make any difference.

Thanks for your help,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.