/** * Get positions from active theme. * * @return array */ public function getThemePositions() { $name = Configure::read('Theme.' . Theme::CLIENT_FRONT_END); $theme = $this->_table->findByName($name)->cache('active_frontend', 'themes')->first(); return $theme->getPositions(); }