Hi,
You can send the space parameter so that the search results are
displayed for the current space. Updating the search form under the
#globallinks section on the global.vm template should do the trick:
<input type="hidden" name="space"
value="$doc.space"/>
You can also take a look at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins#HD.OverridingtheSkiā¦
on how to override templates in the skin.
Hope this helps,
Oana
On 04/01/2011 04:35 PM, Wouter de Vos wrote:
Hi All,
I am testing around with the Lucene Search, all works well, one problem remains:
I search in Space A. My search results however, are shown in the Main
Wiki Page. This has a different look and feel, and since I do not want
to have confused users, I would like to display the search results in
the same Space as where the User was was in when he-she started the
search. I am guessing its only a one line change in some form, but I
cant seem to find it, I hope someone can help me out..
Thanks in advance,
Wouter
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users