Re: [xwiki-users] [mywiki] new wiki request

2015-05-15 Thread vinc...@massol.net

On 15 May 2015 at 20:25:33, Thomas Mortagne 
(thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote:

> Note that you don't have programming right on myxwiki.org so you can't 
> install jar extension or a XAR with a page that require programming 
> right. 

FTR I have added the info to the home page:
http://myxwiki.org/xwiki/bin/view/Main/

Thanks
-Vincent

> Tell me if you still want it. 
> 
> 
> On Fri, May 15, 2015 at 5:34 PM, Maxim Surdu wrote: 
> > description: A wiki to collaborate on planning bike trip to Japan in 
> > June-July 2015, and also to test a Component that should be able to modify 
> > page content reading content from e-mail. 
> > owner name: lier72 
> > wiki name: customtrip 
> > 
> > Thanks in advance! 
> > I am looking forward to hearing from you soon, 
> > Maxim Surdu 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [mywiki] new wiki request

2015-05-15 Thread Thomas Mortagne
Note that you don't have programming right on myxwiki.org so you can't
install jar extension or a XAR with a page that require programming
right.

Tell me if you still want it.


On Fri, May 15, 2015 at 5:34 PM, Maxim Surdu  wrote:
> description: A wiki to collaborate on planning bike trip to Japan in 
> June-July 2015, and also to test a Component that should be able to modify 
> page content reading content from e-mail.
> owner name: lier72
> wiki name: customtrip
>
> Thanks in advance!
> I am looking forward to hearing from you soon,
> Maxim Surdu
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



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


Re: [xwiki-users] [myxwiki] new wiki request

2015-05-15 Thread Thomas Mortagne
You can access your new wiki on http://hakosz.myxwiki.org. Enjoy !

On Thu, May 14, 2015 at 2:58 PM, Tibor Oláh  wrote:
> description: As a member of the HaKöSz non-profit foundation for university
> students in Hungary, I'd like to setup a wiki for knowledge sharing between
> the members of the organization.
> owner name: Tibor Oláh
> wiki name: hakosz
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



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


[xwiki-users] [mywiki] new wiki request

2015-05-15 Thread Maxim Surdu
description: A wiki to collaborate on planning bike trip to Japan in June-July 
2015, and also to test a Component that should be able to modify page content 
reading content from e-mail.
owner name: lier72
wiki name: customtrip

Thanks in advance!
I am looking forward to hearing from you soon,
Maxim Surdu


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


[xwiki-users] Comments

2015-05-15 Thread Maciej Fokt

Hi,

Is there option to hide comments,attachments etc.?

I would like to show comments only for administrators.

Warm wishes to you :)
Maciek.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Printing pages as displayed

2015-05-15 Thread Mahomed Hussein
These are excellent instructions. Thanks. I will give it a try next week and 
will report back.

If anyone else has any input about the other issues, I'd be most grateful.


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
Klein-Robbenhaar
Sent: 15 May 2015 14:13
To: users@xwiki.org
Subject: Re: [xwiki-users] Printing pages as displayed


I am always a bit uncertain which way is the best, too. However if you want to 
close your content from anonymous users,
then you must go to the file system to make modifications to the style in any 
case.

Maybe the following works for you:

  http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins

I see this recommends copying over all files from the base skin - I guess that 
is necessary in some cases, especially when all the LESS to CSS compilation 
takes place.

But if you only want to adapt e.g. the print.css, you can:
  - create directory /usr/lib/xwiki/skins/myskin
  - add a /usr/lib/xwiki/skins/myskin/skin.properties with 'parent=flamingo'
  - copy and adapt the  print.css from the "flamingo" dir into "myskin"
  - test the new skin via e.g. 
http://localhost:8080/xwiki/bin/view/Main/WebHome?skin=myskin
  - if this works, edit the "XWiki.DefaultSkin" to use "myskin" as base skin 
instead of "flamingo"

That way you avoid patching the original skin from the distribution and 
minimize duplicate file contents.

Clemens

