Forums / Setup & design / Local Searches

Local Searches

Author Message

RB RB

Monday 01 December 2003 2:22:21 am

I am trying to develop local searches for a particular section. The section, called publications, has 4 sub-folders (categories). I know it is possible to do searches on a specific section and class, but I would like to know if it is possible to search each sub-folder (category) within the above section, so that I can only search objects within a particular sub-folder?

Thanks

RB

Tore Skobba

Tuesday 02 December 2003 1:37:08 am

Searchin only subfolders is done with this variable posted to the search.

&#8220;<input type="hidden" name="SubTreeArray[]" value="2" />&#8221;

This one makes the search only work on sub folders of folder 2 (often the root folder of the site).

See more here: http://www.ez.no/developer/ez_publish_3/documentation/customization/components/search/custom_search_box

RB RB

Tuesday 02 December 2003 7:20:15 am

Thanks for pointing me in the right direction Tore. Much appreciated. Thanks

RB