Customising Search Results

From Habari Project

Jump to: navigation, search

You can customise search results by adding the following to your theme file:

// restrict search to questions.
public function act_search( $user_filters = array() )
	$user_filters = array_merge($user_filters, array('content_type' => 'entry'));
Personal tools
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Cannot contact the database server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) (localhost))

You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.