Print button to Toolbar
It's possible to move the print-link to the toolbar so let's try it.
File .../administrator/components/com_jem/views/attendees/view.html.php
Find: function "protected function addtoolbar"
Add
$eventid = $this->event->id;
$link_print = 'index.php?option=com_jem&view=attendees&layout=print&tmpl=component&id='.$eventid;
$bar = JToolBar::getInstance('toolbar');
$bar->appendButton('Popup', 'print', 'COM_JEM_PRINT', $link_print, 600, 300);
Doing so we added the toolbar button but then we have to address the tmpl file.
File: .../administrator/components/com_jem/views/attendees/tmpl/default.php
Remove
<div class="button2-left"><div class="blank"><a title="<?php echo JText::_('COM_JEM_PRINT'); ?>" onclick="window.open('index.php?option=com_jem&view=attendees&layout=print&tmpl=component&id=<?php echo $this->event->id; ?>', 'popup', 'width=750,height=400,scrollbars=yes,toolbar=no,status=no,resizable=yes,menubar=no,location=no,directories=no,top=10,left=10')"><?php echo JText::_('COM_JEM_PRINT'); ?></a></div></div>
In the attached image you can see what the result will be.
(The export+mail buttons are there to but that will be for later)
//
For some kind of reason the JToolBarHelper::divider(); doesn't seem to be working but that's for later