replacing drupal 6 core search with views search
Posted by mallet on January 26, 2009 at 9:02pm
Hi all
I am trying to replace drupals core search with my own views search. the search in views work but only if you type its exact url would you see the views search. and this is where I am having hard time putting the two together.
I am using the function hook_menu_alter to replace the drupal core search with my views search path. heres the code thats on my custom module file:
<?php
function searchy_perm() {
return array('access searchy', 'administer searchy');
} // function searchy_perm
function searchy_menu_alter(&$callbacks) {
Read more