Fecmall

Editor xhedit je v čínštině
- nastavit v souboru vendor/fancyecommerce/fec-admin/myassets/DwzAsset.php 
'xheditor/xheditor_lang/en.js',

Aktualizace databáze: https://github.com/fecshop/yii2_fecshop/tree/master/migrations

Chyba - nezobrazují se všechny varianty!

nutno v souboru /vendor/fancyecommerce/fecshop/services/helper/AR.php zvýšit hodnotu proměnně $numPerPage z původních 20 na více:  public $numPerPage = 2000;//JHInformica oprava aby se zobrazovaly vsechny varianty

app/appfront/widgets/Page.php

/*JHInformica seo first page*/































$url = preg_replace('/\?p=[1]$/','',$url);































$url = preg_replace('/\&p=[1]$/','',$url);































fecshop/services/cms/StaticBlock.php: 































 /*InformicaJH*/































protected function actionGetStoreContent2ByIdentify($identify, $app = 'common')































    {































        $staticBlock    = $this->_static_block->getByIdentify($identify);































        $content        = $staticBlock['content2'];































        $storeContent   = Yii::$service->store->getStoreAttrVal($content, 'content2');































        $_params_       = $this->getStaticBlockVariableArr($app);































        ob_start();































        ob_implicit_flush(false);































        extract($_params_, EXTR_OVERWRITE);































        foreach ($_params_ as $k => $v) {































            $key = '{{'.$k.'}}';































            if (strstr($storeContent, $key)) {































                $storeContent = str_replace($key, $v, $storeContent);































            }































        }































        echo $storeContent;































        return ob_get_clean();































    }































        protected function actionGetStoreVideoByIdentify($identify, $app = 'common')































    {































        $staticBlock    = $this->_static_block->getByIdentify($identify);































         $params        = $staticBlock['video'];































      































        ob_start();































        ob_implicit_flush(false);































      































        echo $params;































        return ob_get_clean();































    }































    protected function actionGetParamsByIdentify($identify, $app = 'common')































    {































        $staticBlock    = $this->_static_block->getByIdentify($identify);































        $params        = $staticBlock['params'];































      































        ob_start();































        ob_implicit_flush(false);































      































        echo $params;































        return ob_get_clean();































    }































    































    































    protected function actionGetParams2ByIdentify($identify, $app = 'common')































    {































        $staticBlock    = $this->_static_block->getByIdentify($identify);































        $params        = $staticBlock['params2'];































      































        ob_start();































        ob_implicit_flush(false);































      































        echo $params;































        return ob_get_clean();































    }































/*InformicaJH*/































Rate this FAQ

0 (0 Votes)

Related entries