Discussion filter in groups


I'm trying to create a filter for the discussions in a group. So that all the group related discussions can be sorted after newest, most comments or popular ( i'm using the like-plugin). What i found is "discussion_handle_list_page($guid)". If i add to the $params something like this: 'filter' => $filter, some filter buttons appear, but not what i want. With the help of this:


i created a new filter right in the discussion_handle_list_page function. But i don't know what to put into the href field. The second problem is that if i register my new filter, they are just added to some others. How can i remove some items from the filter?

Thanks! manu


Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking