Guest cotto3-3 Posted January 9, 2016 Share Posted January 9, 2016 Установлен модуль Меню Категорий Pro, но коснулось прописывать seo url для каждой категории и мне стало выдавать вот такую ошибку: Notice: Error: Unknown column 'u_title' in 'field list' Error No: 1054 UPDATE oc_category_description SET u_title = '', u_h1 = '',u_h2 = '' WHERE category_id = '17' AND language_id = '1' in /public_html/system/database/mysql.php on line 50 Может зря грешу на модуль, но в категории и подкатегории не могу нигде задать seo url Quote Link to comment Share on other sites More sharing options...
Guest vadim Posted January 10, 2016 Share Posted January 10, 2016 Мне кажется что надо переустановить модуль.Ошибка в БД,нет столбца в таблице. Quote Link to comment Share on other sites More sharing options...
Guest cotto3-3 Posted January 10, 2016 Share Posted January 10, 2016 недавно только исправила ошибку, был конфликт с модулем Seo Pack, но зато уже вторые сутки бьюсь над другим.. Я в самом начале, когда покупала шаблон, заказала сделать мне индивидуальное меню под свои статьи, выборочные, все мне сделали, все очень нравится и оформление и как сделали, но вот вылезло одно НО. Когда коснулось делать это злосчастное seo url на сайте, то в этом меню не отображается уникальный url, а выходит стандартный, т.е. http://loress.ru/index.php?route=information/information&information_id=13/ Эта же статья в футере все отлично показывает, т. е получается Seo pro, который встроен в осторе не обрабатывает это горизонтальное меню, а как исправить я даже ума не приложу..ставить другой модуль меню не хочу, мне этот очень очень нравится. Я залезла в хеддер, где создатель этого меню прописывал всё, нашла вот так, может подскажете, что можно исправить, чтобы на меню стало действовать seo url? Ниже прилагаю, что в header.tpl я нашла.. Это в самом низу файла находится, скопировала именно это.. [spoiler=header.tpl ] div.main_menu_item:hover div { display: block; } div.main_menu_item a:hover div { color:#ccc; } </style> <!--Menu 2014 © Izyum Web System www.izyum.name --> <div class="links"> <div id="sunladymenu" class = "main_menu_item"> <ul> <li><a href="/index.php">Главная</a></li> <li class="main_menu_item"> <?php foreach ($categories as $category) { ?> <a><?php echo $category['name']; ?></a> <?php /*echo $category['href'];*/?> <?php if ($category['children']) { ?> <div class="submenu"> <?php foreach ($category['children'] as $child) { ?> <div class = "my_submenu"><a href="<?php echo $child['href']; ?>" class = "my_links_menu"><?php echo $child['name']; ?></a></div> <?php } ?> </div> <?php } ?> <?php } ?> </li> <li><a href="/index.php?route=checkout/simplecheckout/">Мои заказы</a></li> <li><a href="/index.php?route=information/information&information_id=13/">Как купить</a></li> <li><a href="/index.php?route=information/information&information_id=6">Оплата и доставка</a></li> <li><a href="/index.php?route=information/information&information_id=10/">Отзывы</a></li> <li><a href="/index.php?route=information/contact/">Контакты</a></li> </ul> </div> </div> <!--Menu 2014 © Izyum Web System www.izyum.name --> </div> <div id="notification"></div> <?php if($we_menu_cache = $this->config->get('we_menu_cache')){ ?> <ul class="<?php echo $this->config->get('we_menu_class') ?>"> <?php if(!empty($we_menu_cache)){ ?> <?php foreach($we_menu_cache as $item){ $tpl = (strpos($_SERVER['REQUEST_URI'], $item['href']) !== false) && $_SERVER['REQUEST_URI'] != '/' ? 'tpl_row_act' : 'tpl_row'; echo str_replace('&', '&', html_entity_decode($item[$tpl])); } ?> <?php } ?> </ul><?php } ?> Quote Link to comment Share on other sites More sharing options...
Guest Алексей Posted January 27, 2016 Share Posted January 27, 2016 <li><a href="/index.php?route=checkout/simplecheckout/">Мои заказы</a></li> <li><a href="/index.php?route=information/information&information_id=13/">Как купить</a></li> <li><a href="/index.php?route=information/information&information_id=6">Оплата и доставка</a></li> <li><a href="/index.php?route=information/information&information_id=10/">Отзывы</a></li> <li><a href="/index.php?route=information/contact/">Контакты</a></li> Не красиво. Надо делать все через контроллер и языковый пакет. .tpl <li><a href="<?php echo $home; ?>" data-toggle="tooltip" title="<?php echo $title_home; ?>"><i class="fa fa-home"></i> <span class="hidden-xs hidden-sm"><?php echo $text_home; ?></span></a></li> <li><a href="<?php echo $pricelist; ?>" title="<?php echo $text_pricelist; ?>"><i class="fa fa-rub"></i> <span class="hidden-xs"><?php echo $text_pricelist; ?></span></a></li> <li><a href="<?php echo $catalog; ?>" title="<?php echo $text_catalog; ?>"><i class="fa fa-book"></i> <span class="hidden-xs"><?php echo $text_catalog; ?></span></a></li> <li><a href="<?php echo $delivery; ?>" title="<?php echo $text_delivery; ?>"><i class="fa fa-truck"></i> <span class="hidden-xs"><?php echo $text_delivery; ?></span></a></li> <li><a href="<?php echo $news; ?>" title="<?php echo $text_news; ?>"><i class="fa fa-list-alt"></i> <span class="hidden-xs"><?php echo $text_news; ?></span></a></li> <li><a href="<?php echo $discounts; ?>" title="<?php echo $text_discounts; ?>"><i class="fa fa-bomb"></i> <span class="hidden-xs"><?php echo $text_discounts; ?></span></a></li> <li><a href="<?php echo $hh; ?>" title="<?php echo $text_hh; ?>"><i class="fa fa-users"></i> <span class="hidden-xs"><?php echo $text_hh; ?></span></a></li> <li><a href="<?php echo $contact; ?>" title="<?php echo $text_contact; ?>"><i class="fa fa-paper-plane"></i> <span class="hidden-xs"><?php echo $text_contact; ?></span></a></li> контроллер $data['text_home'] = $this->language->get('text_home'); $data['title_home'] = $this->language->get('title_home'); $data['text_pricelist'] = $this->language->get('text_pricelist'); $data['text_catalog'] = $this->language->get('text_catalog'); $data['text_delivery'] = $this->language->get('text_delivery'); $data['home'] = $this->url->link('common/home'); $data['pricelist'] = $this->url->link('information/information', 'information_id=7'); $data['catalog'] = $this->url->link('information/information', 'information_id=8'); $data['delivery'] = $this->url->link('information/information', 'information_id=9'); $data['discounts'] = $this->url->link('information/information', 'information_id=10'); $data['hh'] = $this->url->link('information/information', 'information_id=11'); А вообще я где то видел вот такую вот замануху для подгрузки языкового пакета: $data[]=$this->load->language('common/header'); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.