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

fanatic

Users
  • Posts

    4,905
  • Joined

  • Last visited

Everything posted by fanatic

  1. если у вас ocSrore, в админке можно переключить на другой редактор(больше функционала)
  2. файл admin\view\javascript\summernote\opencart.js $(element).summernote({ disableDragAndDrop: true, height: 300, lang: lang, emptyPara: '', toolbar: [ ['style', ['style']], ['font', ['bold', 'underline', 'clear']], ['fontname', ['fontname']], // добавляем размер в тулбар ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['table', ['table']], ['insert', ['link', 'image', 'video']], ['view', ['fullscreen', 'codeview', 'help']] ], // добавляем нужные размеры fontSizes: [ '12', '16', '18', '24'],
  3. 1. а не сведущим, тяжело глянуть как выводятся другие названия и сделать по аналогии? для этого не нужен профессиональный уровень. 2. если все время давать рыбу, человек никогда не научиться ее ловить 3 каждый судит в меру своей распущенности 4. лично для вас шаблон <td><?php echo $column_image; ?></td> контроллер $data['column_image'] = $this->language->get('column_image'); в файл локализации $_['column_image'] = 'Изображение';
  4. подробное описание, как все должно выглядеть на фронте и в админе, есть?
  5. огласите список подробней Другими словами - разработать дизайн и сверстать? и что значит тд?(подробности)
  6. открываем класс response и смотрим что делает метод setOutput исходный код, лучшая документация(имхо) пройти от индекса до контроллера, разбирая(понимая) каждую строчку
  7. $data['categories'] = array(); $results = $this->model_catalog_category->getCategories($category_id); foreach ($results as $result) { $filter_data = array( 'filter_category_id' => $result['category_id'], 'filter_sub_category' => true ); $children_data = array(); $children = $this->model_catalog_category->getCategories($result['category_id']); foreach ($children as $child) { $filter_data = array('filter_category_id' => $child['category_id'], 'filter_sub_category' => true); $children_data[] = array( 'category_id' => $child['category_id'], 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $result['category_id'] . '_' . $child['category_id']) ); } $data['categories'][] = array( 'children' => $children_data, 'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url) ); } <div class="row"> <div class="col-sm-3"> <ul> <?php foreach ($categories as $category) { ?> <li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li> <?php if($category['children']){ ?> <ul> <?php foreach($category['children'] as $child){ ?> <li><a href="<?php echo $child['href']; ?>"><?php echo $child['name']; ?></a></li> <?php } ?> </ul> <?php } ?> <?php } ?> </ul> </div> </div>
  8. если все работает как часы, не утраивает только дизайн, нафига переходить поменять дизайн(имхо)
×
×
  • 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.