Hi Gabriela,
On Apr 30, 2008, at 8:27 AM, Gabriela Radu wrote:
hey.
i have followed the guidence from the links but it does not show any
result. i am sure i am doing something wrong, ...but on the website
the search form didn't work either. or i am doing something wrong
tthere..:-| i have put the word "box" in the search tag (on the
website:
http://www.xwiki.org/xwiki/bin/view/FAQ/ ) i am writing the
word:'box' or 'faq' and there is no result either. do you know the
problem here? it should have searched in the current page for one..
cause the words are from there...but no luck.
Thanks for pointing that out. I've fixed the FAQ search now.
But as I said below you can also look at the Main.WebSearch page.
Thanks
-Vincent
Vincent Massol <vincent(a)massol.net> wrote: 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