Page 1 of 2

v2.7 beta: Fotomoto... some remarks

Posted: 08 May 2011, 14:02
by Martin
FLASH remarks
1) When creating a Fotomoto account one has to fill in the first- and lastname.
After clicking on 'Create Fotomoto Account' the name-fields are being emptied and there is a warning (red box, upperleft) that says: "Please, fill all form fields".
The account is created anyway...

2) When set in administrator: 'controls.maincontrols.items.fotomoto=true' gives an extra button on the maincontrols to buy the print at Fotomoto
BUT
'controls.rightclick.fotomoto=true' (also set in the admin) does not give the Fotomoto option when rightclicking an image.

3) When set as parameters for a specific folder:
'controls.maincontrols.items.fotomoto=true&controls.rightclick.fotomoto=true' or
'controls.maincontrols.items.fotomoto=false&controls.rightclick.fotomoto=false'
have no effect.

HTML remark
4) When clicking on the 'Buy print' button below the image the Fotomoto letters start to roll, but the productselector does not show up.

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 02:26
by mjau-mjau
1) I guess this is related to the admin? I will get Nick to look into it ...


2) Sorry, where did you get controls.maincontrols.items.fotomoto=true and controls.rightclick.fotomoto=true from? Neither of them have any effect on the gallery, simply because they are not settings. Parameters are reflected from the config and theme structure, and these settings relate to ARRAYS. If anything, you would use:
Code
controls.maincontrols.items=togglethumbnails,previous,scrollinfo,next,toggleplay,togglefullscreen
controls.rightclick.controls=next,previous,popup,window,download,html,zoomin,zoomout,togglethumbnails,toggleplay,sendlink,copylocation,sfx,togglefullscreen,contact
... and then add or remove items to those arrays to enable or disable them in the specified controls.


3) Same as above. I don't know where you are getting those settings from. They do not exist.


4) Will check

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 04:44
by Martin
mjau-mjau wrote:2) Sorry, where did you get controls.maincontrols.items.fotomoto=true and controls.rightclick.fotomoto=true from?
Couldn't find it at: https://www.photo.gallery/documentation/folder-parameters/

So... I made them up myself :D
I reasoned from 'controls.maincontrols.enabled=true' to 'controls.maincontrols.items.fotomoto=true' but did not know there was a difference between them.
Thanks for specifying how to declare an array as parameter... I'll try it out.

Nevertheless, in the admin: checking the Fotomoto option at Controls, Rightclick does not have any effect.
Suppose it does not add 'fotomoto' to the array.

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 07:27
by Nick
#4 resolved.

Had to upload the current dev snapshot on your server and I also used a fake shop id to test it, so don't be surprized:

http://www.martinbroeze.nl/g1/?/content ... wezoom.jpg

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 11:29
by mjau-mjau
mabro wrote:Nevertheless, in the admin: checking the Fotomoto option at Controls, Rightclick does not have any effect. Suppose it does not add 'fotomoto' to the array.
You mean the you can not add the Fotomoto "Buy Now" option in right-click, and neither for the main controls? May I take a look at your gallery when these items have been enabled?

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 13:27
by Martin
mjau-mjau wrote:May I take a look at your gallery when these items have been enabled?
I've enabled both... the one in the maincontrols is there and does invoke Fotomoto...
But the rightclick menu of the image has no Fotomoto option...

You can click on my signature below to enter my site.

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 13:33
by Martin
pain wrote:... I also used a fake shop id to test it, so don't be surprized
No surprise at all... you cleaned it up in the meantime I guess...

Thanx for fixing!

Re: v2.7 beta: Fotomoto... some remarks

Posted: 09 May 2011, 21:56
by mjau-mjau
mabro wrote:I've enabled both... the one in the maincontrols is there and does invoke Fotomoto...
But the rightclick menu of the image has no Fotomoto option...
Thanks, will look into this ...

Re: v2.7 beta: Fotomoto... some remarks

Posted: 10 May 2011, 13:49
by Martin
mjau-mjau wrote:If anything, you would use:
Code
controls.maincontrols.items=togglethumbnails,previous,scrollinfo,next,toggleplay,togglefullscreen
controls.rightclick.controls=next,previous,popup,window,download,html,zoomin,zoomout,togglethumbnails,toggleplay,sendlink,copylocation,sfx,togglefullscreen,contact
I put the following code in the parameters field of a folder and would suspect that the maincontrols in this gallery
only show the togglethumnals button and the rightclick menu only the next option.
But nothing has changed for this gallery...
Code
controls.maincontrols.items=togglethumbnails&controls.rightclick.controls=next
Is my understanding flawed?

Re: v2.7 beta: Fotomoto... some remarks

Posted: 10 May 2011, 23:39
by mjau-mjau
mabro wrote:Is my understanding flawed?
To me this looks correct. Not all config- and theme settings are applicable through folder parameters, but these ones should have been I thought. Let me take a look into this and get back to you ...

Re: v2.7 beta: Fotomoto... some remarks

Posted: 11 May 2011, 11:09
by mjau-mjau
I have now fixed so that Fotomoto "Buy Now" option appears in right-click. I have also set so that the fotomoto option appears in right-click and imagebuttons automatically if fotomoto is enabled. Instead, you would have to disable them manually if you for some reason did not want these items enabled ... Will be available in imminent update of X2.7 beta.

The folder parameters issue is still pending investigation ...

Re: v2.7 beta: Fotomoto... some remarks

Posted: 11 May 2011, 13:34
by Martin
mjau-mjau wrote:...I have also set so that the fotomoto option appears in right-click and imagebuttons automatically if fotomoto is enabled.
That's nice
mjau-mjau wrote:The folder parameters issue is still pending investigation ...
These would come in handy when one wants to disable fotomoto for certain folders... i.e. if only certain folders contain (large-) printworthy images...

Re: v2.7 beta: Fotomoto... some remarks

Posted: 16 May 2011, 03:33
by Martin
mjau-mjau wrote:The folder parameters issue is still pending investigation ...
I read in another topic that you are trying to wrap up release v2.7.
Just curious if this folder parameters issue is solved in this final v2.7.

Re: v2.7 beta: Fotomoto... some remarks

Posted: 16 May 2011, 09:47
by mjau-mjau
mabro wrote:
mjau-mjau wrote:The folder parameters issue is still pending investigation ...
I read in another topic that you are trying to wrap up release v2.7.
Just curious if this folder parameters issue is solved in this final v2.7.
I am in fact looking into this for X2.7. We are currently waiting for the guys from Fotomoto to fix an issue with their API, and in the meantime we are fixing a few things ...

Re: v2.7 beta: Fotomoto... some remarks

Posted: 18 May 2011, 05:47
by Nick
mabro wrote:FLASH remarks
1) When creating a Fotomoto account one has to fill in the first- and lastname.
After clicking on 'Create Fotomoto Account' the name-fields are being emptied and there is a warning (red box, upperleft) that says: "Please, fill all form fields".
The account is created anyway...
This should be fixed now. The fix will be released in the next update.