17488 Posts in 4473 Topics by 1978 members
|Go to End|
8 August 2008 at 10:08am
I've got a website with a few sections e.g:
+- article 11
+- article 12
+- article 13
+- article 21
+- article 22
+- article 23
How to configure a search engine to search only in "section 2" tree?
Thank you for your help.
12 August 2008 at 1:04am
Can anybody help me how to search only in part of website?
13 August 2008 at 11:02am
You need to checkout getResults function in AdvancedSearchForm.php and the searchEngine function in SearchForm.php
If you were to develop your own getResults coupled with an extended searchEngine function function you could specify a variable to limit which parts of the SiteTree you search.
13 August 2008 at 11:04am
A nice idea, if it was a large site might be to provide a drop down with your search function which is populated by the SiteTree to allow for users to get a targeted search.
14 August 2008 at 1:25am
Thank you for ideas - I'll test it.
16 September 2008 at 10:08pm
Please can u explain or give an example ...
How to implement this ?
10 October 2008 at 3:32am
I have your same problem..what are the part of function that I must modify?
|Go to Top|