kentico_martind
-
9/1/2008 12:21:51 PM
RE:search engine customisation
Hello,
You can specify the document type(s) that should be displayed in results using ClassNames property of the control you are using for displaying the results. Please find sample code bellow:
<uc1:cmscompletesearchdialog runat="server" ID="cmscompletesearchdialog" ClassNames="CMS.Blog" SearchMode="anyword" SearchScope="searchallcontent" PagingMode="postback" PagerPosition="bottom" ResultsPosition="top" />
eventually:
<uc1:cmscompletesearchdialog runat="server" ID="cmscompletesearchdialog" ClassNames="CMS.BlogPost" SearchMode="anyword" SearchScope="searchallcontent" PagingMode="postback" PagerPosition="bottom" ResultsPosition="top" />
Best Regards,
Martin Dobsicek
|