If you wondering how to change the layout in the print popup then here some information.
Let's say we have a printer icon in the eventslist-view
and when pressed it will be looking like this image
so how did i change the icon part?
did add this code in the default_events_table.php
<div id="printer_icon">
<div class="printer_icon center">
<?php
$text = JHtml::_('image', 'com_jem/printer.png', JText::_('COM_JEM_PRINT'), 'title="Afdrukken"', true);
$desc = JText::_('Klik om het overzicht af te drukken');
$title = JText::_('Afdrukken');
$tip = JHtml::tooltipText($title, $desc, 0);
$url = '#';
$attribs = array();
$attribs['title'] = $tip;
$attribs['class'] = '';
$attribs['onClick'] = 'window.print();return false;';
$output = JHtml::_('link', JRoute::_($url), $text, $attribs);
echo $output;
?>
</div></div>
did add this code in jem.css
div#jem div#printer_icon {
display:none;
}
doing so will hide the div when a visitors views eventslist normally.
did add this code in print.css
div#jem div#printer_icon {
display:block;
margin-top: 10px;
margin-bottom: 10px;
height: 40px;
}
doing so will show the div when a visitor clicks at the print-icon.
i know it ain't perfect but it gives an idea.
and yes i'm hardcoding language strings at the moment and as i'm not using different languages it ain't a problem for me.