Under the template's folder, open file component.php
- Find:
- Code: Select all
<body class="contentpane">
- Add after:
- Code: Select all
<div id="btnWrapper">
<input type="button" id="printBtn" value="<?php echo JText::_('TPL_GK_LANG_PRINT_BUTTON_TEXT'); ?>" onclick="document.getElementById('printBtn').style.display='none'; window.print(); return false;" />
</div>