Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-26 Thread Daniel Ullfig
I was looking around XWiki, and there does not seem to be a Class Page for the class JavaScriptExtensionClass, even though it is a class, and there are Class Documents for a whole bunch of other xwiki classes. This kinda breaks the paradigm, doesn't it? It should at least be some kind of

Re: [xwiki-users] internationalisation

2016-05-26 Thread superuser
I think it will be better if I could translate the UI modules separately from each other, instead of putting all key-value pairs at one place with global scope. e.g. having one transation page for drawer and other page for say, menu will be good. it could allow me to have for example:

Re: [xwiki-users] Python macro scripting - available packages?

2016-05-26 Thread Marc Mercer
Take a look at the refreshed python_macro page: http://extensions.xwiki.org/xwiki/bin/view/Extension/Python+Macro It should be of some help. -Daemoen On Thu, May 26, 2016 at 9:01 AM, Sebastian Schafer wrote: > Thank you both for the help. I'll try to play with copying

[xwiki-users] internationalisation

2016-05-26 Thread superuser
i am translating xwiki interface (e.g. login, register, page information, etc) of my website (www.wikinote.org) into marathi. i am doing this as: XWiki.Translations > Bundle in admin >>> etc. it works. Problem: it also translates the page content into marathi which is not always intended. e.g.

Re: [xwiki-users] Twitter Macro

2016-05-26 Thread Paul Pinkerton (ACLCO)
Thanks Silvia, Ludovic and Vincent. I did exactly what Silvia suggested here and created the Twitter widget and used it in an HTML macro. Working great. I'm just playing with some of the surrounding html code to see if I can make it a prettier display. Thanks. Paul Pinkerton KnowledgeNow

Re: [xwiki-users] Missing main menu/navigation bar

2016-05-26 Thread Vincent Massol
> On 26 May 2016, at 18:05, Silvia Macovei wrote: > > Hi, > > I've made a quick update to the Getting Started page, so it reflects the > new UI: http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/ Thanks Silvia! -Vincent > > Thanks for pointing this out! >

Re: [xwiki-users] Python macro scripting - available packages?

2016-05-26 Thread Sebastian Schafer
Thank you both for the help. I'll try to play with copying packages in the local directory and see whether Jython picks it up, there might be other restrictions. If I find anything useful, I'll update the doc site. Cheers Sebastian -Original Message- From: users

Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-26 Thread Daniel Ullfig
Thanks for the tip! I was in the middle of embedding Ace Editor in a page. Got it to work. displays javascript beautifully. But now I would have to work on integrating Rest calls, so that Ace can save the scripts back to the page. Isn't there a way of overriding the Object Editor, so that

