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

Как изменить ссылку


Savok32
 Share

Recommended Posts

Два вопроса

1.

при нажатие на лого появляется http://сайт.ру/index.php?route=common/home'>http://сайт.ру/index.php?route=common/home как сделать ссылку нормальной / такого вида http://сайт.ру Версия 1.0.1

2.

Когда список выводится товара там есть Цена....как эту цену сделать более жирной....под каким названием она в css идет чет найти не могу

Второй вопрос решён Остался первый

.product-list .price {

float: right;

height: 50px;

margin-left: 8px;

text-align: right;

font-weight: bold|;

color: #333333;

font-size: 15px;

font-weight: bold;

Link to comment
Share on other sites


не кто не знает?

Эту ссылку можно убрать тремя способами!

1. Вшить в шаблон логотип и ссылку поставить:

<a href="/"><img src="/images/logo.png" /></a>

2. В файле catalog\controller\common\header.php найти:

$this->data['home'] = $this->url->link('common/home');

и заменить на:

$this->data['home'] = "/";

3. Использовать vQmod (прилагаю решение одного из украинских программистов).

  • +1 1
Link to comment
Share on other sites


2. В файле catalog\controller\common\header.php найти:

$this->data['home'] = $this->url->link('common/home');

и заменить на:

$this->data['home'] = "/";

Использовал этот способ все нормально но вот копия страницы осталась сайт.ру/index.php?route=common/home Как эту копию убрать

Link to comment
Share on other sites


  • 2 weeks later...

2. В файле catalog\controller\common\header.php найти:

$this->data['home'] = $this->url->link('common/home');

и заменить на:

$this->data['home'] = "/";

Использовал этот способ все нормально но вот копия страницы осталась сайт.ру/index.php?route=common/home Как эту копию убрать

Если речь идет о копии этой страницы в поисковиках - то исключи ее правилами файла robots.txt - и через неделю нигде не будет этой копии..

Link to comment
Share on other sites


  • 2 months later...
  • 7 months later...

2. В файле catalogcontrollercommonheader.php найти:

$this->data['home'] = $this->url->link('common/home');

и заменить на:

$this->data['home'] = "/";

Использовал этот способ все нормально но вот копия страницы осталась сайт.ру/index.php?route=common/home Как эту копию убрать

Спасибо, работает! Версия 1.5.3.1

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.