public function display($cachable = false, $urlparams = array()) { if (JRequest::getCmd('view') == '') { JRequest::setVar('view', 'main'); } parent::display($cachable, $urlparams); }
public function edit() { JRequest::setVar('layout', 'form'); parent::display(); }