> Hi Clemens
>
> Thanks for the response.
>
> This should work, unless you have secured the wiki in the 
> adminstration with the "black checkboxes" preventing any anonymous access, 
> independent of view rights.
> 
>
> Unfortunately this is exactly what I have. It's important that even if users 
> have access to our LAN, only authenticated users can view the documents.
>
> Interestingly, if I use the default skin style.css then it works fine. In the 
> meantime, I have cheated and replaced style.css in 
> /usr/lib/xwiki/skins/flamingo
>
> I am assuming I need to create my own skin folder and not use the skin app 
> (though to be completely honest, I am a bit confused which is the recommended 
> way).
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
> Klein-Robbenhaar
> Sent: 15 May 2015 12:18
> To: users@xwiki.org
> Subject: Re: [xwiki-users] Printing pages as displayed
>
> Hi Mahomed,
>
>  I just know an answer about the last one ... I hope the rest will be 
> answered by others.
>
> If you want your skin customizations visible on the login page, too, then you 
> need to make sure the anonymous user can view the page with the modifications.
>
> Giving the XWikiAllGroup view permisisons is not enough, but you are in the 
> right place; if you look at the top of of the list showing all groups and 
> their permission, you should find a button to switch from groups to users - 
> there you can give the "anonymous user" view rights, too.
>
> This should work, unless you have secured the wiki in the adminstration with 
> the "black checkboxes" preventing any anonymous access, independent of view 
> rights.
> If you have done the latter, then the wiki content is fully protected, 
> including skin customizations, and unfortunately you cannot have both a wiki 
> completely closed to anonymous visitors and still have them view that single 
> attachment on the login page;
> you would have to patch things by editing the webapp on the file system 
> directly.
>
> Cheers
> Clemens
>
>
>> That’s cool. Thanks Vincent ☺
>>
>> I finally got some time (and was forced to) look at implementing changes to 
>> the print formatting. I had some mixed results. I’ll document what I’ve done 
>> below and the bits I am having some trouble with and hopefully someone can 
>> provide me with further tips.
>>
>>
>> 1.   I managed to format the PDF Export output by attaching a pdf.css 
>> file to my custom skin application (as per 
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application). This 
>> has mostly worked for straightforward items like headers and font. But I am 
>> having trouble with some of my tables and it would help if I could reduce 
>> the margins of the page.
>> QUESTION: Is there a simple way to modify the margins (I need narrower 
>> margins)
>>
>> 2.   I tried to format the printed output but found that attaching a 
>> print.css to my skin application did very little/nothing to format the 
>> output. I tested by creating an article in the Sandbox, Clicking “More 
>> Actions” > “Print Preview” > Press Ctrl+P. This was testing in Chrome and 
>> Firefox with the same effect/results.
>>
>> 3.   I then found that there were several @Media=”Print” sections in the 
>> Style.css file. So I downloaded this, removed the @Media sections and 
>> re-attached my new style.css to my skin application. This now allowed my 
>> formatting in the attached print.css to take effect. So this now wo

Re: [xwiki-users] Printing pages as displayed

2015-05-15 Thread Clemens Klein-Robbenhaar

I am always a bit uncertain which way is the best, too. However if you want to 
close your content from anonymous users,
then you must go to the file system to make modifications to the style in any 
case.

Maybe the following works for you:

  http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins

I see this recommends copying over all files from the base skin - I guess that 
is necessary in some cases, especially when all the LESS to CSS compilation 
takes place.

But if you only want to adapt e.g. the print.css, you can:
  - create directory /usr/lib/xwiki/skins/myskin
  - add a /usr/lib/xwiki/skins/myskin/skin.properties with 'parent=flamingo'
  - copy and adapt the  print.css from the "flamingo" dir into "myskin"
  - test the new skin via e.g. 
http://localhost:8080/xwiki/bin/view/Main/WebHome?skin=myskin
  - if this works, edit the "XWiki.DefaultSkin" to use "myskin" as base skin 
instead of "flamingo"

That way you avoid patching the original skin from the distribution and 
minimize duplicate file contents.

Clemens

