Re: [xwiki-users] Content

2015-06-06 Thread vinc...@massol.net


On 3 Jun 2015 at 18:32:59, Sergiu Dumitriu 
(ser...@xwiki.org(mailto:ser...@xwiki.org)) wrote:

> You need to add a parameter in the URL:
>  
> force-download=1
>  
> I don't know how you built your URL, but if you're using wiki syntax,
> this works:
>  
> [[Get the file>>attach:space@file.csr||queryString="force-download=1”]]

And I have now documented it at:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Standard+URL+Format#HParameter:force-download
 (following our strategy at 
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions
 ;)).

Thanks
-Vincent
 
> On 06/01/2015 09:21 AM, vinc...@massol.net wrote:
> >
> >
> >
> > On 1 Jun 2015 at 15:17:46, Maciej Fokt (maciek.f...@taxi123.pl) wrote:
> >
> > W dniu .06.2015 o 15:11 vinc...@massol.net pisze:
> >
> >
> >
> >
> > On 1 Jun 2015 at 15:09:18, Maciej Fokt (maciek.f...@taxi123.pl) wrote:
> >
> > W dniu .06.2015 o 13:15 vinc...@massol.net pisze:
> >
> > Hi Maciek,
> >
> > On 1 Jun 2015 at 12:59:55, Maciej Fokt 
> > (maciek.f...@taxi123.pl(mailto:maciek.f...@taxi123.pl)) wrote:
> >
> >> Hi,
> >> What I have to do... I would like to make a link on page to file, I mean:
> >> "User have to click link to download". [This link isn't a link to Internet
> >> page]
> >>
> >> I want to add file to the page as attachment for users to download.
> >
> > Does this help: 
> > http://platform.xwiki.org/xwiki/bin/view/Features/Attachments#HLinkingtoanattachedfile2Fimage
> >  ?
> >
> > Thanks
> > -Vincent
> >
> >> Thanks,
> >> Maciek.
> >
> > I don't want to show list with attachments for users, I need link which 
> > help their with download this file
> > I don’t understand what you’re asking.
> >
> > The link I gave you allows you to create a link to an attachment and anyone 
> > who clicks on it will download the attachment.
> >
> > What do you want exactly?
> >
> > Thanks
> >
> > -Vincent
> >
> >
> > My problem is probably rare :p I would like to add as attachment .csr file, 
> > I mean Java certificate so... when I click I see many numbers and words. I 
> > need window with button Download.
> >
> >
> > Sorry you’re still not being clear for me. I can’t help you if I don’t 
> > understand what you need :)
> >
> > Maybe someone else understands?
> >
> > Thanks
> >
> > -Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing of the localhost

2015-06-06 Thread vinc...@massol.net



On 5 Jun 2015 at 04:54:24, Carlo Tac-an 
(carloata...@yahoo.com(mailto:carloata...@yahoo.com)) wrote:

> On my first try, the Windows command prompt gave http://idea-PC:8080/ as a 
> directory of my wiki. The next day, the command prompt gave me a different 
> directory which was http://tonec.com:8080/, although I can still access the 
> first directory given to me. I prefer using the first directory, since 
> tonec.com is related to other software (the program might have made a mistake 
> in choosing the directory). How can I make the default directory back to the 
> first?

These are not directories… :) They are the qualified domain name for your 
computer’s IP… You computer can have several IP addresses and thus several host 
names. If you want to use one IP over another, just configure your Servlet 
Container to use the correct IP (for Jetty see 
http://www.eclipse.org/jetty/documentation/current/configuring-virtual-hosts.html
 for example).

You could also check what “localhost” is bound to and use http://localhost:8080 

-Vincent

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


Re: [xwiki-users] Slow start and navigation

2015-06-06 Thread vinc...@massol.net
Hi Carlo,


On 5 Jun 2015 at 04:58:11, Carlo Tac-an 
(carloata...@yahoo.com(mailto:carloata...@yahoo.com)) wrote:

> Starting the XWiki program takes a long time. The navigation inside the wiki 
> also sometimes do. Is there nothing I can do to make it fast? Thanks guys!

XWiki is a server software. It’s supposed to be running at all time and only 
need to stop it/restart it for maintenance reasons (i.e. very seldom).

That said, I’d also like that we find ways to make it start faster but it’s 
difficult. For example  one of the things that take up most of the time is the 
loading of all Java classes located in WEB-INF/lib by the Servlet Container and 
there isn’t much we can do on that, except by continuing to modularize XWiki 
with Flavors and have only core extensions be installed by default (which is 
close to what we have now already).

I feel you may be using XWiki as a tool you turn on/off when you need it which 
is not what it’s intended for. It needs to be left running.

Hope it helps,
-Vincent

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