announce > sticky > normal > global
but I'm not getting it. can someone help me with the code? am i using the right function?
Code: Select all
'core.viewforum_get_topic_ids_data' => 'viewforum_get_topic_ids_data',
..........
public function viewforum_get_topic_ids_data($event)
{
$sql_ary = $event['sql_ary'];
$sql_ary['ORDER_BY'] = 't.topic_type DESC, t.topic_last_post_time DESC ';
$event['sql_ary'] = $sql_ary;
var_dump($sql_ary);
}