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

07070

Newbie
  
  • 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://opencartforum.com/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.