Thursday 27 May 2010 8:36:44 am
If you'd like the search function to only search the subtree below each siteaccess's own landing page node, add the following to pagelayout.tpl's search form:
<input type="hidden" name="SubTreeArray[]" value="{$indexpage}" />
Do similarly for templates/content/advancedsearch.tpl and templates/content/search.tpl, though you'll want to use something more like “value="{ezini( 'NodeSettings', 'RootNode', 'content.ini' )}” since $indexpage isn't available there.
Clear caches for changes to take effect if you have not turned your eZ Publish instance into development mode.