Re: [xwiki-users] Macro configuration
@Vincent My question is about a groovy wiki macro, sorry for the lack of precision. I will read the suggested page about the Configuration module. Thank you for the link. @Guillaume Yes I already read it and I didn't find anything about this concern. But it's a very good tutorial and a must read for anyone who want to create a macro. 2011/2/15 Guillaume Lerouge guilla...@xwiki.com: Hi Maxime, On Tue, Feb 15, 2011 at 12:30, Maxime Sinclair maxime.sincl...@gmail.comwrote: Hello, What is the best way to create a configurable macro ? For example, a macro uses an external resource (like the address of a server). The administrator of the wiki must configure this resource during the installation of the macro (just after the import). Of course, he can update the source code of the macro but it is not very user friendly. Do you have any suggestions ? Thank for your help. Have you looked at http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial ? Guillaume Maxime Sinclair ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG Editor adding toolbar buttons
Hello, On Wed, Feb 16, 2011 at 4:14 PM, markblokpoel mark.blokp...@gmail.comwrote: Hi, The wysiwyg editor configuration document, at least for me, was difficult to comprehend. I was looking for a way to center tables/text/images on my xwiki, but failed to get the result using xwiki syntax2. So, I wanted to add the justifyleft, justifycenter, justifyright and justifyfull buttons to the wysiwyg editor, so my users don't have to use wiki syntax. I found that the syntax in the templates/macros.vm file is completely different from what is described in the configuration document, but still understandable. So I added the buttons in the following line: #set($ok = $parameters.put('toolbar', $xwiki.getXWikiPreference('wysiwyg.toolbar', 'bold italic underline strikethrough | justifyleft justifycenter justifyright justifyfull | subscript superscript | unorderedlist orderedlist | outdent indent | undo redo | format | hr symbol | paste'))) However, after service restart the wysiwyg editor is unchanged. Can someone help me out with this? Have you take a look on this: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfiguration? Raluca. Best, Mark -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-adding-toolbar-buttons-tp6031898p6031898.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG Editor adding toolbar buttons
On 02/16/2011 04:14 PM, markblokpoel wrote: Hi, The wysiwyg editor configuration document, at least for me, was difficult to comprehend. I was looking for a way to center tables/text/images on my xwiki, but failed to get the result using xwiki syntax2. So, I wanted to add the justifyleft, justifycenter, justifyright and justifyfull buttons to the wysiwyg editor, so my users don't have to use wiki syntax. I found that the syntax in the templates/macros.vm file is completely different from what is described in the configuration document, but still understandable. Fixed. So I added the buttons in the following line: #set($ok = $parameters.put('toolbar', $xwiki.getXWikiPreference('wysiwyg.toolbar', 'bold italic underline strikethrough | justifyleft justifycenter justifyright justifyfull | subscript superscript | unorderedlist orderedlist | outdent indent | undo redo | format | hr symbol | paste'))) You have to also add the justify plugin to the list of plugins, as explained for the color plugin in the http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HEnabletoolbarfeatures . Note that we're hoping to add an administration section for the WYSIWYG content editor in XE 3.0 which will ease the configuration. It will looks pretty much like this http://incubator.myxwiki.org/xwiki/bin/view/Improvements/WysiwygEditorConfig . Hope this helps, Marius However, after service restart the wysiwyg editor is unchanged. Can someone help me out with this? Best, Mark ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG Editor adding toolbar buttons
markblokpoel wrote: Hi, The wysiwyg editor configuration document, at least for me, was difficult to comprehend. I was looking for a way to center tables/text/images on my xwiki, but failed to get the result using xwiki syntax2. So, I wanted to add the justifyleft, justifycenter, justifyright and justifyfull buttons to the wysiwyg editor, so my users don't have to use wiki syntax. I found that the syntax in the templates/macros.vm file is completely different from what is described in the configuration document, but still understandable. So I added the buttons in the following line: #set($ok = $parameters.put('toolbar', $xwiki.getXWikiPreference('wysiwyg.toolbar', 'bold italic underline strikethrough | justifyleft justifycenter justifyright justifyfull | subscript superscript | unorderedlist orderedlist | outdent indent | undo redo | format | hr symbol | paste'))) However, after service restart the wysiwyg editor is unchanged. Can someone help me out with this? Best, Mark Check if you added the justify plugin. You need to add 'justify' (wiìth no quotes) in the line: #set($ok = $parameters.put('plugins', $xwiki.getXWikiPreference('wysiwyg.plugins', submit line separator embed text valign list indent history format symbol link image table macro import color font justify#if($full $request.sync) sync#end))) (the line attached should include all pulgins, but you can select those you wish, according to the instruction given in the configuration document) Anf of course you must restart the server or the services. regards Angelo -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-adding-toolbar-buttons-tp6031898p6032110.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
I'm involved with a small community of developers and minecraft players. I think it would be good to have a space to collaborate or talk about different projects in both our personal developer world and our minecraft world. I'm looking to be able to host screenshots, and send automated emails on wiki updates.. I did setup and try the xwiki application on my own pc, works like a champ, but my ISP prevents me from hosting any kind of server. preferred hostname: mcdev.myxwiki.org mywiki.org username: efess Thanks -Joe ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Unable to delete attachments using Filesystem Storage in 3.0 M2 XEM
Howdy, I just setup XWiki Enterprise with the needed jars and xar apps to make it XEM: xwiki-enterprise-wiki-3.0-milestone-2.xar xwiki-application-application-manager-1.18.xar xwiki-application-wiki-manager-1.24.xar xwiki-enterprise-manager-application-xem-3.0-20110216.170830-143.xar I installed the jars to enable the new filesystem storage and configured it to be used by adding the following to xwiki.cfg: #-# The attachment storage. xwiki.store.attachment.hint=file #-# The attachment versioning storage. Use 'void' to disable attachment versioning. xwiki.store.attachment.versioning.hint=file #-# Whether the attachment recycle bin feature is activated or not storage.attachment.recyclebin=0 When I add attachments I see them in the filesystem and attached to the appropriate page. I do not see a way to delete attachments. I have seen that XWIKI-5980 exists, but it does not seem to be the problem I'm experiencing. I do not even see any links or menu picks allowing me to delete an attachment. Any help will be greatly appreciated. Thanks, Jeff. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Deleting page with attachments leaves attachment on disk using Filesystem Storage in 3.0 M2 XEM
Howdy, I just setup XWiki Enterprise with the needed jars and xar apps to make it XEM: xwiki-enterprise-wiki-3.0-milestone-2.xar xwiki-application-application-manager-1.18.xar xwiki-application-wiki-manager-1.24.xar xwiki-enterprise-manager-application-xem-3.0-20110216.170830-143.xar I installed the jars to enable the new filesystem storage and configured it to be used by adding the following to xwiki.cfg: #-# The attachment storage. xwiki.store.attachment.hint=file #-# The attachment versioning storage. Use 'void' to disable attachment versioning. xwiki.store.attachment.versioning.hint=file #-# Whether the attachment recycle bin feature is activated or not storage.attachment.recyclebin=0 I created a new page and added some attachments. I see the attachments in the work directory and in the document index for the wiki. When I then delete the page, the attachments no longer show up in the document index for the wiki, but they are left behind on disk. This behavior does not seem right. I did not find a similar report in JIRA. I know the Filesystem Storage is brand new and is in 3.0M2 for testing and evaluation. Hopefully this feedback is useful in your testing process. Any help or guidance provided will be greatly appreciated. Thanks, Jeff. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users