Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

annnn

Користувачі
  
  • Публікації

    160
  • З нами

  • Відвідування

Усі публікації користувача annnn

  1. Какой модуль лучше ставить для нескольких локализаций? что бы можно было настроить правильную отдачу сайта /ua /ru и пр. спасибо
  2. Категория товары Следующая товары Следующая товары и т.д
  3. Здравствуйте подскажите нужно вывести кнопку в разных вариантах если неавторизирован - одна кнопка если залогинился - совсем другая подскажите как правильно прописать if else Спасибо
  4. ocStore 3.0.3.7 поставил, модуль в админке есть, вроде бы все хорошо, включил в настройках но статус в списке модулей не меняется, соответственно на фронте модуль не включается шаблон ДЕФОЛТНЫЙ в настройках все ок, но в списке статус модуля отключен как быть?
  5. да обновлял, ничего не выводит
  6. делаю так 'attribute_groups' => $this->model_catalog_product->getProductAttributes($product_info['product_id']), {% for attribute_group in attribute_groups %} {% for attribute in attribute_group.attribute %} {% if attribute.attribute_id in [14, 2, 3, 4] %} <!-- тут id атрибутов --> <td>{{ attribute.name }}</td><!-- тут название атрибута--> <td>{{ attribute.text }}</td><!-- тут текст/описание атрибута --> {% endif %} {% endfor %} {% endfor %} ошибки нету, но аттрибуты не выводятся что не так?
  7. имеете в виду здесь ? ['product_id'] меняю на info безрезультатно
  8. теперь другая проблема ругается на контроллер, при добавлении в featured.php 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), Notice: Undefined variable: result in C:\OpenServer\domains\gipsanit\catalog\controller\extension\module\featured.php on line 60Notice: Trying to access array offset on value of type null in
  9. Под 2 oc есть мануал под 3 не найду, в контроллер добавил 'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']), в самом шаблоне twig не знаю как вывести нужные аттрибуты по id подскажите
  10. вот контроллер и twig админки
  11. <?xml version="1.0" encoding="utf-8"?> <modification> <name>TS CountDown Timer</name> <code>CountDown-Timer-v1-1-by-Tramplin-Studio</code> <version>1.1</version> <author>Tramplin Studio</author> <link>https://tramplin-studio.store/</link> <file path="catalog/controller/common/header.php"> <operation> <search><![CDATA[public function index() {]]></search> <add position="after"><![CDATA[ $this->load->model('extension/module/ts_countdown_timer'); $data['ts_countdown_timer_customize'] = $this->model_extension_module_ts_countdown_timer->getCustomize(); if ($data['ts_countdown_timer_customize']) { $this->document->addStyle('catalog/view/javascript/tramplin-studio/CountdownTimer/CountdownTimer.css'); $this->document->addScript('catalog/view/javascript/tramplin-studio/CountdownTimer/jquery.corner.js'); $this->document->addScript('catalog/view/javascript/tramplin-studio/CountdownTimer/CountdownTimer.js'); } ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/common/header.tpl"> <operation> <search><![CDATA[</head>]]></search> <add position="before"><![CDATA[ <?php if($ts_countdown_timer_customize) { ?> <script type="text/javascript">var cdtCustomize = JSON.parse('<?php echo $ts_countdown_timer_customize; ?>');</script> <?php } ?> ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/common/header.twig"> <operation> <search><![CDATA[</head>]]></search> <add position="before"><![CDATA[ {% if (ts_countdown_timer_customize) %} <script type="text/javascript">var cdtCustomize = JSON.parse('{{ ts_countdown_timer_customize }}');</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/product/product.php"> <operation> <search><![CDATA[if ((float)$product_info['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$product_info['special']) { $this->load->model('extension/module/ts_countdown_timer'); $data['ts_countdown_timer'] = $this->model_extension_module_ts_countdown_timer->getTimer($this->request->get['product_id'], 'product'); } else { $data['ts_countdown_timer'] = false; } ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/product/product.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<h2><?php echo $special; ?></h2>]]></search> <add position="after"><![CDATA[ <?php if ($ts_countdown_timer) { ?> <div class="TSCountDownTimer" id="cdtBlock-product-<?php echo $product_id; ?>"></div> <script>$("#cdtBlock-product-<?php echo $product_id; ?>").TSCountDownTimer(JSON.parse('<?php echo $ts_countdown_timer; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<h2>{{ special }}</h2>]]></search> <add position="after"><![CDATA[ {% if (ts_countdown_timer) %} <div class="TSCountDownTimer" id="cdtBlock-product-{{ product_id }}"></div> <script>$("#cdtBlock-product-{{ product_id }}").TSCountDownTimer(JSON.parse('{{ ts_countdown_timer }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/product/category.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'category'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/product/category.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-category-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-category-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-category-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-category-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/product/manufacturer.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'manufacturer'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/product/manufacturer_info.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-manufacturer-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-manufacturer-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-manufacturer-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-manufacturer-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/product/special.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'special'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/product/special.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-special-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-special-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-special-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-special-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/product/search.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'search'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/product/search.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-search-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-search-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-search-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-search-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/extension/module/featured.php"> <operation> <search><![CDATA[if ((float)$product_info['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$product_info['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($product_info['product_id'], 'featured'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/extension/module/featured.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-featured-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-featured-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-featured-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-featured-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/extension/module/latest.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'latest'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/extension/module/latest.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-latest-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-latest-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-latest-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-latest-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/extension/module/bestseller.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'bestseller'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/extension/module/bestseller.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-bestseller-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-bestseller-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-bestseller-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-bestseller-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/extension/module/special.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'specialmod'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/extension/module/special.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-specialmod-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-specialmod-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-specialmod-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-specialmod-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> <file path="catalog/controller/product/product.php"> <operation> <search><![CDATA[if ((float)$result['special']) {]]></search> <add position="before"><![CDATA[ if ((float)$result['special']) { $this->load->model('extension/module/ts_countdown_timer'); $ts_countdown_timer = $this->model_extension_module_ts_countdown_timer->getTimer($result['product_id'], 'related'); } else { $ts_countdown_timer = false; } ]]></add> </operation> <operation> <search><![CDATA[=> $special,]]></search> <add position="after"><![CDATA[ 'ts_countdown_timer' => $ts_countdown_timer, ]]></add> </operation> </file> <file path="catalog/view/theme/*/template/product/product.{tpl,twig}"> <operation error="skip"> <search><![CDATA[<span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>]]></search> <add position="after"><![CDATA[ <?php if ($product['ts_countdown_timer']) { ?> <div class="TSCountDownTimer" id="cdtBlock-related-<?php echo $product['product_id']; ?>"></div> <script>$("#cdtBlock-related-<?php echo $product['product_id']; ?>").TSCountDownTimer(JSON.parse('<?php echo $product['ts_countdown_timer']; ?>'));</script> <?php } ?> ]]></add> </operation> <operation error="skip"> <search><![CDATA[<span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span>]]></search> <add position="after"><![CDATA[ {% if (product['ts_countdown_timer']) %} <div class="TSCountDownTimer" id="cdtBlock-related-{{ product['product_id'] }}"></div> <script>$("#cdtBlock-related-{{ product['product_id'] }}").TSCountDownTimer(JSON.parse('{{ product['ts_countdown_timer'] }}'));</script> {% endif %} ]]></add> </operation> </file> </modification> вот он, только я фигзнает что тут править
  12. не подскажете что нужно подправить?
  13. шаблон полностью дефолтный, по идее должен работать но не работает на фронте
  14. Кто пользовался данным модулем? ocStore 3.0.3.7 поставил, модуль в адмтнке есть, вроде бьы все хорошо, включил в настройках но статус в списке модулей не меняется, соответственно на фронте модуль не включается мож кто сталкивался с такой проблемой? такое замечал не только в данном модуле в настройках все ок, но в списке статус модуля отключен
  15. Подскажитте пожалуйста нашел мануал, но моих знаний не хватает понять как правильно туда втулить вот, выделил жирным, что именно не понимаю как вставить Создаю колонку desc (varchar 255 not null ) в таблице oc_banner_image В файле /admin/model/design/banner.php в функцию addBanner добавляю desc = '" . $this->db->escape($banner_image['desc']) . "' В этом же файле в функцию editBanner добавляю этот же код В этом же файле в функцию getBannerImages добавил 'desc' => $banner_image['desc'] Далее в файле /admin/controller/design/banner.php в массив $data['banner_images'] добавил 'desc' => $banner_image['desc'] Потом на фронте создал нужное поле в файле /admin/view/template/design/banner_form.twig вот эти 2 функции, как правильно туда это впихнуть? public function addBanner($data) { $this->db->query("INSERT INTO " . DB_PREFIX . "banner SET name = '" . $this->db->escape($data['name']) . "', status = '" . (int)$data['status'] . "'"); $banner_id = $this->db->getLastId(); if (isset($data['banner_image'])) { foreach ($data['banner_image'] as $language_id => $value) { foreach ($value as $banner_image) { $this->db->query("INSERT INTO " . DB_PREFIX . "banner_image SET banner_id = '" . (int)$banner_id . "', language_id = '" . (int)$language_id . "', title = '" . $this->db->escape($banner_image['title']) . "', link = '" . $this->db->escape($banner_image['link']) . "', image = '" . $this->db->escape($banner_image['image']) . "', sort_order = '" . (int)$banner_image['sort_order'] . "'"); } } } return $banner_id; } public function getBannerImages($banner_id) { $banner_image_data = array(); $banner_image_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "banner_image WHERE banner_id = '" . (int)$banner_id . "' ORDER BY sort_order ASC"); foreach ($banner_image_query->rows as $banner_image) { $banner_image_data[$banner_image['language_id']][] = array( 'title' => $banner_image['title'], 'link' => $banner_image['link'], 'image' => $banner_image['image'], 'sort_order' => $banner_image['sort_order'] ); } return $banner_image_data; } Спасибо
  16. нужно было сделать не dropdown а что бы кнопки в ряд шли убрал выпадающий список теперь нужно активному языку (кнопке) присвоить класс напр. active как сделать такое условие? {% if languages|length > 1 %} <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-language"> <ul class="langlist"> {% for language in languages %} <li> <button class="btn btn-link btn-block language-select" type="button" name="{{ language.code }}">{{ language.name }}</button> </li> {% endfor %} </ul> <input type="hidden" name="code" value="" /> <input type="hidden" name="redirect" value="{{ redirect }}" /> </form> {% endif %}
  17. Вывод изображений категорий в главном меню Кто то под 3ю ветку делал? Можете поделиться мануалом? Под oc 2 решение есть, под 3 ю не получается сделать
×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.