Hi Jim, you could use this : <div style="text-align: center;"> <form action="/xwiki/bin/view/Main/LuceneSearch"> <input id="globalsearchinput" type="text" name="text" value="$msg.get('panels.search.inputText')" size="45" onfocus="if ( this.value == 'Type your search text here.') value=''; this.select();" onblur="if (this.value == '') value='$msg.get('panels.search.inputText')'; this.blur()"/> <input class="button" value="$msg.get('panels.search.submit')" type="image" src="$xwiki.getSkinFile("go.png")"/> </form> </div> This code will create the search form input field and a button to launch the search. Then you'll need to put it in the right place on your page (I guess you'll have a lot of divs on it). Placed alone on the page it will show up as Google's standard page. Guillaume On 10/03/2008, [email protected] <[email protected]> wrote:
If I wanted to have a page that presented the Lucene search engine (a la the Google home page), what is the 'right' way to do this?
I'm guessing that it's to #include Main.Search ?
Thanks in advance.
--
*Jim Dowson*
CTO, Global Services, EMC Corporation
Linx: (617) 598-0505
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users