public function renderDetails($tpl = null) { $carrierModel = new JeproshopCarrierModelCarrier(); $carriers = $carrierModel->getCarriersList(); $this->assignRef('carriers', $carriers); if ($this->getLayout() != 'modal') { $this->addToolBar(); $this->sideBar = JHtmlSidebar::render(); } parent::display($tpl); }