I installed MT v. 2.661 on a website for some schools, and everything works.
I need to have more templates for the search, so I have modified mt.cgt, as guide says.
QUOTE
Add the templates to your configuration.
Open up your mt.cfg file in a text editor, and use the AltTemplate directive to configure the alternate templates. For example, if you have two weblogs (Work and Play), and you want each weblog to have its own template, you might add something like this:
AltTemplate root root.tmpl
AltTemplate primoc primoc.tmpl
ecc. ecc
Configure the search form.
To tell Movable Type which template to use when building the search results pages, you use a hidden form input. Add this to the search form on your Work weblog, for example:
(Note: if you wish to restrict the search to just this one weblog, you may also want to add
to the form.)
Open up your mt.cfg file in a text editor, and use the AltTemplate directive to configure the alternate templates. For example, if you have two weblogs (Work and Play), and you want each weblog to have its own template, you might add something like this:
AltTemplate root root.tmpl
AltTemplate primoc primoc.tmpl
ecc. ecc
Configure the search form.
To tell Movable Type which template to use when building the search results pages, you use a hidden form input. Add this to the search form on your Work weblog, for example:
(Note: if you wish to restrict the search to just this one weblog, you may also want to add
to the form.)
Everything works, but if I put no words in the search fill, this error is shown:
QUOTE
An error occurred:
Undefined subroutine &MT::Entry::RELEASE called at lib/MT/Template/Context.pm line 1670.
Undefined subroutine &MT::Entry::RELEASE called at lib/MT/Template/Context.pm line 1670.
I have done the reupload of Confirm.pm in ASCII mode, but the same error continues to be shown.
This is my search form:
CODE
<form method="get" action="<$MTCGIPath$><$MTSearchScript$>">
<input type="hidden" name="Template" value="root" />
<!--<input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" />-->
<label for="search" accesskey="4">Search this site:</label><br />
<input id="search" name="search" size="20" /><br />
<input type="submit" value="Search" />
</form>
<input type="hidden" name="Template" value="root" />
<!--<input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" />-->
<label for="search" accesskey="4">Search this site:</label><br />
<input id="search" name="search" size="20" /><br />
<input type="submit" value="Search" />
</form>
This is the link:
My Webpage
Can you help me?
Thank you
Raffaele (Italy)