public function init() { parent::init(); $this->view->languages = Axis::model('locale/option_language')->toArray(); $this->view->sites = Axis::model('core/option_site')->toArray(); $this->view->locales = Axis::single('locale/language')->select()->fetchAssoc(); $this->view->adminUrl = '/' . trim(Axis::config('core/backend/route'), '/ '); }
public function init() { parent::init(); Axis::single('account/customer')->checkIdentity(); $this->_helper->breadcrumbs(array('label' => Axis::translate('core')->__('Home'), 'route' => 'core')); // fix to remove duplicate favicon, canonical when forwarding request $this->view->headLink()->getContainer()->exchangeArray(array()); }
public function init() { parent::init(); Axis::single('account/customer')->checkIdentity(); $this->_helper->breadcrumbs(array('label' => Axis::translate('core')->__('Home'), 'route' => 'core')); // fix to remove duplicate favicon, canonical when forwarding request // this is not an option, because we should allow to add resources from the bootstrap in future // $this->view->headLink()->getContainer()->exchangeArray(array()); }
public function init() { parent::init(); Axis::single('account/customer')->checkIdentity(); $this->_helper->breadcrumbs(array('label' => Axis::translate('core')->__('Home'), 'route' => 'core')); }
public function init() { parent::init(); $this->view->adminUrl = '/' . trim(Axis::config('core/backend/route'), '/ '); }