CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11590] Admintheme Module Actions Show in Menu

avatar
Created By: Krisztian Kishazi (kishman155)
Date Submitted: Mon Oct 02 16:36:16 -0400 2017

Assigned To:
Version: 2.2.3.1
CMSMS Version: 2.2.3.1
Severity: Minor
Resolution: None
State: Open
Summary:
Admintheme Module Actions Show in Menu
Detailed Description:
If a action is called with no menu item the bradcrumbs navigation fail to give
the correct breadcrumb

_populate_admin_navigation(

'show_in_menu'=>true

for the Breadcrumbs navigation to work probebly with CmsAdminMenuItem
there schould be a key in CmsAdminMenuItem maybe called showinmenu

this key should be by default true for compatibility reason.

and in the method _populate_admin_navigation( there could be easaly called
'show_in_menu'=>$menuItem->showinmenu

it's better then

// if we only have a pending key, we use it... not ideal.
if( !$selected_key && $pending_selected_key ) $selected_key =
$pending_selected_key;





History