Help - Search - Members - Calendar
Full Version: Search Results Template Has No Code To Display Results
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
jebus
Is it just me, or is there no code in the default search results template for MT 4.1 to actually display the results? I don't pretend to be an expert on this thing, but I had to add my own.
Su-
The default search template I just looked at had a SearchResults loop in it just fine.
jebus
If here's the relevant code from the default search template:

http://www.movabletype.org/default_templat...ch_results.mtml

<MTSearchResults>
<MTBlogResultHeader>
<h1 class="search-results-header">
<MTIfStraightSearch>
Results matching &ldquo;<$MTSearchString$>&rdquo; from <$MTBlogName encode_html="1"$>
</MTIfStraightSearch>
<MTIfTagSearch>
Results tagged &ldquo;<$MTSearchString$>&rdquo; from <$MTBlogName encode_html="1"$>
</MTIfTagSearch>
</h1>
<div class="search-results-container">
</MTBlogResultHeader>
<$MTInclude module="Entry Summary"$>
<MTBlogResultFooter>
</div>
</MTBlogResultFooter>
</MTSearchResults>

I take it this is looking for the module "Entry Summary" to write the search results code? But, if you're upgrading from MT 3 as I did, there is no such module, so it breaks the search results, unless I'm missing something.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.