How should I use the various parameters to get the subcategory listing?
Code: Select all
serendipity_fetchEntries(null, false, $params["limit"], false, false, 'timestamp DESC', 'c.categoryid = '.$params["category"]);
limit = the number of articles, category = the category id, I allready tried adding:
Code: Select all
OR c.parentid = '.$params["category"]
I figure there must be a function that gets all subcategory's of a specific category.