Hello fellow XWiki developers and users,
would it be possible to share an export of parts of your XWiki installations to help Savitha's testings in her XWiki Solr project?
Among interesting things, I'd wish:
- a few spaces with objects and their displayers
- a clean series of multilingual pages.
It can be somewhat big (e.g thousands of documents) but not too much (less than 1Gb).
Ideally you reply with an offer on the mailing list then we can exchange directly a link to the xar. I do not think it's a good idea to send the xar as attachment to the list!
paul
Hello,
i altered the MenuCode Extension to use the XWIKI CSS only menu:
{{velocity}}
##$xwiki.ssx.use('xwiki:XWikiOrgCode.MenuMacro')
##{{menu id="navigationMenu"}}
{{menu type="horizontal" position="left" id="mainMenu"}}
#set($menuContentProperty =
$xwiki.getDocument("MenuCode.MenuConfig").getObject("MenuCode.MenuConfig").getProperty('content').value)
#if("$!menuContentProperty" == '' or "$!menuContentProperty" == "\\")
* [[Edit the menu in
administration>>XWiki.XWikiPreferences?editor=globaladmin§ion=MenuConfig]]
#else
$menuContentProperty
#end
{{/menu}}
{{/velocity}}
Unfortunately the manu is not rendered to the top of the page like the
normal Menu Macro. Can someone give me a hint how to include the xwiki
menu to the top of the page. I'm new to xwiki and i do not know if i can
set the menu globally for all spaces without the MenuCode Panel Extension.
Thank you very much
--
Andreas Niekler, Dipl. Ing. (FH)
NLP Group | Department of Computer Science
University of Leipzig
Johannisgasse 26 | 04103 Leipzig
mail: aniekler(a)informatik.uni-leipzig.deg.de
Hello XWiki ers,
on #xwiki, Sergiu was kind enough to indicate that my current bug, the fact that $!xwiki.getXWiki().Param(...) returns empty is a programming rights issue: the problem seems to be that the resource page, whose rendering is entirely made outside of the wiki-page-content.
And I could verify that by having, in all pages where the above is empty, an output that of $doc.hasProgrammingRight() which is false.
Question 1: how can I evaluate that another page has programming rights?
Question 2: is there a way to give programming rights to everything in a space? to all code in included .vm files?
thanks in advance
Paul
Hello,
right now I'm trying to use the minificated
Scriptaculous.js/Prototype.js, but I don't have a clue how it works.
I tested my application with the original files and it works. Could
somebody explain to me how I have to transform my code e.g. see below to
make it work with the minificated files brought by xwiki.
<script type="text/javascript" language="javascript" charset="utf-8">
// <![CDATA[
Sortable.create('testlist',{ghosting:false,constraint:false,hoverclass:'
over',
onChange:function(element){$('testlist_serialize').innerHTML =
Sortable.serialize(element.parentNode)}
});
// ]]>
</script>
Many thanks in advance,
Josef Haimerl
I'm developing a Java servlet application that needs to fetch pages from an
XWiki instance in the same container. It needs the content rendered in
XHTML. Ideally, I'd like to get just the page content, without any of the
extra navigation/layout markup. Whats the best way to do this?
I've looked at using the REST API, but as far as I can figure out it only
provides the content in the xwiki syntax. Is there a way to get the content
rendered in XHTML through this API?
--Maxwell Terpstra
--
View this message in context: http://xwiki.475771.n2.nabble.com/API-to-get-page-content-in-XHTML-tp758053…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello
I cannot manage to use standard option to print several pages. When i use
children pages, it works but page break option won t work, pages titles and
pictures inside pages either. I also uses specific panel dowloaded on xwiki
site. The pdf option gui works but i still have the same problems.
Thanks
Another newbie question, I'm afraid.
I have a simple Glossary application that I've written, and I've managed to
figure out how to write a velocity script to retrieve all of the glossary
terms and put them into a JSON array. The problem is, the velocity script
output is being html encoded and sent to the browser as text, including the
enclosing <script> blocks. If I wrap the whole thing in {{html}} macro
calls, the velocity script doesn't run. If I just enclose the <script>
opening and closing tags in their own {{html}} macro call, the calls fail.
What am I missing here? How do I get velocity script to render as HTML/JS?
Yours,
David Baltusavich
------------------------------
<http://www.synatree.com>
1001 State Street, Suite 1123
Erie, PA 16501
(814) 422-5887
(321) 800-8733