Balinor,
Thank you for your concerned response. After I posted this, i thought about it a bit more and decided to just add the "head.tpl", not the "home.tpl". As I use the PP Pro payment processor, sometimes the "please wait while..." message can stay for up to 45 seconds, so at least I wanted to make that part of the process look like it is actually part of the site.
After completing this task, the page now uses the main site header and stylesheet to at least to make it less ugly and more personalized. Page Load speed is more than adequate
I expanded on the idea posted here:
http://forum.x-cart.com/viewtopic.php?t=15473&highlight=paymentwait
and came up with the following if anyone is interested: -
(Thanks to svtorres for the initial work!)
Edit include/payment_wait.php - replace with the following:
Code:
<?php
/*****************************************************************************\
+-----------------------------------------------------------------------------+
| X-Cart |
| Copyright (c) 2001-2005 Ruslan R. Fazliev <rrf@rrf.ru> |
| All rights reserved. |
+-----------------------------------------------------------------------------+
| PLEASE READ THE FULL TEXT OF SOFTWARE LICENSE AGREEMENT IN THE "COPYRIGHT" |
| FILE PROVIDED WITH THIS DISTRIBUTION. THE AGREEMENT TEXT IS ALSO AVAILABLE |
| AT THE FOLLOWING URL: http://www.x-cart.com/license.php |
| |
| THIS AGREEMENT EXPRESSES THE TERMS AND CONDITIONS ON WHICH YOU MAY USE |
| THIS SOFTWARE PROGRAM AND ASSOCIATED DOCUMENTATION THAT RUSLAN R. |
| FAZLIEV (hereinafter referred to as "THE AUTHOR") IS FURNISHING OR MAKING |
| AVAILABLE TO YOU WITH THIS AGREEMENT (COLLECTIVELY, THE "SOFTWARE"). |
| PLEASE REVIEW THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT |
| CAREFULLY BEFORE INSTALLING OR USING THE SOFTWARE. BY INSTALLING, |
| COPYING OR OTHERWISE USING THE SOFTWARE, YOU AND YOUR COMPANY |
| (COLLECTIVELY, "YOU") ARE ACCEPTING AND AGREEING TO THE TERMS OF THIS |
| LICENSE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY THIS |
| AGREEMENT, DO NOT INSTALL OR USE THE SOFTWARE. VARIOUS COPYRIGHTS AND |
| OTHER INTELLECTUAL PROPERTY RIGHTS PROTECT THE SOFTWARE. THIS |
| AGREEMENT IS A LICENSE AGREEMENT THAT GIVES YOU LIMITED RIGHTS TO USE |
| THE SOFTWARE AND NOT AN AGREEMENT FOR SALE OR FOR TRANSFER OF TITLE.|
| THE AUTHOR RETAINS ALL RIGHTS NOT EXPRESSLY GRANTED BY THIS AGREEMENT. |
| |
| The Initial Developer of the Original Code is Ruslan R. Fazliev |
| Portions created by Ruslan R. Fazliev are Copyright (C) 2001-2005 |
| Ruslan R. Fazliev. All Rights Reserved. |
+-----------------------------------------------------------------------------+
\*****************************************************************************/
#
# $Id: payment_wait.php,v 1.3.2.1 2005/01/12 07:41:55 svowl Exp $
#
if (!defined('XCART_SESSION_START') ) { header("Location: ../");}
func_flush();
func_display("customer/paymentprocessing.tpl",$smarty);
?>
Create a new file called paymentprocessing.tpl - (will reside in /skin1/customer) - with the below information:
Code:
{* $Id: paymentprocessing.tpl,v 1.0 2005/07/07 13:28:00 svowl Exp $ *}
{ config_load file="$skin_config" }
<HTML>
<HEAD>
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</HEAD>
<BODY leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }
</p>
</p>
</p>
<p align="center"><font size="5" color="#000080">Please wait while your order is being
placed.....</font></p>
</TD>
<TD width="20"></TD>
</TR>
</TABLE>
{ include file="rectangle_bottom.tpl" }
</BODY>
</HTML>
You can change the font color to better match your site if desired, in this example, it is dark blue.
Hope this helps someone!
Allan