Help - Search - Members - Calendar
Full Version: mt-search one blog only
Movable Type Community Forum > Additional Resources > Tips and Tricks
november
I am playing with the mt-search, and I would like to make the search usable for my main blog only (I also have a gallery blog which I don't want to be searchable at this time).

Thanks,
Renee
girlie
You could either add the ExcludeBlogs option to mt.cfg

ExcludeBlogs 1

or put a hidden form field in your search template:

<input type="hidden" name="ExcludeBlogs" value="1" />

where "1" is the Blog ID for the blog you want to exclude.

(You can determine the Blog ID by hovering over the blog's title in the Main Menu and look at the URL in your scrollbar, or while editing the blog, you can look at the URL in the address window of your browser.)

You could also use the inverse of ExcludeBlogs - IncludeBlogs - to only include the one blog you want to search.
november
Thank you! smile.gif smile.gif
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-2009 Invision Power Services, Inc.