Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Adds support for printing or export to excel 30 May 2012 10:40 #2444

Adds support for printing or export to excel according to predefined templates

Please Log in or Create an account to join the conversation.

Re: Adds support for printing or export to excel 30 May 2012 18:50 #2450

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
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();
The following user(s) said Thank You: adti_mientay, edwardcox

Please Log in or Create an account to join the conversation.

Last edit: by VeCrea.

Re: Adds support for printing or export to excel 30 May 2012 21:09 #2451

Nice!
Passionate Joomla! Developer and J-Cook pro evangelist.
www.jcombuilder.com - we build great Joomla!® Components so you don't have to.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.055 seconds

A HUGE thank you for all the time and effort you have put into J-Cook it is a timesaver and a training tool all in one
Morgan Leecy - MCSE  

Get Started