Menu Asset
For my purposes the "Activity" tab that is shown on the menu (not the per user one) is a bit of a waste of space and well I need the space. But looking at the template there seems to be just a single "Menu" asset to render. Is there a more limited set of assets that you can render one by one?
0
Comments
$Menu->RemoveGroup('Activity');
I've added that line to default.master.php (and variations including $this->RemoveGroup('Activity');), however all appear to result in an error. I take it you are assuming that the $Menu object exists when the template is executed: is there another name it could be under?
if (property_exists('Menu', $this)) $this->Menu->RemoveGroup('Activity');
That produces a fatal error. If I remove the if it doesn't error, but it still doesn't remove the activity menu. I've tried it before and after the render menu command.