Re: [xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-26 Thread Mahomed Hussein
I'm afraid that makes no difference. Would it be worth deleting and recreating a new skin? I have noticed that the "home" icon as well as other icons in the applications panel have changed from the font-awesome type to colourful type icons. But I still don't have the logo or any of the

Re: [xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-26 Thread Vincent Massol
> On 26 May 2016, at 15:08, Mahomed Hussein wrote: > > Hi Thomas > > Thanks for responding. > > The skin is called "CDCSkin". Which is sometimes shown as "Main.CDCSkin". > > The URL for it is: > > http://xwiki.local:8080/xwiki/bin/view/Main/CDCSkin > > The title of

Re: [xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-26 Thread Mahomed Hussein
Hi Thomas Thanks for responding. The skin is called "CDCSkin". Which is sometimes shown as "Main.CDCSkin". The URL for it is: http://xwiki.local:8080/xwiki/bin/view/Main/CDCSkin The title of the page is simply "Skin" and the breadcrumbs shows "Home > Skin" I have tried the following URLS and

Re: [xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-26 Thread Thomas Mortagne
The only thing that changed I can think of is that there is a default base skin now in xwiki.cfg. Skin that were not indicated any parent skin used to inherit directly from /templates/, maybe that's you issue. On Thu, May 26, 2016 at 2:41 PM, Thomas Mortagne wrote: >

Re: [xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-26 Thread Thomas Mortagne
?skin= should always work. What and where is your skin exactly ? On Thu, May 26, 2016 at 2:30 PM, Mahomed Hussein wrote: > Hi > > It seems that 8.1 is ignoring my custom skin. I can tell because it isn’t > loading the skin or any of the overriding .vm files. > > Even if

[xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-26 Thread Mahomed Hussein
Hi It seems that 8.1 is ignoring my custom skin. I can tell because it isn’t loading the skin or any of the overriding .vm files. Even if I use the “Test this Skin” link which specifically specifies the ?skin=CDCSkin, it doesn’t make any difference. I have looked through:

Re: [xwiki-users] REST API ignores type parameter

2016-05-26 Thread Marius Dumitru Florea
On Wed, May 25, 2016 at 3:00 PM, Mark Sack wrote: > You're right - I was missing the wiki name. But, for some reason, I still > can't get the queries to work. Here is what I've found so far. > > There is only one wiki - confirmed by the following REST call: >

Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-26 Thread Marius Dumitru Florea
On Wed, May 25, 2016 at 8:05 PM, dullfig wrote: > Hello: > > I was wondering if anyone else has done this. My application is starting to > need a whole bunch of javascript, and I was thinking of setting up a > separate space (maybe call it js) where there is nothing but

Re: [xwiki-users] Twitter Macro

2016-05-26 Thread Silvia Macovei
Hi, I’ve been using Twitter Widgets + the XWiki HTML macro to display Twitter feeds on a wiki page. To create the widget you can follow the instructions on https://support.twitter.com/articles/20170071# and then copy/ paste the code into the HTML macro. Hope this helps, Silvia On Wed, May 25,

Re: [xwiki-users] Python macro scripting - available packages?

2016-05-26 Thread Thomas Mortagne
And same comment as Vincent, if you find a nice trick please don't hesitate to share it on http://extensions.xwiki.org/xwiki/bin/view/Extension/Python+Macro On Thu, May 26, 2016 at 9:29 AM, Thomas Mortagne wrote: > If you want to see the embedded modules, they are all

Re: [xwiki-users] Python macro scripting - available packages?

2016-05-26 Thread Thomas Mortagne
If you want to see the embedded modules, they are all located in the jython-standalone jar (you can open it as a zip) file in /Lib folder. On Thu, May 26, 2016 at 9:27 AM, Thomas Mortagne wrote: > Actually Vincent is talking about the ruby macro. > > The python macro

Re: [xwiki-users] Python macro scripting - available packages?

2016-05-26 Thread Thomas Mortagne
Actually Vincent is talking about the ruby macro. The python macro implementation is Jython (through JSR223) that you can find on http://jython.org/. Some ideas: It might be enough to just put the egg file of the module you need directly in WEB-INF/lib since Jython is scanning the classpath

Re: [xwiki-users] Twitter Macro

2016-05-26 Thread Ludovic Dubost
Not sure.. I think there might be changes to the api now.. best would be to transform the HTML widgets into macros with parameters. I don't have much time though Ludovic Le 26 mai 2016 08:42, "Vincent Massol" a écrit : > > > On 26 May 2016, at 08:40, Vincent Massol

Re: [xwiki-users] Twitter Macro

2016-05-26 Thread Vincent Massol
> On 26 May 2016, at 08:40, Vincent Massol wrote: > > I’d suggest you either remove the extension or update its doc page to have a > big warning explaining that it’s not working anymore. … and suggest alternatives :) AFAIR I have used twitter4j successfully in the past. I

Re: [xwiki-users] Twitter Macro

2016-05-26 Thread Vincent Massol
I’d suggest you either remove the extension or update its doc page to have a big warning explaining that it’s not working anymore. Thanks -Vincent > On 26 May 2016, at 08:38, Ludovic Dubost wrote: > > Hi > > I believe it's because Twitter's APIs are not working anymore or

Re: [xwiki-users] Twitter Macro

2016-05-26 Thread Ludovic Dubost
Hi I believe it's because Twitter's APIs are not working anymore or have changed This is probably an easier solution using the XWiki HTML macro https://dev.twitter.com/web/embedded-timelines Le 25 mai 2016 18:42, "Paul Pinkerton (ACLCO)" a écrit : > Trying to get this macro

Re: [xwiki-users] Python macro scripting - available packages?

2016-05-26 Thread Vincent Massol
Hi Sebastian, > On 26 May 2016, at 02:17, Sebastian Schafer wrote: > > Hi, > I'm trying to import some packages into the Python macro on Xwiki 7.2, and > while standard packages import fine (working with os and re, etc.), some > (like xlrd) don't. > Looking through the