Sign in to follow this
Followers
0

Криво встала фотография на сайте(нет адаптации)
By
antipov, 03/23/2018 09:02 PM in Opencart 2.x: Настройка и оптимизация
-
Similar Content
-
By AlexMax13
Здравствуйте)
Есть такой сайт:
У него есть полная адаптация под мобильные устройства. Проблема в том что гугл в упор этого не видит.
результаты системы от гугл mobile-friendly неверные.
Явно проблема с прогрузкой стилей.
В чем может быть проблема?
Opencart 3
-
By travkovs
Доброго дня!
.
Необходимо адаптировать три модуля под шаблон UniShop2 - на OcStore 3
На дефолтном всё проверил, устанавливается и работает корректно
.
1) OcFilter - встал как-то криво
2) Видео в карточке - не врезается в шаблон
3) Избранные товары - оформить в стиле сайта
-
By Xameleon
Приветствую!
Нужна адаптация ряду модулей под темя techstore.
Так же в перспективы другие доработки. Возможное сотрудничество на долгой основе.
-
By Gann
Приветствую!
Прошу посильной помощи в адаптации модуля с 2.3 на 2.1.
Вот часть кода, которую не могу адаптировать:
<file path="admin/controller/startup/startup.php"> <operation info="Add Shortcodes to admin $registry"> <search><![CDATA[$this->registry->set('encryption']]></search> <add position="after"><![CDATA[ // OpenCart Shortcodes $this->registry->set('shortcodes', new Shortcodes($this->registry)); ]]></add> </operation> </file> <file path="catalog/controller/startup/startup.php"> <operation info="Add Shortcodes to front $registry"> <search><![CDATA[$this->registry->set('encryption']]></search> <add position="after"><![CDATA[ // OpenCart Shortcodes $this->registry->set('shortcodes', new Shortcodes($this->registry)); ]]></add> </operation> </file> <file path="catalog/controller/startup/maintenance.php"> <operation> <search><![CDATA[function index()]]></search> <add position="after"><![CDATA[ //========= OpenCart Shortcodes //=== Default shortcodes $this->load->helper('shortcodes_default'); $class = new ShortcodesDefault($this->registry); $scDefaults = get_class_methods($class); foreach ($scDefaults as $shortcode) { $this->shortcodes->add_shortcode($shortcode, $class); } //=== Extensions shortcodes : for extensions developer $files = glob(DIR_APPLICATION . '/view/shortcodes/*.php'); if ($files) { foreach ($files as $file) { require_once($file); $file = basename($file, ".php"); $extClass = 'Shortcodes' . preg_replace('/[^a-zA-Z0-9]/', '', $file); $class = new $extClass($this->registry); $scExtensions = get_class_methods($class); foreach ($scExtensions as $shortcode) { $this->shortcodes->add_shortcode($shortcode, $class); } } } //--------------- OLD theme OpenCart 2 compatible $theme = $this->config->get('config_theme'); if ($this->config->get('config_theme') == 'theme_default') { $theme = $this->config->get('theme_default_directory'); } //=== Themes shortcodes : for theme developer $file = DIR_TEMPLATE . $theme . '/shortcodes_theme.php'; if (file_exists($file)) { require_once($file); $class = new ShortcodesTheme($this->registry); $scThemes = get_class_methods($class); foreach ($scThemes as $shortcode) { $this->shortcodes->add_shortcode($shortcode, $class); } } $this->event->trigger('shortcodes/themes/after', array(&$data)); //=== Custom shortcodes : user power! $file = DIR_TEMPLATE . $theme . '/shortcodes_custom.php'; if (file_exists($file)) { require_once($file); $class = new ShortcodesCustom($this->registry); $scCustom = get_class_methods($class); foreach ($scCustom as $shortcode) { $this->shortcodes->add_shortcode($shortcode, $class); } } //========= End:: OpenCart Shortcodes ]]></add> </operation> </file> В 2.1 нет startup
-
By Anatoliy888
Добрый день, коллеги!
Прошу прощения за вероятно глупый вопрос, но перед тем как спрашивать неоднократно опробовал все возможные способы.
Для справки - я очень начинающий пользователь opencart 3, уровень "почти 0"
История: Купил на themforest премиум шаблон basel, в комплекте предлагалось несколько сменных дизайнов (тем). Шаблон установил, он работает.
Не могу сменить тему default .... действовал строго по инструкции - результат "0"....
Написал разработчику - он прислал ту же инструкцию - еще несколько раз сделал все по ней - результат "0"...
Проверил, не удалил ли я случайно какую-то папку и все - ли установил - ничего не потерял, все установил....
Прошу, подскажите что делать ???
Заранее благодарен.
С уважением,
-
-
Recently Browsing 0 members
No registered users viewing this page.