Implement a different search box using SOLR Search Application

I’m very new to xwiki so please be gentle.

I am trying to implement a ‘search’ box in a different location to the top nav but I’m not sure of the best way to do this. I’ve tried a variety of things, including some quite hacky attempts but to no avail.

I’ve even tried adding a form element (hacky, I know): <form class="sideBarSearch" action="/bin/view/Main/Search" role="search"> but, of course, the action uri is hard coded and will not work on different environments.

Does anyone have a simple solution to the problem of creating a search box elsewhere in the xwiki ui?

Many thanks in advance

Resolved