diff --git a/src/platforms/joomla/classes/Gantry/Framework/Menu.php b/src/platforms/joomla/classes/Gantry/Framework/Menu.php index d8283482f..c28247476 100644 --- a/src/platforms/joomla/classes/Gantry/Framework/Menu.php +++ b/src/platforms/joomla/classes/Gantry/Framework/Menu.php @@ -264,6 +264,11 @@ public function getList(array $params, array $items) $menuItems = $this->getItemsFromPlatform($params); + // Filter hidden items + $menuItems = array_filter($menuItems, function($item) { + return $item->params->get('menu_show', null) !== 0; + }); + $itemMap = []; foreach ($items as $path => &$itemRef) { if (isset($itemRef['id']) && is_numeric($itemRef['id'])) {