New Triggers for PDF generation

14.10.2014 12:36
#1
mwill
Joomshopping forum user no avatar
Name: Manuel
13.08.2014
Posts: 6
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
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
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: 6
Quote
Aw: New Triggers for PDF generation

Very nice. Thank you. =)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.