Is there a way to create custom printer friendly templates.
On the form page there is a Print button. Is there a way to specify a custom template just for printing? it looks like its just using the details template.
Also is there a way to make multiple print buttons and point them to a different template
My goal is to have two print buttons. One button to print only summary (short content) and another button to print he full details content (long content) .
Can it be done using the url or would this have be be done hacking at core files?
...=component&view=details&formid=12&listid=12&rowid=116&iframe=1&print=short_version
...=component&view=details&formid=12&listid=12&rowid=116&iframe=1&print=long_version
like:
$url = COM_FABRIK_LIVESITE . 'index.php?option=com_' . $package . '&tmpl=component&view=details&formid=' . $form->id . '&listid=' . $table->id
. '&rowid=' . $formModel->getRowId() . '&iframe=1&print=1';
thanks
On the form page there is a Print button. Is there a way to specify a custom template just for printing? it looks like its just using the details template.
Also is there a way to make multiple print buttons and point them to a different template
My goal is to have two print buttons. One button to print only summary (short content) and another button to print he full details content (long content) .
Can it be done using the url or would this have be be done hacking at core files?
...=component&view=details&formid=12&listid=12&rowid=116&iframe=1&print=short_version
...=component&view=details&formid=12&listid=12&rowid=116&iframe=1&print=long_version
like:
$url = COM_FABRIK_LIVESITE . 'index.php?option=com_' . $package . '&tmpl=component&view=details&formid=' . $form->id . '&listid=' . $table->id
. '&rowid=' . $formModel->getRowId() . '&iframe=1&print=1';
thanks