Code:
SELECT link_id, count( link_id ) AS count FROM pligg_links, pligg_categories WHERE category_lang = 'en' AND category_id = link_category GROUP BY link_category ORDER BY category_name ASC ;
i removed the line
Code:
$sql = "select *, count(*) as count from " . table_links . ", " . table_categories . " where category_lang='$dblang' and category_id=link_category group by link_category ORDER BY category_name ASC";
i know it is for categorylist, but all in my sidebar works fine, i think it is an old query, i found it only in pligg 8.0 into categories.tpl
{section name=nr loop=$categorylist}
now we have loop=$cat_array
sry for my english







when can i find my name into the code lol
Linear Mode

