I would like to change the title tag for certain pages like contact us where you can't edit it from the admin page. Is there a way that I can change the tag in the code manually to what I would like?
Hi,
To edit title for e.g contact page ( index.php?route=information/contact ) you have to modify language file catalog/language/[your_language]/information/contact.php
In language file will see
change to
Have a nice day,
OC-Extensions.com Team
To edit title for e.g contact page ( index.php?route=information/contact ) you have to modify language file catalog/language/[your_language]/information/contact.php
In language file will see
Code: Select all
$_['heading_title'] = 'Contact Us';
Code: Select all
$_['heading_title'] = 'Add here title you want';
OC-Extensions.com Team
If I do that it will change it in the actual page as well. I just want it to change the title tag (shown on the tab)
Hi,
If you want to change only title tag then in catalog/controller/information/contact.php find line
and change to
Of course now you have to modify and catalog/language/[your_language]/information/contact.php to add
Of course use proper title
Have a nice day,
OC-Extensions.com Team
If you want to change only title tag then in catalog/controller/information/contact.php find line
Code: Select all
$this->document->setTitle($this->language->get('heading_title'));
Code: Select all
$this->document->setTitle($this->language->get('heading_title_custom'));
Code: Select all
$_['heading_title_custom'] = 'OC-Extensions.com team answered to my questions and now i know how to add this awesome title';
Have a nice day,
OC-Extensions.com Team
Who is online
Users browsing this forum: No registered users and 42 guests