Re: Module planet et SQL | Titre du sujet : Re: Module planet et SQL par montuy337513 sur 05/03/2013 20:59:41
Je ne connais ce module que de nom mais le choix doit se faire à cet endroit (ligne 167 à 180 du fichier index.php):
switch($query_type){
case "category":
$articles_obj =& $article_handler->getByCategory($criteria, $tags);
$count_article = $article_handler->getCountByCategory($criteria);
break;
case "bookmark":
$articles_obj =& $article_handler->getByBookmark($criteria, $tags);
$count_article = $article_handler->getCountByBookmark($criteria);
break;
default:
$articles_obj =& $article_handler->getAll($criteria, $tags);
$count_article = $article_handler->getCount($criteria);
break;
}
Donc tu devrais commencer tes recherches par là, au cas où tu charges la page, c'est la case 'default' qui est pris en compte donc je commencerai par là.
|
|