« killing comment spam, part 2 | Main | killing comment spam, part 3 »

more ways to soup up MT search

Using a hack by Stepan Riha, you can give your visitors the option of choosing which fields in an entry they wish to search. The default is to search all of them (title, entry body, extended entry, and keywords) but the hack allows visitors to select only some of the fields for their search.

There's also the PartialWords hack. With this, your visitors can search for "mov" and get back results for all of "movable", "moved", and "moving", among other things.

Once you've applied the hacks, you'll have to add the appropriate code to your templates. The instructions for each hack give suggested code, or you can look at my search template (scroll to bottom of page).

Related

This tip is built on the following tip(s):

The following tip(s) expand on this tip:

This entry is about search. The ten most recent entries also about this topic are:

fast searches with PHP

souping up MT search

search templates that 'remember'

View all entries about search.

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2