Should be an easy fix, you just need to use LIMIT in the sql query, if you know what I mean. Check the file includes/functions/extra_functions/zentagcloud_func.php, I suspect that you need to change
PHP Code:
function zen_get_metatags_keywords1($product_id, $language_id) {
global $db;
$product = $db->Execute("select metatags_keywords
from " . TABLE_META_TAGS_PRODUCTS_DESCRIPTION . "
where products_id = '" . (int)$product_id . "'
and language_id = '" . (int)$language_id . "'");
return $product->fields['metatags_keywords'];
}
to:
PHP Code:
function zen_get_metatags_keywords1($product_id, $language_id) {
global $db;
$product = $db->Execute("select metatags_keywords
from " . TABLE_META_TAGS_PRODUCTS_DESCRIPTION . "
where products_id = '" . (int)$product_id . "'
and language_id = '" . (int)$language_id . "' LIMIT 50");
return $product->fields['metatags_keywords'];
}
See the limit i put there? Change it to any number you want.
Again, I dont use this mod, so I'm not 100% sure that it's the query to get the tags (I just think it's the one because of the function's name), but it's the way you do it: find the query that gets the tags, and put a limit there.
yellow1912
Bookmarks