// Fixing problems with blocklayered and SEO

This commit is contained in:
mDeflotte
2012-01-10 15:39:34 +00:00
parent 6240f9cf84
commit 39a7eeefab
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'], ', '));