[xwiki-users] Configuring CKEditor Plugins
Hi, How do I add the font color option to the WYSIWYG editor (CKEditor)? I included the plugin color in Wiki Administration -> Applications -> WYSIWYG Editor and added color to toolbar, but it doesn't show up. Similarly I added the plugins font and justify, and added them to the toolbar, but they don't show up either. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
Hello. Enjoy your new wiki: http://calandreta.myxwiki.org Thanks 2016-08-31 15:55 GMT+02:00 pascal Conil-lacoste < pascal.conil.laco...@gmail.com>: > Hello, > > This is a request for a new wiki. > Details follow. > > description: I would like to use Xwiki to build a knowledge base for my > children’s school and share it with the calandreta schools network. > owner name: Pascal Conil-lacoste > wiki name: calandreta > > Thank you, > — > Pascal Conil-lacoste > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Guillaume Delhumeau (guillaume.delhum...@xwiki.com) Research & Development Engineer at XWiki SAS Committer on the XWiki.org project ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Issue with template via document creation URL
On Wed, Aug 24, 2016 at 1:02 PM, D R wrote: > Hi, > > I have an issue with a template. > > I created Dashboard.CustomerDocsDashboard with the following content: > > > ``` > {{velocity}} > #if ($context.display == 'edit') > {{info}} > Du bist im Begriff den neuen Kunden-Dokument-Bereich "//$doc.title//" zu > erstellen. > > Um fortzufahren wähle eine der unten stehenden Buttons. > {{/info}} > #else > {{dashboard/}} > #end > {{/velocity}} > > ``` > > So far so good. When I enter WYSIWYG edit mode I get the info message, in > wiki edit mode I get the source code, exactly how I want it. > > I also defined a template provider via XWiki administration. Creating a new > document with the template also works as intended. > > Now the issue: > I have an application with a button leading to the page creation: > > http://localhost:8080/xwiki/bin/inline/Customer+Docs/Test+ > Customer+2/WebHome?template=Dashboard.CustomerDocsDashboard.WebHome& > parent=Customer+Docs.Test+Customer+2&title=Test+Customer+2 > > The link worked correctly before without the velocity code and only > ```{{dashboard/}}``` in the template but now via the URL I get > > " > Failed to execute the [velocity] macro. > org.xwiki.rendering.macro.MacroExecutionException: The execution of the > [velocity] script macro is not allowed. Check the rights of its last author > or the parameters if it's rendered from another script. > " > > instead of the info message. > > Can somebody help me, please? > Does the user that clicks on the button have script access right? See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScriptright . We don't usually put the scripts in the template because we don't want them to be copied whenever we create a new page with the template. Instead we put the scripts in a sheet which is then used to display each of the pages that are created with the template. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module . Since the sheet author doesn't change when you create a new page there is no rights issue. But you probably don't have a sheet because you don't have a class, i.e. your template doesn't have a dedicated object. In this case, a solution is to move the script in a wiki macro ( http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial ) and to use that wiki macro in the template content. Hope this helps, Marius > > Thansk in advance, > Dennis > ___ > 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] exception during page deletion
The exception doesn't seem to be specific to the delete action. You probably get the same exception for any REST request that uses the JSON serialization for the response. Try /xwiki/rest/?media=json . It looks like the version of Jackson that Wildfly has loaded doesn't match what the Restlet expects. Maybe Wildfly doesn't isolated correctly the application context (check if Wildfly provides its own version of Jackson). Hope this helps, Marius On Fri, Aug 26, 2016 at 1:34 PM, Edward Knyshov wrote: > When users deletes a page I get and page saying that I should wait until > page is deleted. I check browser console and I see 500 response from xwiki > and nothing happens. If I go to some parent page, I see that page is > deleted. Checked xwiki log and see an exception: > https://gist.github.com/edvorg/9519c5055011ecdb319f6dcbdee39a76 > does anybody know why could it happen? > ___ > 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
[xwiki-users] [myxwiki] new wiki request
Hello, This is a request for a new wiki. Details follow. description: I would like to use Xwiki to build a knowledge base for my children’s school and share it with the calandreta schools network. owner name: Pascal Conil-lacoste wiki name: calandreta Thank you, — Pascal Conil-lacoste ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Fw : Re: Fw : Re: Could not use Java8 with xwiki on 7.0.1 (and 8.2.1)
I manage to launch xwiki 7.0.1 because I fixed my server.xml but I still have 2016-08-31 14:20:45,440 [xwiki-dev.dom.cp2i.i2-startStop-1] ERROR o.i.j.JmxUtil - ISPN34: There's already an cache manager instance registered under 'org.xwiki.infinispan' JMX domain. If you want to allow multiple instances configured with same JMX domain enable 'allowDuplicateDomains' attribute in 'globalJmxStatistics' config element but only once! By the way I have this error too: 31-Aug-2016 14:21:57.241 SEVERE [https://xwiki-dev.dom.xxx/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js] org.apache.catalina.core.StandardWrapperValve.invoke "Servlet.service()" pour la servlet action a généré une exception java.lang.NullPointerException require.min.js have wrong URL (under xwiki but my xwiki is on the root of my web server and I have webapps/xwiki/WEB-INF/xwiki.cfg with this #-# The name of the webapp to use in the generated URLs. If not specified, the value is extracted from the request URL #-# and thus it's generally not required to set it. However if you're deploying XWiki as root in your Servlet Container #-# and you're using XWiki >= 6.1 and < 7.0 you must set it to an empty value as otherwise the code cannot guess it. #-# For example: # xwiki.webapppath=xwiki xwiki.webapppath= Thxs. En date de : Mar 30.8.16, Pascal BASTIEN a écrit : Objet: Fw : Re: [xwiki-users] Fw : Re: Could not use Java8 with xwiki on 7.0.1 (and 8.2.1) À: "Thomas Mortagne" , "XWiki Users" Date: Mardi 30 août 2016, 11h35 --- En date de : Mar 30.8.16, Thomas Mortagne a écrit : > De: Thomas Mortagne > Objet: Re: [xwiki-users] Fw : Re: Could not use Java8 with xwiki on 7.0.1 (and 8.2.1) > À: "Pascal BASTIEN" , "XWiki Users" > Date: Mardi 30 août 2016, 11h23 > > Caused by: > org.infinispan.jmx.JmxDomainConflictException: Domain > already registered org.xwiki.infinispan when trying to > register: type=CacheManager,name="xwiki" > > This usually means you have > two instances of XWiki running in the same > JVM (the cache manager already been registered > by the first instance). > > On No I launch only one xwiki with this JVM. On same server there are another xwiki 6 but with another tomcat and another JVM (/opt/jdk1.8.0_66). I use /opt/jre1.8.0_102 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Enabling Statistics in XWiki
Thanks, installing the statistics application did the work. On Wed, Aug 31, 2016 at 5:00 AM, Vincent Massol wrote: > FWIW I’ve also modified the xwiki.cfg file we generate and it now contains > some more info: > https://github.com/xwiki/xwiki-platform/blob/master/ > xwiki-platform-tools/xwiki-platform-tool-configuration- > resources/src/main/resources/xwiki.cfg.vm#L524 > > I hope it’ll help a little bit in the future… > > Thanks > -Vincent > > > On 30 Aug 2016, at 19:40, Vincent Massol wrote: > > > > Hi, > > > >> On 30 Aug 2016, at 19:17, Dibyendu Das wrote: > >> > >> Hi, > >> > >> I am trying to enable statistics in XWiki without any success. My > xwiki.cfg > >> for the settings look like this: > >> > >> *#-# Stats configuration allows to globally activate/deactivate stats > >> module (launch storage thread, register events...).* > >> *#-# Enabled by default.* > >> *xwiki.stats=1* > >> *#-# When statistics are globally enabled, storage can be > enabled/disabled > >> by wiki using the XWikiPreference property* > >> *#-# "statistics".* > >> *#-# Note: Statistics are disabled by default for improved > >> performances/space.* > >> *xwiki.stats.default=1* > > > > This enables statistics, which means stats are stored in the DB and an > API allow to query them. > > > >> I have restarted my server after changing this but to no effect. The > >> statistics application still says it is disabled. Anyone knows why? > > > > You need to install the statistics application if you wish to have some > UI to query the stats in the DB, see: > > http://extensions.xwiki.org/xwiki/bin/view/Extension/ > Statistics+Application > > > > The reason you’re confused is probably because it was previously bundled > by default: > > "Bundled by default in XWiki Enterprise from XWiki 1.2-rc-1 till XWiki > 7.4.x (not bundled anymore by default in XWiki 8.0+)" > > > > Thanks > > -Vincent > > > >> XWiki 8.2.1 on Jetty 9.3.11 and Java 8 > >> > >> Thanks, > >> Dib > > ___ > 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] Enabling Statistics in XWiki
FWIW I’ve also modified the xwiki.cfg file we generate and it now contains some more info: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.cfg.vm#L524 I hope it’ll help a little bit in the future… Thanks -Vincent > On 30 Aug 2016, at 19:40, Vincent Massol wrote: > > Hi, > >> On 30 Aug 2016, at 19:17, Dibyendu Das wrote: >> >> Hi, >> >> I am trying to enable statistics in XWiki without any success. My xwiki.cfg >> for the settings look like this: >> >> *#-# Stats configuration allows to globally activate/deactivate stats >> module (launch storage thread, register events...).* >> *#-# Enabled by default.* >> *xwiki.stats=1* >> *#-# When statistics are globally enabled, storage can be enabled/disabled >> by wiki using the XWikiPreference property* >> *#-# "statistics".* >> *#-# Note: Statistics are disabled by default for improved >> performances/space.* >> *xwiki.stats.default=1* > > This enables statistics, which means stats are stored in the DB and an API > allow to query them. > >> I have restarted my server after changing this but to no effect. The >> statistics application still says it is disabled. Anyone knows why? > > You need to install the statistics application if you wish to have some UI to > query the stats in the DB, see: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application > > The reason you’re confused is probably because it was previously bundled by > default: > "Bundled by default in XWiki Enterprise from XWiki 1.2-rc-1 till XWiki 7.4.x > (not bundled anymore by default in XWiki 8.0+)" > > Thanks > -Vincent > >> XWiki 8.2.1 on Jetty 9.3.11 and Java 8 >> >> Thanks, >> Dib ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users