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-bounces@xwiki.org] On Behalf Of Clemens Klein-Robbenhaar
Sent: 15 May 2015 14:13
To: users(a)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.
>
> <quote>This should work, unless you have secured the wiki in the adminstration with the "black checkboxes" preventing any anonymous access, independent of view rights.
> </quote>
>
> 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-bounces@xwiki.org] On Behalf Of Clemens Klein-Robbenhaar
> Sent: 15 May 2015 12:18
> To: users(a)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(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi Clemens
Thanks for the response.
<quote>This should work, unless you have secured the wiki in the adminstration with the "black checkboxes" preventing any anonymous access, independent of view rights.
</quote>
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-bounces@xwiki.org] On Behalf Of Clemens Klein-Robbenhaar
Sent: 15 May 2015 12:18
To: users(a)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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
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
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 10 May 2015 11:29
To: XWiki Users
Cc: Mahomed Hussein
Subject: Re: [xwiki-users] Printing pages as displayed
Thanks for the kind words! You’re now on http://www.xwiki.org/xwiki/bin/view/References/Testimonials
:)
Thanks
-Vincent
On 8 May 2015 at 11:30:18, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Thanks for this. The power of xwiki and the great job the developers/contributors have done never ceases to amaze me! I love it :)
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ecaterina Moraru (Valica)
Sent: 07 May 2015 13:29
To: XWiki Users
Subject: Re: [xwiki-users] Printing pages as displayed
Except print.css another way of 'printing' XWiki pages would be to
customize the PDF export, but this step is more complicated (you need to do
modifications to pdf templates, XHTML2FO XSL and FOP XSL transformations,
etc.), see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomiz…
Depends on what you need to do.
Have fun,
Caty
On Thu, May 7, 2015 at 2:57 PM, Mahomed Hussein <Mahomed(a)custodiandc.com<mailto:Mahomed@custodiandc.com>>
wrote:
> Great! Thanks. Good to know I was on the right path :)
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ecaterina
> Moraru (Valica)
> Sent: 07 May 2015 12:25
> To: XWiki Users
> Subject: Re: [xwiki-users] Printing pages as displayed
>
> On Thu, May 7, 2015 at 1:46 PM, Mahomed Hussein <Mahomed(a)custodiandc.com<mailto:Mahomed@custodiandc.com>>
> wrote:
>
> > Hi
> >
> > Can anyone help please with some information on how to modify/control the
> > print layout please? Thanks.
> >
>
> Each skin has a print.css
>
>
> >
> >
> > Kind regards,
> >
> > Mahomed
> >
> >
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed
> Hussein
> > Sent: 05 May 2015 17:59
> > To: XWiki Users
> > Subject: Re: [xwiki-users] Printing pages as displayed
> >
> > Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme
> based
> > on the flamingo skin.
> >
> >
> > Kind regards,
> >
> > Mahomed
> >
> >
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed
> Hussein
> > Sent: 05 May 2015 17:53
> > To: XWiki Users
> > Subject: [xwiki-users] Printing pages as displayed
> >
> > Hi
> >
> > Is there a way of printing the pages as they are displayed? Ideally
> > printing without the side panel, but with all the different
> > colours/formatting as it appears on the screen would be ideal. At the
> > moment all colours and formatting is stripped if you try to print
> directly
> > from the page, using the print preview option or by exporting to PDF.
> >
> > I have tried an export to HTML and then using the local html file to see
> > if that works but it seems that whatever script/css is forcing the print
> > formatting still takes effect on the exported html. I have tried saving
> the
> > page only directly but it still does the same thing. I have tried Chrome.
> > Firefox and IE.
> >
> > I have also tried a google search and I have searched for print and
> > printing on the FAQ but there are so many results it may take a few hours
> > to go through them all. I suspect there’s a CSS file I need to modify
> > somewhere (possibly print.css?) that will format the export with the
> header
> > colours etc. If so, please could someone kindly point me at the correct
> > documentation or provide any tips/hints?
> >
> > Thanks in advance.
> >
> >
> > Kind regards,
> >
> > Mahomed
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org<mailto:users@xwiki.org>
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org<mailto:users@xwiki.org>
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org<mailto:users@xwiki.org>
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org<mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org<mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
Is there a configuration setting to force all hosts in a cluster to read from the database (instead of reading from the cache) each time a wiki page is requested?
Thanks for this. The power of xwiki and the great job the developers/contributors have done never ceases to amaze me! I love it :)
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ecaterina Moraru (Valica)
Sent: 07 May 2015 13:29
To: XWiki Users
Subject: Re: [xwiki-users] Printing pages as displayed
Except print.css another way of 'printing' XWiki pages would be to
customize the PDF export, but this step is more complicated (you need to do
modifications to pdf templates, XHTML2FO XSL and FOP XSL transformations,
etc.), see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomiz…
Depends on what you need to do.
Have fun,
Caty
On Thu, May 7, 2015 at 2:57 PM, Mahomed Hussein <Mahomed(a)custodiandc.com>
wrote:
> Great! Thanks. Good to know I was on the right path :)
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ecaterina
> Moraru (Valica)
> Sent: 07 May 2015 12:25
> To: XWiki Users
> Subject: Re: [xwiki-users] Printing pages as displayed
>
> On Thu, May 7, 2015 at 1:46 PM, Mahomed Hussein <Mahomed(a)custodiandc.com>
> wrote:
>
> > Hi
> >
> > Can anyone help please with some information on how to modify/control the
> > print layout please? Thanks.
> >
>
> Each skin has a print.css
>
>
> >
> >
> > Kind regards,
> >
> > Mahomed
> >
> >
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed
> Hussein
> > Sent: 05 May 2015 17:59
> > To: XWiki Users
> > Subject: Re: [xwiki-users] Printing pages as displayed
> >
> > Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme
> based
> > on the flamingo skin.
> >
> >
> > Kind regards,
> >
> > Mahomed
> >
> >
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed
> Hussein
> > Sent: 05 May 2015 17:53
> > To: XWiki Users
> > Subject: [xwiki-users] Printing pages as displayed
> >
> > Hi
> >
> > Is there a way of printing the pages as they are displayed? Ideally
> > printing without the side panel, but with all the different
> > colours/formatting as it appears on the screen would be ideal. At the
> > moment all colours and formatting is stripped if you try to print
> directly
> > from the page, using the print preview option or by exporting to PDF.
> >
> > I have tried an export to HTML and then using the local html file to see
> > if that works but it seems that whatever script/css is forcing the print
> > formatting still takes effect on the exported html. I have tried saving
> the
> > page only directly but it still does the same thing. I have tried Chrome.
> > Firefox and IE.
> >
> > I have also tried a google search and I have searched for print and
> > printing on the FAQ but there are so many results it may take a few hours
> > to go through them all. I suspect there’s a CSS file I need to modify
> > somewhere (possibly print.css?) that will format the export with the
> header
> > colours etc. If so, please could someone kindly point me at the correct
> > documentation or provide any tips/hints?
> >
> > Thanks in advance.
> >
> >
> > Kind regards,
> >
> > Mahomed
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi, today I've installed xwiki behind firewall. Obviously I had to skip the
Distribution Wizard due to being behind firewall.
One issue is that the default 'Admin' user's password does not seem to
work. Is it because I skipped the Distribution Wizard to install the ui
main wiki?
I've downloaded xwiki-enterprise-ui-mainwiki-all-7.1-milestone-1.xar file,
but since I can't log in as Admin, I can't even install the extension...
Any help would be really appreciated.
Thanks,
s.
Sent from my iPhone
> Hi Vincent
>
> I am trying to convert JSPwiki pages to Xwiki pages.For that I used the code which is in the link
> http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conve…
>
> After I fixed all jar issues in classpath then I ran the program, JspWikiImporter I got the null pointer exception.
>
> I saw people posted the same messages in this group. I don’t see the answers for this matter. Do you have any update for the issue?
>
>
> java.lang.NullPointerException
> at com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
> at com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
> at com.xpn.xwiki.web.Utils.getComponent(Utils.java:781)
> at com.xpn.xwiki.XWikiCompatibilityAspect.ajc$interFieldInit$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$defaultReferenceEntityReferenceResolver(XWikiCompatibilityAspect.aj:87)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:6450)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:6441)
> at JspWikiImporter.export(JspWikiImporter.java:72)
> at JspWikiImporter.main(JspWikiImporter.java:62)
> Exception in thread "main" java.lang.RuntimeException: Export failed
> at JspWikiImporter.export(JspWikiImporter.java:99)
> at JspWikiImporter.main(JspWikiImporter.java:62)
> Caused by: java.lang.NullPointerException
> at com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
> at com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
> at com.xpn.xwiki.web.Utils.getComponent(Utils.java:781)
> at com.xpn.xwiki.XWikiCompatibilityAspect.ajc$interFieldInit$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$defaultReferenceEntityReferenceResolver(XWikiCompatibilityAspect.aj:87)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:6450)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:6441)
> at JspWikiImporter.export(JspWikiImporter.java:72)
> ... 1 more
>
> Thanks
>
>
> Ken Liang
> Contractor
> Unisys
> Office: 571-468-2782
>
>
We have deployed XWiki over a two-node EC2 cluster. We are using JGroups over S3 for cluster messaging as multicast does not work in EC2.
I have noticed that if I edit a page on host A, and then refresh the same page from host B, it shows stale content — it takes up to a minute for the caches to sync.
Is this something others have observed when running XWiki over multiple hosts? (I'm wondering if this is a JGroups/S3 issue)For people who are running XWiki in a cluster, how long does it typically take for changes made from one machine to show up in another?Are there any recommendations on how to speed up cache-sync time between XWiki hosts on a cluster?
Also, in a cluster, is the default XWiki cache a distributed cache? Or is the same cache content replicated across all nodes in a cluster?
Great! Thanks. Good to know I was on the right path :)
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ecaterina Moraru (Valica)
Sent: 07 May 2015 12:25
To: XWiki Users
Subject: Re: [xwiki-users] Printing pages as displayed
On Thu, May 7, 2015 at 1:46 PM, Mahomed Hussein <Mahomed(a)custodiandc.com>
wrote:
> Hi
>
> Can anyone help please with some information on how to modify/control the
> print layout please? Thanks.
>
Each skin has a print.css
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
> Sent: 05 May 2015 17:59
> To: XWiki Users
> Subject: Re: [xwiki-users] Printing pages as displayed
>
> Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme based
> on the flamingo skin.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
> Sent: 05 May 2015 17:53
> To: XWiki Users
> Subject: [xwiki-users] Printing pages as displayed
>
> Hi
>
> Is there a way of printing the pages as they are displayed? Ideally
> printing without the side panel, but with all the different
> colours/formatting as it appears on the screen would be ideal. At the
> moment all colours and formatting is stripped if you try to print directly
> from the page, using the print preview option or by exporting to PDF.
>
> I have tried an export to HTML and then using the local html file to see
> if that works but it seems that whatever script/css is forcing the print
> formatting still takes effect on the exported html. I have tried saving the
> page only directly but it still does the same thing. I have tried Chrome.
> Firefox and IE.
>
> I have also tried a google search and I have searched for print and
> printing on the FAQ but there are so many results it may take a few hours
> to go through them all. I suspect there’s a CSS file I need to modify
> somewhere (possibly print.css?) that will format the export with the header
> colours etc. If so, please could someone kindly point me at the correct
> documentation or provide any tips/hints?
>
> Thanks in advance.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
Can anyone help please with some information on how to modify/control the print layout please? Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 05 May 2015 17:59
To: XWiki Users
Subject: Re: [xwiki-users] Printing pages as displayed
Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme based on the flamingo skin.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 05 May 2015 17:53
To: XWiki Users
Subject: [xwiki-users] Printing pages as displayed
Hi
Is there a way of printing the pages as they are displayed? Ideally printing without the side panel, but with all the different colours/formatting as it appears on the screen would be ideal. At the moment all colours and formatting is stripped if you try to print directly from the page, using the print preview option or by exporting to PDF.
I have tried an export to HTML and then using the local html file to see if that works but it seems that whatever script/css is forcing the print formatting still takes effect on the exported html. I have tried saving the page only directly but it still does the same thing. I have tried Chrome. Firefox and IE.
I have also tried a google search and I have searched for print and printing on the FAQ but there are so many results it may take a few hours to go through them all. I suspect there’s a CSS file I need to modify somewhere (possibly print.css?) that will format the export with the header colours etc. If so, please could someone kindly point me at the correct documentation or provide any tips/hints?
Thanks in advance.
Kind regards,
Mahomed
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users