// Fixing problems with blocklayered and SEO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12314 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-10 15:39:34 +00:00
parent c70af3ff5f
commit e8d6600aa9
4 changed files with 71 additions and 1 deletions
+1 -1
View File
@@ -1096,7 +1096,7 @@ class BlockLayered extends Module
else
$smarty->assign('meta_title', $categoryMetas['meta_title']);
$metaKeyWordsComplement = substr(str_replace(' – ', ', ', strtolower($title)), 1000);
$metaKeyWordsComplement = substr(str_replace(' – ', ', ', strtolower($title)), 0, 1000);
if (!empty($metaKeyWordsComplement))
$smarty->assign('meta_keywords', rtrim($categoryTitle.', '.$metaKeyWordsComplement.', '.$categoryMetas['meta_keywords'], ', '));