/** * Executes before rendering the page for the Edit task. */ protected function onBeforeEdit() { // Hide main menu \JFactory::getApplication()->input->set('hidemainmenu', true); parent::onBeforeEdit(); }