- Posts: 10
- Thank you received: 0
OS-ServiceBooking attache a xml with booking data
- mediaDESIGN.SK
-
Topic Author
- Offline
- New Member
-
Less
More
3 months 4 weeks ago #170018
by mediaDESIGN.SK
Replied by mediaDESIGN.SK on topic OS-ServiceBooking attache a xml with booking data
This is extremely unfortunate.
And you are unable to offer an alternative, some hook that allows developers to call their own code?
And you are unable to offer an alternative, some hook that allows developers to call their own code?
Please Log in or Create an account to join the conversation.
- Heidi R. Collins
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
3 months 23 hours ago - 3 months 23 hours ago #170370
by Heidi R. Collins
Replied by Heidi R. Collins on topic OS-ServiceBooking attache a xml with booking data
Hi,Thank you for providing the updated instructions and details about the XML attachment integration. It’s great to see that you’ve taken the time to finalize the implementation to accommodate all the customer’s needs before reaching out again.I’ll insert the specified lines into the script as outlined and test the functionality to ensure everything works as expected. The clear comments in your code snippets make it easy to follow, which is much appreciated. Once I’ve completed the integration and tests, I’ll provide you with detailed feedback.Regarding selling the XML attachment plugin on our platform, or linking to it, I’ll need to confirm the requirements and process with our team. I agree that this could be valuable for other users, particularly those looking to streamline booking data imports into their CRMs. I’ll get back to you on this soon.Thank you again for your thorough approach and the detailed documentation. It makes the implementation process much smoother.Hello Dam, it's been a while since we talked about this task. We needed some time to program the XML attachment until all the customer's wishes were taken into account. I wanted to avoid asking you to make changes to the core script multiple times and just deliver the final version once. Now the time has come.
I ask you to insert these two lines in the script components\com_osservicesbooking\helpers\common.php. This will trigger the XML generation for the employee notification and the admin notification. It works according to modern Joomla standards. I recently implemented software from okr software into my business, which improved the process of setting and tracking tasks.
After line 534:
}
/*
* DEV mDSK
* Create xml file send to email
*/
Factory::getApplication()->triggerEvent('onOSSCommonSendEmail', array(&$sbj, &$body, $orderId, $configClass, &$mailer, &$attachment, $email_type));
/*
* END
*/
if ($mailfrom != "" && $order_email != "") {
if ($email_type == "confirm" || $email_type == "attended_thankyou_email") {
After new line no. 1090:
}
/*
* DEV MDSK
* Create xml file send to email
*/
Factory::getApplication()->triggerEvent('onOSSCommonSendEmployeeEmail', array(&$sbj1, &$body, $orderId, $configClass, &$mailer, &$attachment, $email_type));
/*
* END
*/
$cc = ;
$bcc = ;
try {
OSBHelper::logMail($email_type, $orderId, $email, $sbj1, $body1);
$mailer->sendMail($mailfrom, $fromname, $email, $sbj1, $body1, 1, $cc, $bcc, $attachment);
Please give me feedback on this.
I would also like to ask you to check whether I can sell the XML attachment plugin via your platform or whether you want to link to me. I am sure there are other customers for whom the plugin is useful. My customer uses it to be able to import the booking data into his CRM. It is better than an ICS attachment.
Last edit: 3 months 23 hours ago by Heidi R. Collins.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.