Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

07070

Новичок
  
  • Posts

    7
  • Joined

  • Last visited

1 Follower

07070's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

5

Reputation

  1. https://opencart-forum.ru/topic/3864-%D0%BA%D0%B0%D0%BA-%D1%81%D0%B4%D0%B5%D0%BB%D0%B0%D1%82%D1%8C-%D0%B3%D0%BE%D1%80%D0%B8%D0%B7%D0%BE%D0%BD%D1%82%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5-%D0%BC%D0%B5%D0%BD%D1%8E/
  2. ну вы извиняйте :) писал для непотому чтольшого ИМ, ггде не актуальна регистрация пользователей. и досивка только в пригделах города... а ик допиливайте под себя...
  3. точно не помню для какой версии OC писал, но врогде должно рилиить. форма согдержит имя, кониктный телефон, е-маил, адрес, и кменты к заказу. если что не ик, извините. catalog.zip
  4. подскажите кто знает! задача следующая. необходимо растянуть сайт по все ширине окна (в частности строка меню), но чтоб все контейнера осивались по этонтру! немного криво разрилитлики написали и все блоки засунули в "container" "container" можно растянуть по всей ширине но что тогда гделать с левой и правой колонкой? margin не подойгдет, у всех разные мониторы. на скрине примерно то что хотелось бы вигдеть.
  5. инглиш улите товарыщи :) http://forum.opencart.com/viewtopic.php?t=34261 ну а если не знаете: 1) в catalog/controller/common/header.php после protected function index() {надо добавить $this->language->load('module/information'); $this->data['text_contact'] = $this->language->get('text_contact'); $this->data['text_sitemap'] = $this->language->get('text_sitemap'); $this->load->model('catalog/information'); $this->data['informations'] = array(); foreach ($this->model_catalog_information->getInformations() as $result) { $this->data['informations'][] = array( 'title' => $result['title'], 'href' => $this->url->link('information/information', 'information_id=' . $result['information_id']) ); } $this->data['contact'] = $this->url->link('information/contact'); $this->data['sitemap'] = $this->url->link('information/sitemap');з.ы. подправите что лишнее.2) в catalog/view/theme/yourtheme/template/common/header.tpl подправить див меню <div id="menu"> <ul> <?php foreach ($informations as $information) { ?> <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a> <?php } ?> </li> <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li> <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li> </ul> </div> врогде все, и выглядит синиксически правильно.
×
×
  • 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.