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.
website is victoriamaryvintage.com
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
Even when i replace the file with the original this problem still persists.
Can anybody shed any light on what is going on here?
Thanks
|
|
It seems that you have modified a variable in the header.tpl template or you copied from template of an older version. Open the template and GoTo line 10. You should find the following fragment:
<?php if ($description): ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php endif; ?> Immediately after it there should be the following line:
<?php echo $this->document->shoppica_fb_meta; ?>
See if this helps.
Best,
ThemeBurn team
|
|