Skip to main content

image ajax custom field

More
12 years 3 months ago - 12 years 3 months ago #158220 by epware
-- url of the page with the problem -- : www.canvascool.com/jml/index.php/product...duct/1-canvas-simple
-- HikaShop version -- : latest
-- Joomla version -- latest
-- PHP version -- : latest
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello,

First I would like to tank you very much for updating the hikashop image upload with a progress bar. This is great.

Error 1:
Within the custom field I use "image ajax", I uploaded an image in the field "DEFAULT VALUE" but it resulted in a broken image in the link here above. The same happens whatever I upload, either be a .gif, .jpg. or .png file. The same happens also when I upload from the field "PREVIEW". I get a broken image. So I don't know if it's a bug or something else.

Error2:
When save the Custom field with image ajax I get the folliwing error:

"Error
Please complete the Téléchargez l'image à imprimer > field"

Error 3:
When one clicks on the link here above, uploads a picture and click add to cart, then the following errors pops up:

"Erreur
Veuillez remplir le champ Téléchargez l'image à imprimer >"

I am currently using your image barcode.png which I changed to my image.

Thank you in advance,

Eric
Last edit: 12 years 3 months ago by epware.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158288 by Jerome
Replied by Jerome on topic image ajax custom field
Hi,

The "ajax image" can't manage a default value for the moment.
The way that the system works, it passes a file name with a security value (to be sure that you have the right to use the file name, that you don't try to trick the system). And this data is not manage in the backend for the custom field.
With the default value, the security field might not be right initialized.

I have to perform some tests to reproduce your configuration.
Would it be possible to have more details about it ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158307 by epware
Replied by epware on topic image ajax custom field
Thank you for your answer.

If you go here: www.canvascool.com/jml/index.php/product...duct/1-canvas-simple

- Upload a picture
- Click add to cart

=> there is an error on top which says:

"Erreur
Veuillez remplir le champ Téléchargez l'image à imprimer >"

How can I solve this problem?

Thank you in advance

eric

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158455 by Jerome
Replied by Jerome on topic image ajax custom field
Hi,

I have to perform some tests to reproduce your configuration.
Would it be possible to have more details about it ?

I will say it in a different way :
Would it be possible to have the screenshot of the configuration of this custom field ?

Please read my previous message about default data... It is quite important to read and understand that.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago - 12 years 3 months ago #158460 by epware
Replied by epware on topic image ajax custom field
please find here joined screen shot of custom field configuration
Last edit: 12 years 3 months ago by epware. Reason: forgot to add a file

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158575 by Jerome
Replied by Jerome on topic image ajax custom field
Hi,

The message you have in the backend is not a real problem.
Because the field is required and HikaShop try to store the default value when you save the field, the message is displayed.
But it does not affect the rest of the save for the custom field.
So if you want to save as the default value an empty value, you have to remove the "required", save the custom field (with an empty value) and then re-put the default value.
We will see to remove this message in a future release and improve the save of a empty default value even if the field have the "required" set.

For the front-end part, I will require some access (backend & ftp) in order to make some debug ; to understand the source of the problem.
But the fact that there is a default image is problematic for the process of the custom field.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago - 12 years 3 months ago #158890 by epware
Replied by epware on topic image ajax custom field
xxx
Last edit: 12 years 3 months ago by epware.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158899 by lousyfool
Replied by lousyfool on topic image ajax custom field

epware wrote: Find here after my login information:


You should delete the critical data in your post now quickly. It is hidden for guests but not for logged in users.

Jerome should have it per email, too, so delete quickly (by editing your post) before someone mad causes you trouble!

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158956 by Jerome
Replied by Jerome on topic image ajax custom field
Hi,

It is weird but I don't have content in the email notification for the epware post.
Please use the private message to send such private information ; it will be easier.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #159038 by Jerome
Replied by Jerome on topic image ajax custom field
Hi,

Regarding your web page, the HTML content is broken.
The result is that the inputs are no more in the "form".
Because the Ajax system add dynamically the input fields in the HTML Dom, the elements are not seen in the form, so the data is not sent.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.239 seconds
Powered by Kunena Forum