Re: [xwiki-users] Including local (file://) webpage

2016-03-05 Thread vinc...@massol.net
Hi,

On 4 Mar 2016 at 21:55:55, pgregoire 
(pgrego...@eddyfi.com(mailto:pgrego...@eddyfi.com)) wrote:

> Hello,
> I'm pretty sure this can't be done currently, but I still wanted to double
> check.
> It seems that Chrome and Firefox prevent linking to local files - so the
> IFrame macro, when pointing to file://someserver/somefile.html, doesn't
> display anything.
> For some reason IE allows it, so I do see the content of my frame when
> displaying the page with IE.
>  
> I was thinking maybe the xwiki.getURLContent would fetch the content of my
> local html file and generate the content server side so that my web browser
> wouldn't know the difference, but it doesn't seem to work with my file://
> link.
>  
> Does somebody have an idea of how I could go about including a local html
> file in xwiki pages?

You need to configure your browser to remove the security feature of not 
opening local file:// links. Whether the link is opened in a wiki link or in an 
HTML IFRAME SRC attribute, it’s the same issue.

There are plenty of resource on google to do this. Here’s just one for Chrome:
http://voxelent.com/local-chrome/

Thanks
-Vincent

> Thanks,
> Phil

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to disable versionning for a document

2016-03-02 Thread vinc...@massol.net
 

On 2 Mar 2016 at 11:50:30, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

> Hi,
>  
> I have a page cronly updated with RESTful API and I want disable document 
> versionning for this page only.

I’m interested in knowing more about the use case to see if there’s a generic 
need.

> I want to save a little bit storage :-)
>  
> Is it possible and how?

Right now disabling versioning is only global:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDocumentversioning

> If not I suppose I must schedule a full history wipe?

I’ve added this snippet not long ago that you could find useful for this:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Revisions+From+Author

Thanks
-Vincent

> Thxs.
>  
> Pascal B

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Translation problems

2016-03-09 Thread vinc...@massol.net
Hi Mark,

On 8 Mar 2016 at 13:35:16, Mark Sack 
(mark.s...@secti.al.gov.br(mailto:mark.s...@secti.al.gov.br)) wrote:

> I have been updating the translations on the l10n site and then downloading
> the resource files. My challenge is that, sometimes, I don't want to wait
> for the next release. My perception is that, for extensions, the wait until
> the next release can be quite long (not a surprise). Speaking in complete
> ignorance of the implementation challenges, I think it would be ideal if the
> translations could be updated separately from the releases.

You don’t need to wait; you could put the translations in a wiki page with a 
TranslationDocumentClass xobject, see
http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications#HUsingpropertieslocatedinXWikipages

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


<    3   4   5   6   7   8