protected function GetSeoPatternString($dont_replace = false)
    {
        //return ''; //why? //#7767
        $sPattern = ''; //"[{PORTAL_NAME}] - [{PAGE_NAME}]";
        /** @var $oSeoRenderer TCMSRenderSeoPattern */
        $oSeoRenderer = new TCMSRenderSeoPattern();

        $sTmpPattern = parent::GetSeoPatternString(true);
        if (strlen(trim($sTmpPattern)) > 0) {
            $sPattern = $sTmpPattern;
        }

        $oActiveArticle = TdbShop::GetActiveItem();
        if ($oActiveArticle) {
            $arrRepl = $oActiveArticle->GetSeoPattern($sPattern);
            $oSeoRenderer->AddPatternReplaceValues($arrRepl);

            return $oSeoRenderer->RenderPattern($sPattern);
        } else {
            $oActiveCategory = TdbShop::GetActiveCategory();
            if ($oActiveCategory) {
                $arrRepl = $oActiveCategory->GetSeoPattern($sPattern);
                $oSeoRenderer->AddPatternReplaceValues($arrRepl);

                return $oSeoRenderer->RenderPattern($sPattern);
            }
        }

        return parent::GetSeoPatternString();
    }