> Hi Clemens
> 
> Thanks for the response.
> 
> This should work, unless you have secured the wiki in the 
> adminstration with the "black checkboxes" preventing any anonymous access, 
> independent of view rights.
> 
> 
> Unfortunately this is exactly what I have. It's important that even if users 
> have access to our LAN, only authenticated users can view the documents.
> 
> Interestingly, if I use the default skin style.css then it works fine. In the 
> meantime, I have cheated and replaced style.css in 
> /usr/lib/xwiki/skins/flamingo
> 
> I am assuming I need to create my own skin folder and not use the skin app 
> (though to be completely honest, I am a bit confused which is the recommended 
> way).
> 
> 
> Kind regards,
> 
> Mahomed
> 
> 
> 
> 
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
> Klein-Robbenhaar
> Sent: 15 May 2015 12:18
> To: users@xwiki.org
> Subject: Re: [xwiki-users] Printing pages as displayed
> 
> Hi Mahomed,
> 
>  I just know an answer about the last one ... I hope the rest will be 
> answered by others.
> 
> If you want your skin customizations visible on the login page, too, then you 
> need to make sure the anonymous user can view the page with the modifications.
> 
> Giving the XWikiAllGroup view permisisons is not enough, but you are in the 
> right place; if you look at the top of of the list showing all groups and 
> their permission, you should find a button to switch from groups to users - 
> there you can give the "anonymous user" view rights, too.
> 
> This should work, unless you have secured the wiki in the adminstration with 
> the "black checkboxes" preventing any anonymous access, independent of view 
> rights.
> If you have done the latter, then the wiki content is fully protected, 
> including skin customizations, and unfortunately you cannot have both a wiki 
> completely closed to anonymous visitors and still have them view that single 
> attachment on the login page;
> you would have to patch things by editing the webapp on the file system 
> directly.
> 
> Cheers
> Clemens
> 
> 
>> That’s cool. Thanks Vincent ☺
>>
>> I finally got some time (and was forced to) look at implementing changes to 
>> the print formatting. I had some mixed results. I’ll document what I’ve done 
>> below and the bits I am having some trouble with and hopefully someone can 
>> provide me with further tips.
>>
>>
>> 1.   I managed to format the PDF Export output by attaching a pdf.css 
>> file to my custom skin application (as per 
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application). This 
>> has mostly worked for straightforward items like headers and font. But I am 
>> having trouble with some of my tables and it would help if I could reduce 
>> the margins of the page.
>> QUESTION: Is there a simple way to modify the margins (I need narrower 
>> margins)
>>
>> 2.   I tried to format the printed output but found that attaching a 
>> print.css to my skin application did very little/nothing to format the 
>> output. I tested by creating an article in the Sandbox, Clicking “More 
>> Actions” > “Print Preview” > Press Ctrl+P. This was testing in Chrome and 
>> Firefox with the same effect/results.
>>
>> 3.   I then found that there were several @Media=”Print” sections in the 
>> Style.css file. So I downloaded this, removed the @Media sections and 
>> re-attached my new style.css to my skin application. This now allowed my 
>> formatting in the attached print.css to take effect. So this now works and 
>> looks as I would expect. But I don’t really like the idea of having my own 
>> style.css as it’ll make it more difficult to take advantage of any new 
>> formatting changes that may be added later (unless I’ve missed the point 
>> here)
>>
>> 4.   I have locked down the xwiki so that only registered and logged in 
>> users can view any of the documents. Unfortunately this n

Re: [xwiki-users] Printing pages as displayed

2015-05-15 Thread Mahomed Hussein
Hi Clemens

Thanks for the response.

This should work, unless you have secured the wiki in the adminstration 
with the "black checkboxes" preventing any anonymous access, independent of 
view rights.


Unfortunately this is exactly what I have. It's important that even if users 
have access to our LAN, only authenticated users can view the documents.

Interestingly, if I use the default skin style.css then it works fine. In the 
meantime, I have cheated and replaced style.css in /usr/lib/xwiki/skins/flamingo

I am assuming I need to create my own skin folder and not use the skin app 
(though to be completely honest, I am a bit confused which is the recommended 
way).


Kind regards,

Mahomed




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Clemens 
Klein-Robbenhaar
Sent: 15 May 2015 12:18
To: users@xwiki.org
Subject: Re: [xwiki-users] Printing pages as displayed

Hi Mahomed,

 I just know an answer about the last one ... I hope the rest will be answered 
by others.

If you want your skin customizations visible on the login page, too, then you 
need to make sure the anonymous user can view the page with the modifications.

Giving the XWikiAllGroup view permisisons is not enough, but you are in the 
right place; if you look at the top of of the list showing all groups and their 
permission, you should find a button to switch from groups to users - there you 
can give the "anonymous user" view rights, too.

This should work, unless you have secured the wiki in the adminstration with 
the "black checkboxes" preventing any anonymous access, independent of view 
rights.
If you have done the latter, then the wiki content is fully protected, 
including skin customizations, and unfortunately you cannot have both a wiki 
completely closed to anonymous visitors and still have them view that single 
attachment on the login page;
you would have to patch things by editing the webapp on the file system 
directly.

Cheers
Clemens


