Hello,
Using CCv5, I'm trying to use the next condition to filter only articles from logged user and from specific categories.
Nevertheless,categories are filtering OK but user->id are not working, and CCv5 is showing items from all the users.
What I'm doing wrong?
Using CCv5, I'm trying to use the next condition to filter only articles from logged user and from specific categories.
Nevertheless,categories are filtering OK but user->id are not working, and CCv5 is showing items from all the users.
What I'm doing wrong?
<?php
$user =& JFactory::getUser();
return array('UPNoticias.created_by' => $user->id, 'UPNoticias.catid' => ('4','6','27','36','69'));
?>