Changes for page Search

Last modified by Vincent Massol on 2014/10/21

<
From version < 9.1 >
edited by Marius Dumitru Florea
on 2013/07/15
To version < 10.1 >
edited by Vincent Massol
on 2013/10/15
>
Change comment: Import

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mflorea
1 +XWiki.VincentMassol
Content
... ... @@ -1,5 +1,11 @@
1 1  {{include document="XWiki.SearchCode"/}}
2 2  
3 3  {{velocity}}
4 -{{include document="$searchPage"/}}
4 +## If no Search UI Extension exist then don't display the Search page.
5 +#if ("$!searchPage" != '')
6 + {{include document="$searchPage"/}}
7 +#else
8 + ## Display a message explaining that there's no Search UI Extension.
9 + $services.localization.render('search.page.noimplementation')
10 +#end
5 5  {{/velocity}}

Get Connected