> That’s cool. Thanks Vincent ☺
>
> I finally got some time (and was forced to) look at implementing changes to 
> the print formatting. I had some mixed results. I’ll document what I’ve done 
> below and the bits I am having some trouble with and hopefully someone can 
> provide me with further tips.
>
>
> 1.   I managed to format the PDF Export output by attaching a pdf.css 
> file to my custom skin application (as per 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application). This 
> has mostly worked for straightforward items like headers and font. But I am 
> having trouble with some of my tables and it would help if I could reduce the 
> margins of the page.
> QUESTION: Is there a simple way to modify the margins (I need narrower 
> margins)
>
> 2.   I tried to format the printed output but found that attaching a 
> print.css to my skin application did very little/nothing to format the 
> output. I tested by creating an article in the Sandbox, Clicking “More 
> Actions” > “Print Preview” > Press Ctrl+P. This was testing in Chrome and 
> Firefox with the same effect/results.
>
> 3.   I then found that there were several @Media=”Print” sections in the 
> Style.css file. So I downloaded this, removed the @Media sections and 
> re-attached my new style.css to my skin application. This now allowed my 
> formatting in the attached print.css to take effect. So this now works and 
> looks as I would expect. But I don’t really like the idea of having my own 
> style.css as it’ll make it more difficult to take advantage of any new 
> formatting changes that may be added later (unless I’ve missed the point here)
>
> 4.   I have locked down the xwiki so that only registered and logged in 
> users can view any of the documents. Unfortunately this now means that 
> style.css is not accessible on the login page. I have modified the access 
> rights on the skin application and given view permissions to XWikiAllGroup 
> but I suspect I need to somehow give access to guests but I can’t see how to 
> do that.
>
> Sorry for the long email and I hope I’ve explained clearly. Any help greatly 
> appreciated (as always).
>
>
> Kind regards,
>
> Mahomed
>

___
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] Printing pages as displayed

2015-05-15 Thread Clemens Klein-Robbenhaar
Hi Mahomed,

 I just know an answer about the last one ... I hope the rest will be answered 
by others.

If you want your skin customizations visible on the login page, too, then you 
need to make sure the anonymous user can view the page with the modifications.

Giving the XWikiAllGroup view permisisons is not enough, but you are in the 
right place; if you look at the top of of the list showing all groups and their 
permission, you should find a button to switch from groups to users - there you 
can give the "anonymous user" view rights, too.

This should work, unless you have secured the wiki in the adminstration with 
the "black checkboxes" preventing any anonymous access, independent of view 
rights.
If you have done the latter, then the wiki content is fully protected, 
including skin customizations, and unfortunately you cannot have both a wiki 
completely closed to anonymous visitors and still have them view that single 
attachment on the login page;
you would have to patch things by editing the webapp on the file system 
directly.

Cheers
Clemens


> That’s cool. Thanks Vincent ☺
> 
> I finally got some time (and was forced to) look at implementing changes to 
> the print formatting. I had some mixed results. I’ll document what I’ve done 
> below and the bits I am having some trouble with and hopefully someone can 
> provide me with further tips.
> 
> 
> 1.   I managed to format the PDF Export output by attaching a pdf.css 
> file to my custom skin application (as per 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application). This 
> has mostly worked for straightforward items like headers and font. But I am 
> having trouble with some of my tables and it would help if I could reduce the 
> margins of the page.
> QUESTION: Is there a simple way to modify the margins (I need narrower 
> margins)
> 
> 2.   I tried to format the printed output but found that attaching a 
> print.css to my skin application did very little/nothing to format the 
> output. I tested by creating an article in the Sandbox, Clicking “More 
> Actions” > “Print Preview” > Press Ctrl+P. This was testing in Chrome and 
> Firefox with the same effect/results.
> 
> 3.   I then found that there were several @Media=”Print” sections in the 
> Style.css file. So I downloaded this, removed the @Media sections and 
> re-attached my new style.css to my skin application. This now allowed my 
> formatting in the attached print.css to take effect. So this now works and 
> looks as I would expect. But I don’t really like the idea of having my own 
> style.css as it’ll make it more difficult to take advantage of any new 
> formatting changes that may be added later (unless I’ve missed the point here)
> 
> 4.   I have locked down the xwiki so that only registered and logged in 
> users can view any of the documents. Unfortunately this now means that 
> style.css is not accessible on the login page. I have modified the access 
> rights on the skin application and given view permissions to XWikiAllGroup 
> but I suspect I need to somehow give access to guests but I can’t see how to 
> do that.
> 
> Sorry for the long email and I hope I’ve explained clearly. Any help greatly 
> appreciated (as always).
> 
> 
> Kind regards,
> 
> Mahomed
> 

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