Add generic media=print stylesheet

Project:ProjectPier
Version:0.8.5.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:open - needs more info
Description

Right now there is no print stylesheet being loaded by PP and printouts have full navigation and stuff. Seeing as PP is largely for organizational/corporate environments it makes sense that people will want printouts for meetings and things, so we should make this as easy as possible.

Seeing as the templates are really just CSS, it seems to me we should be able to have just one print CSS file that we can use in all occasions. It should be free of navigation and color, but have relevant names, dates, project data and anything else relevant listed at the top.

Version:»

This would be a great contribution if any designers felt like taking it on!

I'll do it for the team. But what needs to be printed and what doesn't.

I can write the CSS but where do I add the link to the stylesheet?

Sorry I haven't had a chance to work on this I have been designing a new theme for PP. The theme will have a print.css file though. If people want to wait they can, otherwise someone else should do this who has a little free time.

For those designers who want to try doing this, replace this page.php file in your applications/helpers/ directory. This will create a link to a print stylesheet in public/assets/print.css. Then all you need to do is create that CSS file and away you go!

AttachmentSize
page.php_.txt18.58 KB
Version:» 0.8.5.x-dev

This other issue is a duplicate:
http://projectpier.org/node/355

I copy here what was written there as well as add the file proposed and close the other one as duplicate (more comments here).

jwriteclub said:
As per the discussion in the forum, here is an example print style sheet.
It is relatively good, although there are still a few issues that need to be addressed. In addition, the other style sheets are currently added without the 'media' attribute set which seems to cause issues on some browsers.
In addition, I have not included a patch as I have not yet perused the code throughly enough to figure out how to 'properly' add this to the core.

AttachmentSize
print.css_.txt1.14 KB