Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Thursday, May 13, 2010 12:48:14 PM(UTC)

Rank: Newbie

Groups: Member
Joined: 5/11/2010(UTC)
Posts: 3

http://www.printbigphoto.com what is frustrating is you guys in here are aying yea redirect, redirect what, what file, where at. so im so lost i dont see product after i refresh can someone give me a real answer instead of a copy and paste from an article from 2003, kinda over that one. not being rude, but i have to move tomorrow and the only way for me to move is by getting this set up so yea.
#2 Posted : Thursday, May 13, 2010 8:47:14 PM(UTC)

Rank: Advanced Member

Groups: Member
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)

I've reproduced the problem only in the Firefox on Mac OS and it works in the IE, Firefox, Opera on Windows and Safari and Opera on Mac OS. But you did not mention it in this post, nor in the previous! So I can't be 100% sure that it is the problem you experiencing. Or you just does not specify all required fields (size, paper, quantity, etc...) while selecting photos to upload.

This is the updated BeforeUpload function from components/com_photoorder/assets/photoorder.js file:


function ImageUploader1_BeforeUpload() {
	// add fields with order details
	imageUploader1 = imageUploader1 || getImageUploader('ImageUploader1');
	if (imageUploader1) {
		var delay = function() {
			for (var i = 1, max = imageUploader1.getUploadFileCount(); i <= max; i++) {
				var value = orderDetails[imageUploader1.getUploadFileGuid(i)];
				if (value) {
					value = JSON.stringify(value);
				} else {
					value = '';
				imageUploader1.AddField('OrderDetail_' + i, value);
			ImageUploader1_BeforeUpload = function() {};
		// WORKAROUND for Firefox on Mac OS: It starts upload before ImageUploader1_BeforeUpload returns.
		// So we quickly return "false" to prevent upload and execute all we need to do by timeout later.
		// And after that starts upload programmatically.
		setTimeout(delay, 200);
		return false;

And also I attached an edited photoorder.js file with this fix.

File Attachment(s):
photoorder.zip (2kb) downloaded 2 time(s).
#3 Posted : Friday, May 14, 2010 12:47:31 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 5/11/2010(UTC)
Posts: 3

Everything works thanks you guys are awesome an im going to write an review on this in joomla so everyone know how great this is.
#4 Posted : Sunday, May 16, 2010 3:16:38 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Thanks for your feedback. It would be great if you post a link to your review here.
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.