New Triggers for PDF generation

14.10.2014 12:36
#1
mwill
Joomshopping forum user no avatar
Name: Manuel
13.08.2014
Posts: 5
Quote
New Triggers for PDF generation

First, thanks for all the new triggers on version 4.7.0.

But would it be possible to add some new triggers to the pdf generation in "components\com_jshopping\lib\generete_pdf_order.php"?

It would be quite useful to add some information to the header so maybe a trigger on line 73 after "if ($vendorinfo->email)" would be nice. With the $vendorinfo and the $this as param. It would be much easier to add information, as you only would have to extend the $vendorinfo array.
Maybe: $dispatcher->trigger('onBeforeAddTitleHead', array(&$vendorinfo, &$pdf));

Also a function to create a footer line would be nice. Maybe extending the addNewPage() method. Or is there already something I've overlooked?

Best regards.
-Manuel


Joomla: 3.3.6
JoomShopping: 4.7.0
Website Url: http://brennerei.lagler.cc/
 
14.10.2014 13:48
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16513
Quote
Aw: New Triggers for PDF generation

Ok. will be in new version.

 
16.10.2014 07:16
#3
mwill
Joomshopping forum user no avatar
Name: Manuel
13.08.2014
Posts: 5
Quote
Aw: New Triggers for PDF generation

Very nice. Thank you. =)

 
Copyrights MAXXmarketing GmbH. All Rights Reserved