My alternate search template worked fine way back in MT 3.2, but hasn't been the same since.
In mt-config.cgi, I have the following lines:
SearchDefaultTemplate blog_results.tmpl
SearchAltTemplate photo photo_2009.tmpl
I even added this line above them, just to be safe:
SearchTemplatePath /home/myusername/public_html/cgi-bin/mt4/search_templates/
In the search query, I have "Template=photo_2009" but I keep getting the error "No alternate template is specified for the Template 'photo_2009' "
I did notice that MT 4.2 never recognized my default search template, either -- I had to go into the dashboard, in the System Templates, and paste in the code for my default search results template. I'm *still* not sure where in the file system that actually lives, if anywhere.
I have been having some problems with my installation, due to me using a subdomain for my blog, and having my MT installation outside that folder. My path to MT is /home/myusername/cgi-bin/mt4/ and my blog is at /home/myusername/blog/ -- I would think that it shouldn't make a difference here, though. I've been able to work around everything else, for the most part.
Any ideas?
Reported on Movable Type 4.2
Diana, You should try 'Template=photo'. The word you put before the filename is the identifier for the alt template. Check out the documentation page for more info.
...And that's why I shouldn't be working on my website after midnight on a weeknight. :)
Thanks - that worked just fine.