Hi Gabriela,
On Apr 29, 2008, at 12:21 PM, Gabriela Radu wrote:
hello
i am looking at how the search property is created in xwiki because
i wanna make my own "search" for a specific space. does anyone know
where does the function for this operation has to be written. what
i can tell so far... i found the search tag in more .vm files, like:
global.vm, suggest, viewtoolbar etc but still don;t know where can i
writte my own code.
if u know something give a buzz. thanks:)
No need to look at vm files at all. It's actually much simpler :)
The best is for you to look at your Main.WebSearch or
Main.LuceneSearch page in your wiki (just edit them in wiki mode).
Alternatively you can look at how it's done on
xwiki.org for the FAQ
space for example:
http://www.xwiki.org/xwiki/bin/view/FAQ/?viewer=code
http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?viewer=code
Thanks
-Vincent