Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

stydent

Users
  
  • Posts

    52
  • Joined

  • Last visited

Recent Profile Visitors

1,543 profile views

stydent's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Можно как то добавить чекбокс услуга подъема, цена фиксированная. Можно конечно товаром, но его надо будет выпиливать из всех запросов, что бы на сайте ни где не вылазил.
  2. в /system/library/response.php $mc = new className(''); echo $mc->output($output);
  3. да у меня он в system/library Такой способ вызывает PHP Fatal error: Call to a member function get() on string class className { private $registry; public function __construct($registry) { $this->db = $registry->get('db'); } ..... }
  4. решил не портить response.php своим кодом. в нем только создаю экземпляр своего класса и вызываю один метод. как в своем классе использовать например $this->db->query("...") ? если $db = new DB; то надо все указывать как для нового подключения. в примерах посмотрел \system\library\openbay\etsy.php там конструкция $this->db->query работает.
  5. Привет! Пишу свое дополнение. И все действия происходят в /system/library/response.php Понадобилось использовать($this->request->get['product_id']) класс request.php. Как его подключить в response? class Response extends Controller выдает PHP Fatal error: Call to a member function get() on null in ../system/engine/controller.php on line 10
  6. хорошо. еще было бы не плохо вывести модуль на странице поиска.
  7. Как удалось в демо http://demo2.ocfilter.com/dell/interfejs-podkljuchenija/usb/ вывести на странице производителей модуль? В админке раздел шаблоны закрыт для demo user.
  8. изменил admin/controller/extension/modification.php как написали. но мой модификатор не работает с двумя строчками. с одной все ок. чего может не хватать? <?xml version="1.0" encoding="utf-8"?> <modification> <name>my_hack</name> <code>2</code> <version>228</version> <author>Андрей</author> <link>5</link> <file path="catalog/view/theme/default/template/common/header.tpl"> <operation> <search reqex="true" quote="true" limit="2"><![CDATA[ <script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script> <link href="catalog/view/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" /> ]]></search> <add position="replace"><![CDATA[ 4545 ]]></add> </operation> </file> </modification>
  9. Есть карта сайта /index.php?route=information/sitemap, как ей сделать /sitemap или sitemap.html ? Без этого дополнения раньше открывалась.
Guest
×
  • 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.