http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11574 --- Comment #18 from M. Tompsett <mtompset@hotmail.com> --- (In reply to Christopher Brannon from comment #17)
(In reply to M. Tompsett from comment #16)
Even if I rescued this, the problem is the print() called prints the current page which includes those things, not a different template which would have them hidden.
Well, that's pretty much what this ticket addresses. Sounds like someone needs to setup some print tags and css printing.
Yes, except it doesn't work. print() doesn't load a different page. There's no @media type CSS. I did rescue it, but discovered it failed. I found there's no print.less file 1) Copied print.css to print.less 2) Got lessc installed and working -- steps left as a fun exercise for the reader. 3) edited print.less to have the following at the end ---- BEGIN SNIPPET ---- .navbar, #navigation, .pages, .actions, #toolbar, #selections-toolbar, #remove-selected, .breadcrumb, #members,#opac-main-search,#opac-user-views .ui-tabs-nav,input,h2 span.hint,td.resultscontrol,.pages,.suggestion,.views,#action,#export,#bibliodescriptions .ui-tabs-nav,#addshelf,fieldset.action, .list-actions, .ft, #facetcontainer,.results_summary.actions,.koha_url,.yui-b { display : none; } .row-fluid { margin-top: 30px; } ---- END SNIPPET ---- 4) lessc --compress < ~/kohaclone/koha-tmpl/opac-tmpl/bootstrap/less/print.less
~/kohaclone/koha-tmpl/opac-tmpl/bootstrap/css/print.css
I ignored the warned about --compress being deprecated. That basically fixes the patch, as far as I can tell. 1) Created a list. 2) Logged into the opac 3) Found my list. 4) Clicked 'Print List', but chose 'CutePDF Writer' instead of my printer. 5) Was disappointed in the results. -- You are receiving this mail because: You are watching all bug changes.