Skip to the content
Documentation

Re: A note about NavigationPartIdentifier

No ratings yet

For those of you trying to create a custom left menu on an older Exponential version (and yes, before you say anything, I know that these are the docs for eZP 4.0, but I figured that there might be others out there as stupid as me), please note that the ability to use custom left menus was added in v. 3.8.
However, adding support for it in v. 3.5 and later is fairly easy. Just create an override of the admin pagelayout, and add the following code after:

{section show=eq( $navigation_part.identifier, 'ezmynavigationpart' )}    {include uri='design:parts/my/menu.tpl'}{/section}

and before

{/section}

Code to add:

{section show=is_set( $module_result.left_menu )}{include uri=$module_result.left_menu}{/section}