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.081 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started