Forums | Mahara Community

Support /
print a view


18 February 2017, 2:19

Hello,

I found a screenshot an page 20 with a mahara-view that offers a "print-link" in this pdf http://www.ph-heidelberg.de/fileadmin/wp/wp-bruemmer/Leitf%C3%A4den_Mahara/Mahara_Leitfaden_f%C3%BCr_Studierende.pdf

How can I configure mahara to offer this posibility?

Robert Lyon's profile picture
Posts: 758

20 February 2017, 14:28

Hi Andreas,

At some point we removed the 'print' button for some reason - not sure why now.

but we've recently added it back in via this patch https://reviews.mahara.org/#/c/7109/9

So this fix should work in Mahara 16.10+ ok

It adds the print styles via 'sass' to the style.css

If you are wanting to add it without using 'sass' then you could make a theme/raw/style/print.css and place the content of theme/raw/sass/lib/_print.scss into it. And then add a

<link rel="stylesheet" type="text/css" href="/theme/raw/style/print.css">

to the header template.

If you Mahara is older than 16.10 then it might be a bit more complicated but the patch should
give you an idea of what is needed

Cheers
Robert

Kristina Hoeppner's profile picture
Posts: 4734

21 February 2017, 8:19

If I remember correctly, we removed the print button as it wasn't doing a great job for most people. But the new one that'll be in Mahara 17.04 is pretty nice already. :-)

Cheers

Kristina

 

3 results