www.uburst.com www.uburst.com

"Order reader"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Order reader"
Posted by marcel emmen on Jul-04-01 at 09:12 AM (EST)
Hi there,

If i read a order from with the order reader then after reading i want to go back to delete the order. Unfortunatally the page is always expired!

Is it not possible to open a new window when the order read or read all button is click?>

thanks

Marcel

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

Re: Order reader, Joseph Pishgar, Jul-05-01, (1)
RE: Order reader, Bill Weiner, Jul-08-01, (2)
back button, Ron Stewart, Jul-09-01, (3)
RE: back button, Bill Weiner, Jul-15-01, (4)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Re: Order reader"
Posted by Joseph Pishgar on Jul-05-01 at 11:01 AM (EST)
Hello Marcel,

The browser's "Back" button tends to mess things up a bit when logged into the control panel. The control panel's back buttons should be used to navigate, to prevent that "page expired" error. Currently you cannot access the order files outside of the Order Reader though. (outside of the actual order data files on your server).

Hope this helps.

Regards,
Joseph Pishgar
Microburst Technologies, Inc.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: Order reader"
Posted by Bill Weiner on Jul-08-01 at 10:41 PM (EST)
That "Page has expired" message is related to some setting on your browser. Unfortunately, I do not know which one... but I can say that if you get the error message, then you'll get it when you use your browser's "Back" button on any secure CGI generated HTML page (ie. it's not uShop specific). The recommended thing to do here... as Joseph mentioned ... is to just use the control panel's Back button.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "back button"
Posted by Ron Stewart on Jul-09-01 at 10:22 PM (EST)
Bill,
I, too get annoyed at this. Sometimes it happens and sometimes it doesn't. You say to use the control panel's back button, but there is no back button if you are reading orders. Only on the order reader page. Can a back button be put on the page that actually displays the order(s)?

Thanks,

Ron

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "RE: back button"
Posted by Bill Weiner on Jul-15-01 at 11:14 PM (EST)
The reason a "Back" button wasn't added to the actual order reader output page... was because we didn't want the button to be printed when printing out the order.

The easiest thing to do is to just figure out what setting on your browser controls how long "https" pages stay in you're browser's cache, but if you really want to add the back button, here's some instructions:

STEP 1: Make a backup of your current ushop-lib.pl script.

STEP 2: Open your ushop-lib.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line in order to get to the start of the subroutine that displays the order files:

sub display_order_file

STEP 4: Near the bottom of that subroutine... directly after the line:

$order_footer = &get_cart_html();

Add the following lines:

$order_footer .= "XBRY";
$order_footer .= "XFORM ACTION=\"" . $secure_script_url . "\" METHOD=\"POST\"Y";
$order_footer .= "XINPUT TYPE=\"hidden\" NAME=\"command\" VALUE=\"cp_order_reader\"Y";
$order_footer .= "XINPUT TYPE=\"hidden\" NAME=\"password\" VALUE=\"$password\"Y";
$order_footer .= "XINPUT TYPE=\"submit\" VALUE=\"$lang_back\" WIDTH=150 HEIGHT=30Y";
$order_footer .= "X/FORMY";

NOTE THAT in the above code, I had to replace all less than signs with capital X and all greater than signs with capital Y. I did this because this forum doesn't allow you to enter greater-than and less than signs. So just replace those when you add the code.

STEP 5: Save the file (as TEXT if your editor asks) ... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.