Hello All,
Is there a way to customize xwiki search. Eg. If we would like to search for
keywords only in the title of the document and not in the content OR if the
search should return result based only on tag search.
If it is possible would it be in groovy/velocity or it would involve source
files...
Any help is much appreciated.
Thank you...
Hi,
I have the brand new XWiki Enterprise 1.9.1.21780. I noticed that the class
wizard has issues
(http://xwiki.markmail.org/message/kl7vi6p2dlc3ouwr?q=FAQTutorial#query:FAQT…),
but I did create a class, a class sheet and a class template manually. I also
added an empty object to the class.
Because the Velocity code is not interpreted the same way in syntax xwiki 2.0,
I followed the syntax help guide included in the XWiki instance and I
protected the code as follows:
{{velocity}}
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "LSQ")
#includeForm("XWiki.ClassSheet")
{{/velocity}}
The Velocity code is parsed but it produce HTML that is not parsed by the Wiki
page. It is displayed as-is:
<h1 id="HClass3ATermeClass"><span>Class: TermeClass</span></h1><p/>
The first thing to do is to <a
href="/xwiki/bin/edit/LSQ/TermeClass?xpage=editclass">Edit the Class</a> to
add properties to it.<p/>
<h2 id="HCreateanewdocument"><span>Create a new document</span></h2><p/>
To create a new document, you should first choose a name for you document<p/>
<form action="" id="newdoc" method="post">
<div>
<input type="hidden" name="parent" value="XWiki.TermeClass"/>
<input type="hidden" name="template" value="LSQ.TermeClassTemplate"/>
<input type="hidden" name="sheet" value="1"/>
Space: <input type="text" name="webname" value="LSQ" size="8"/>
Document: <input type="text" name="name" value="Name of your document"/>
<br/>
<br/>
<input type="button" value="Create this document" onclick='if
(updateName(this.form.name)) {this.form.action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'/>
</div>
</form><p/>
<h2 id="HSheetandTemplate"><span>Sheet and Template</span></h2><p/>
<ul class="star">
<li>Sheet: <span class="wikilink"><a
href="/xwiki/bin/view/LSQ/TermeClassSheet">Terme Class Sheet</a></span></li>
<li>Template: <span class="wikilink"><a
href="/xwiki/bin/view/LSQ/TermeClassTemplate">Terme Class
Template</a></span></li>
<li><span class="wikilink"><a
href="/xwiki/bin/view/XWiki/ClassSheet?xpage=code">View the sample code to
show the document list and create new documents</a></span></li>
</ul>
<h2 id="HExistingdocuments"><span>Existing documents</span></h2><p/>
Is there a workaround that to make the page parse this HTML properly or to
produce an equivalent display?
It would be nice to also let people know at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial (completing
tapaya's remark) -I could do that if I knew the answer.
Thanks
Marc
Hi,
I have plainty problems with XWiki Workspace, and no response. Perhaps my
english ?
Last of them : I'm trying FAQTutorial
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial) ; first step
is search XWikiClasses.
Result (from Admin) : no document.
I can't include a simple FAQ in workspace ?
So XWiki Workspace doesn't work for me ?
Hi,
I have two question about edit with workspace :
- how can I configuration the edit mode : they are in wisiwig, and I don't see
how to go in wiki mode ?
- if I create a new page from a workspace, I cannot edit it. First time, I
can, but second time, no : there is no button to edit it.
Thanks for your help.