Or save as pdf maybe.
Just a hint here, to get another template to load when clicking on a link that's created in a grid
<td style="text-align:center">
<?php echo JDom::_('html.fly', array(
'dataKey' => 'certif_num',
'dataObject' => $row,
'route' => array('view' => 'vhu','layout' => 'd1certificat','cid[]' => $row->id, 'template' => 'beez_20')
));
?>
</td>
i added the template part here, because i added the call to template in the administrator/component_name/dom/html.php :
function createRoute()
{
if (!isset($this->route))
return;
$vars = array('option', 'view', 'layout', 'cid[]', 'template');
$followers = array('lang', 'Itemid', 'tmpl');
$queryVars = array();