- Posts: 4659
- Karma: 103
- Thank you received: 659
- Support Forum
- Appointment Booking Pro - Retired
- Errors and Error Messages
- Line of code at the top of Confirmation screen
Line of code at the top of Confirmation screen
- Rob
-
Topic Author
- Offline
- Administrator
-
Less
More
2 years 7 months ago - 2 years 1 month ago #24885
by Rob
Line of code at the top of Confirmation screen was created by Rob
Some sites are encountering problems with the "Print this page" button that was added to the confirmation screens a few months ago.
The symptom is JavaScript code showing at the top of the confirmation screen..
To fix this you need to return to the old confirmation code. (the problem code will be removed in the next ABPro release)
Each booking screen type uses a different confirmation screen.
Select the file below for the booking screen you use and place it in the directory indicated.
GAD Booking screen
Unzip File: GAD.zip
Upload to: \components\com_rsappt_pro3\views\gad_confirmation\tmpl\
Wizard booking screen
Unzip File: WIZ.zip
Upload to: \components\com_rsappt_pro3\views\wiz_confirmation\tmpl\
Simple booking screen
Unzip File: SB.zip
Upload to: \components\com_rsappt_pro3\views\sb_confirmation\tmpl\
Note: This is code is commented out in ABPro 4.0.3 RC7 (Sept 6/18)
UPDATE
Some sites report the problem remains even with the offending code commented out.
In that case the code must be removed.
In the above files remove the code shown here..
The symptom is JavaScript code showing at the top of the confirmation screen..
To fix this you need to return to the old confirmation code. (the problem code will be removed in the next ABPro release)
Each booking screen type uses a different confirmation screen.
Select the file below for the booking screen you use and place it in the directory indicated.
GAD Booking screen
Unzip File: GAD.zip
Upload to: \components\com_rsappt_pro3\views\gad_confirmation\tmpl\
Wizard booking screen
Unzip File: WIZ.zip
Upload to: \components\com_rsappt_pro3\views\wiz_confirmation\tmpl\
Simple booking screen
Unzip File: SB.zip
Upload to: \components\com_rsappt_pro3\views\sb_confirmation\tmpl\
Note: This is code is commented out in ABPro 4.0.3 RC7 (Sept 6/18)
UPDATE
Some sites report the problem remains even with the offending code commented out.
In that case the code must be removed.
In the above files remove the code shown here..
<script language="javascript">
// Caused problems on too many sites. Removed for now.
// Popup a window for Print this page so only the booking info gets printed.
// function PrintElem(elem)
// {
// var mywindow = window.open('', 'PRINT', 'height=400,width=600');
//
// mywindow.document.write('<html><head><title>' + document.title + '</title>');
// mywindow.document.write('</head><body >');
// mywindow.document.write(document.getElementById(elem).innerHTML);
// mywindow.document.write('</body></html>');
//
// mywindow.document.close(); // necessary for IE >= 10
// mywindow.focus(); // necessary for IE >= 10*/
//
// mywindow.print();
// mywindow.close();
//
// return true;
// }
</script>
Last edit: 2 years 1 month ago by Rob.
Please Log in to join the conversation.
- Support Forum
- Appointment Booking Pro - Retired
- Errors and Error Messages
- Line of code at the top of Confirmation screen
Time to create page: 0.084 seconds