/** * */ public function getFullPath() { $path = parent::getFullPath(); if (!Pimcore::inAdmin()) { // check for a pretty url $prettyUrl = $this->getPrettyUrl(); if (!empty($prettyUrl) && strlen($prettyUrl) > 1) { return $prettyUrl; } } return $path; }