Post by gerstavros » Sun Jun 23, 2019 7:01 pm

Hello. The contact page of my site is https://drfix.gr/contact_us . On google, it shows like
Επικοινωνήστε μαζί μας - DrFix.gr
https://drfix.gr/contact_us

Μετρό Γραμμή 3 (Μπλε): Στάση Νίκαια (υπό κατασκευή) ... Επισκευές σε Κινητά Τηλέφωνα, Tablet, Υπολογιστές - Laptop, Τηλεοράσεις - Οθόνες, Περιφερειακά, ...
which is not very good. It seems there is no way to edit from admin panel the meta title and meta description of this page. neither on theme panel.
So, how to edit this from core files? catalog/view/theme/supertheme/template/information/contact.tpl seems not having any related, and don't see a way to edit loading header just for this one page

New member

Posts

Joined
Mon Apr 04, 2016 12:44 am

Post by straightlight » Sun Jun 23, 2019 7:56 pm

So, how to edit this from core files? catalog/view/theme/supertheme/template/information/contact.tpl seems not having any related, and don't see a way to edit loading header just for this one page
Not core files.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gerstavros » Sun Jun 23, 2019 9:33 pm

straightlight wrote:
Sun Jun 23, 2019 7:56 pm
Not core files.
yes, i meant the files of theme. that's not our point

New member

Posts

Joined
Mon Apr 04, 2016 12:44 am

Post by WaxedPerfection » Sun Jun 23, 2019 10:36 pm

Find the page PHP you wish to edit and then do the below,

Find:

$this->document->setTitle($this->language->get('heading_title'));

Add After:

$this->document->setDescription('My description, this is where i type my text after i remove this text.');
$this->document->setKeywords('my, keyword, this, is, the place, holder, for, my, keywords');

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm
Who is online

Users browsing this forum: No registered users and 54 guests