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.108 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started