Share » Forums » Setup & design » How to configure search function on...

How to configure search function on multi site installation for not cross over.

How to configure search function on multi site installation for not cross over.

Thursday 08 April 2010 2:48:03 am - 1 reply

Author Message

Juan Asencio

Wednesday 21 April 2010 12:56:37 am

I solve this adding "node settings" on the site.ini file of each siteaccess:

(Probably the right place to do it would be content.ini, but it works anyway).

Define on the site.ini file of the siteaccess a root node:

[NodeSettings]

RootNode=215

And on the search template:

/var/www/ezpublish-4.3/design/my-desing/templates/page_header_searchbox.tpl

{def $sub_node_id=ezini("NodeSettings","RootNode","site.ini")}

<input type="hidden" name="SubTreeArray" value="{$sub_node_id}" />

Something similar was done on advancesearch template.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu