> How do I write a new search module.
>
> I did some initial test by overriding the search.tpl file by
> creating a copy in design/mydesign/content/search.tpl.
>
> This works fine.
>
> So I tried the next step of creating a new search routine. I
> created a new file called Search_directory.tpl and placed it
> in the same location. I then copied the search.php routine
> in the kernel/content/ directory and named it
> search_directory.php.
>
> But when I access the search routine via the url
>
> mysite/mydesign/content/search_directory/ I get a error
> message
>
>
> View not found. The requested view 'search_directory' could
> not be found in module: 'content'
>
> How do I go about linking this together so I can write the
> custom routine.
>
>
> I know I could just use the search.tpl and alter it but I
> need the normal search left as is.
> > Any help would be appreciated.
I have figured out how to add my own search function by adding a new definition to the module.php file: