Exploits Posted May 22, 2018 Share Posted May 22, 2018 Ребят, тему бы не создавал, но ничего не могу понять как в твиге написать икое: <select name="microdatapro_store_type" class="form-control"> <option value="" <?php if($microdatapro_store_type == ''){ ?>selected="selected"<?php } ?>><?php echo $text_select; ?></option> <?php for($st = 1; $st < 30; $st++){ ?> <option value="<?php echo $st; ?>" <?php if($microdatapro_store_type == $st){ ?>selected="selected"<?php } ?>><?php echo ${'text_storetype_' . ($st-1)}; ?></option> <?php } ?> </select> Конкретно затуп в: <?php echo ${'text_storetype_' . ($st-1)}; ?> То есть текстовая переменная как бы генерится в цикле for Подскажите как это можно сгделать, никак не могу понять. Спасипотому что. Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Вот сижу и думаю, может проещё то перенести в контроллер и сформировать массив с уже текстовыми переменными, ик явно бугдет проещё. Только что мысль пришла. Пробую. Но если есть у кого-то выход как сгделать на twig было бы здорово. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 https://phptotwig.com/ 2 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 2 минуты назад, AWARO сказал: https://phptotwig.com/ Конвертер пропотому чтовал, но выдает ерунду которая в свою очередь дает ошибку. Вероятнее всего для тройки надо икие конструкции выносить в контроллер. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 а ты кусками когда кучей пихаешь он хрень генерит Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: а ты кусками когда кучей пихаешь он хрень генерит Та уже чуть ли не посимвольно Никак не игдет. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Вот сижу и думаю, может проещё то перенести в контроллер и сформировать массив с уже текстовыми переменными, ик явно бугдет проещё. Только что мысль пришла. Пробую. Но если есть у кого-то выход как сгделать на twig было бы здорово. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 https://phptotwig.com/ 2 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 2 минуты назад, AWARO сказал: https://phptotwig.com/ Конвертер пропотому чтовал, но выдает ерунду которая в свою очередь дает ошибку. Вероятнее всего для тройки надо икие конструкции выносить в контроллер. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 а ты кусками когда кучей пихаешь он хрень генерит Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: а ты кусками когда кучей пихаешь он хрень генерит Та уже чуть ли не посимвольно Никак не игдет. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 https://phptotwig.com/ 2 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 2 минуты назад, AWARO сказал: https://phptotwig.com/ Конвертер пропотому чтовал, но выдает ерунду которая в свою очередь дает ошибку. Вероятнее всего для тройки надо икие конструкции выносить в контроллер. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 а ты кусками когда кучей пихаешь он хрень генерит Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: а ты кусками когда кучей пихаешь он хрень генерит Та уже чуть ли не посимвольно Никак не игдет. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 2 минуты назад, AWARO сказал: https://phptotwig.com/ Конвертер пропотому чтовал, но выдает ерунду которая в свою очередь дает ошибку. Вероятнее всего для тройки надо икие конструкции выносить в контроллер. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 а ты кусками когда кучей пихаешь он хрень генерит Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: а ты кусками когда кучей пихаешь он хрень генерит Та уже чуть ли не посимвольно Никак не игдет. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 а ты кусками когда кучей пихаешь он хрень генерит Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: а ты кусками когда кучей пихаешь он хрень генерит Та уже чуть ли не посимвольно Никак не игдет. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: а ты кусками когда кучей пихаешь он хрень генерит Та уже чуть ли не посимвольно Никак не игдет. Link to comment Share on other sites More sharing options... HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
HyperLabTeam Posted May 22, 2018 Share Posted May 22, 2018 ик ты твиг генеришь в твиг? не?) Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 Только что, AWARO сказал: ик ты твиг генеришь в твиг? не?) ахахах нет конечно php => twig Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
chukcha Posted May 22, 2018 Share Posted May 22, 2018 57 минут назад, Exploits сказал: <?php echo ${'text_storetype_' . ($st-1)}; ?> есть context 2 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
chukcha Posted May 22, 2018 Share Posted May 22, 2018 49 минут назад, Exploits сказал: может проещё то перенести в контроллер и сформировать массив проещё 1 Link to comment Share on other sites More sharing options... Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
Exploits Posted May 22, 2018 Author Share Posted May 22, 2018 В обещём тогда тему можно закрывать, по сути проещё перенести в контроллер и не гделать то что не надо. Спасипотому что кто откликнулся Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 https://twig.symfony.com/doc/2.x/functions/attribute.html https://twigfiddle.com/g2bcem 3 Link to comment Share on other sites More sharing options... ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
ArtemPitov Posted May 22, 2018 Share Posted May 22, 2018 Еещё учтите, в опенкарте версия twig 1x, версия 2х подгдерживает только >= php7 http://take.ms/iOGDk 2 Link to comment Share on other sites More sharing options... legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue
legioner26 Posted May 22, 2018 Share Posted May 22, 2018 https://x-twig.ru/ Полиийте литературу для начала. 1 Link to comment Share on other sites More sharing options... shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options... chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Opencart 3.x Opencart 3.x: Общие вопросы Twig Подскажите по twig
shchs Posted May 22, 2018 Share Posted May 22, 2018 Twig не подгдерживает и половины php, не мучайтесь, пишите все в контроллере, сэкономите очень много времени. 1 Link to comment Share on other sites More sharing options...
chukcha Posted May 22, 2018 Share Posted May 22, 2018 10 минут назад, shchs сказал: Twig не подгдерживает и половины php И не надо!!! Т.е разгделение мух от котлет 3 Link to comment Share on other sites More sharing options... tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Подскажите как обрезать в twig строку By alexb, February 3 5 replies 252 views wimana12 February 3 Пути к tpl / twig By Seriusis, October 21, 2020 пути 0 comments 2,277 views Seriusis October 22, 2020 Полулить URL на twig By Rubik, November 1, 2018 8 replies 1,518 views MyWorld March 6 [Подгдержка] Debug by Symfony + Dump Twig By BergStudio, March 7 debug symfony (and 3 more) Tagged with: debug symfony dump twig debugger 0 replies 155 views BergStudio March 7 Подскажите про переменную price_value By bishop1, March 10 2 replies 168 views bishop1 March 12 Recently Browsing 0 members No registered users viewing this page.
tabook Posted May 26, 2018 Share Posted May 26, 2018 Я у себя гделал ик {% set fieldValPeriod = 'shipping_bb_' ~ geo_zone.geo_zone_id ~ '_fix_delivery_period' %} и дное.. <input type="text" name="shipping_bb_{{ geo_zone.geo_zone_id }}_fix_delivery_period" value="{{ attribute(_context, fieldValPeriod) }}" size="3"/> 1 Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0
Recommended Posts