Hi,
Hoping that somebody can shine some light on a problem that i am experiencing. I have just updated header.tpl in order that i might be able to add custom page titles, following another thread that i saw in this forum.
I have changed the following:
<title><?php echo $title; ?></title>
TO
<title><?php if ($keywords) { echo $keywords; } else { echo $title; } ?></title>
This now throws up an error message on my website as follows:
Notice: Undefined property: Document::$fb_meta in /home/vml82/public_html/catalog/view/theme/shoppica/template/common/header.tpl on line 13
Can anybody shed any light on what is going on here?
Thanks
It's called Progress Towards 1.5.0
Posting was by Johnathan
Thanks for looking
http://forum.opencart.com/viewtopic.php ... 09#p116048
Posting was by Johnathan
Thanks for looking
http://forum.opencart.com/viewtopic.php ... 09#p116048
Since the topic title is "Progress Towards 1.5.0" I think the suggestions made in that topic do not apply to version 1.5.1.3. The code has changed a lot in the 1.5.x series.
The $keywords variable is probably not declared anywhere. I would certainly search the forum for an alternative way around this.
[edit]
What was your intention for changing this piece of code?
The $keywords variable is probably not declared anywhere. I would certainly search the forum for an alternative way around this.
[edit]
What was your intention for changing this piece of code?
Who is online
Users browsing this forum: No registered users and 167 guests